AutoCAD Map 3D :: Objects Returned From Data Query Do Not Appear With Their Related Text
Apr 5, 2012
We are using AutoCAD Map 3D 2011 (Service Pack 2 - Version 3). This is replicable on multiple machines in multiple OS environments.
We attach a source drawing, run a query on Object Data but when that data appears in Model space it appears without any of the accompanying text for that object.
You can then execute the same query with a crossing window which brings in the surrounding objects including their text, but the original object still does not have its text. If you delete the object and re-run the query with the crossing window again, then the object appears with its text.
This is a nightmare for the users because if they want to search on a specific object, and then have to delete it to get it back with the text, they then have to search for the item in amongst all the other items. This kind of defeats the purpose of querying that object in the first place.
Is this just the way AutoCAD functions, or are we doing something wrong in our process sequence for querying the object data?
View 3 Replies
ADVERTISEMENT
Oct 23, 2012
I am trying to Apply Location query on Query to Filter Data in .NET. Any sample code or procedure to program.
View 6 Replies
View Related
Apr 25, 2012
How can I query autocad map data in preview mode,and store these objects in a collection by using C#.
(I want to use simple query like all lwpolyline having layer = "test" and color = 3). If I run this query in draw mode multiple times what will happen? (means possibilty of duplicate objects??)
View 3 Replies
View Related
Sep 11, 2012
I have brought in a raster ASC file (X,Y,Z) and am only interested in the red area (ultimately I want to create 1m contours layer) but cannot find a way to query the data to only show the red area.
IDSP Premium 2014 (mainly Civil 3D 2014 UKIE SP1 & Infraworks with some limited 3ds Max Design)
Win 7 Pro x64, 256Gb SSD, 300Gb 15,000 rpm HDD
16Gb Ram Intel Xeon CPU E5-1607 0 @ 3.00GHz (4 CPUs), ~3.0GHz
NVIDIA Quadro 4000, Dual 27" Monitor, Dell T3600
View 3 Replies
View Related
Sep 20, 2012
Is there any chance do query with excluding some data.
For example, I have 20m contours and I'd like to separate them to major and minor one.
I can extract major but not minor contours because there is no not equal query operator.
View 5 Replies
View Related
Sep 4, 2011
I am looking for a way to show how objects are related one to another, how piece A fit on piece B, different cuttings and so on.
View 9 Replies
View Related
Jan 31, 2012
Have you developed a method or set of rules that has made working with large data sets / drawing files an enjoyable process? When working with an extremely large area, Map 3D tends to chug or lock up to the point where now I'm trying to rethink the "Proper" map setup and get opinions on your AutoCAD Map 3D - Mapping Best Practices.
I'm basically looking for comments, recommendations, and/or best practices when defining maps. If you have ever worked with an extremely large dataset or set of shape files and need to import the entities and the query from a drawing file (or maybe even multiple drawings), insert text, insert blocks with attributes. You'll know that this process can be time consuming when working with large datasets. Most staff that work with large data sets are moving to ArcGIS, which makes sense, but I'd rather do all my mapping / GIS with Map 3D.
So maybe setting up multiple drawings with each Layer in a separate drawing makes sense. (30 drawings in a central folder). The Task Pane option is not my preference. I'd prefer all drawings files to be setup with attribute data in-place and stored in a central folder. From there I will proceed with the setup of an extensive Query setup that will generate various maps by altering properties and inserting text from various object data. Essentially loading a saved query that can be ran with updated data to regenerate the labels in some instances.
View 2 Replies
View Related
Jun 26, 2012
When creating Feature Lines, I wanted them to be e.g. Step Line 1, Step Line 2, Step Line 3 etc so I amended the name template to suit. I created multiple from objects and the naming convention worked. If I did features individually (as I wanted certain ones in certain sites) it worked for the first feature but reverted back to the default Feature line name on subsequent entry to the dialog i.e. it had "forgotten" the template name just set.
Am I missing something to get this to work correctly or is this how it's supposed to work i.e. useless for individual feature line creation?? This also happens for gradings.
IDSP Premium 2014 (mainly Civil 3D 2014 UKIE SP1 & Infraworks with some limited 3ds Max Design)
Win 7 Pro x64, 256Gb SSD, 300Gb 15,000 rpm HDD
16Gb Ram Intel Xeon CPU E5-1607 0 @ 3.00GHz (4 CPUs), ~3.0GHz
NVIDIA Quadro 4000, Dual 27" Monitor, Dell T3600
View 2 Replies
View Related
Nov 16, 2012
I have a drawing template (block) where the drawing number is displayed in two locations (attributes). The same value has to be entered in both attributes.
Is there any way of "echoing" the data from one attribute to other attributes (or text objects)?
View 2 Replies
View Related
Sep 18, 2012
Can you sign into AU.autodesk.com today? I just tried and it returned a Search box rather than prompting for my password. URl...
View 9 Replies
View Related
Mar 27, 2013
For an autocad assignment, we have been given a drawing in engineering notation (feet and inches) and have to draw it with SI units dimensions. Doing the drawing was fine, BUT, I drew it in inches and thought that I could change it to millimetres.
I have used the units command initially to set up engineering. Then after drawing returned to units to change to decimal. Dimensions turned out in inches regardless. I also tried the scale command to alter the scale, then dimension , still no luck. I went into the annotation menu got to modify primary units and alternate units and still no luck. Not even my tutorial teacher knows how to do this.
View 2 Replies
View Related
Dec 21, 2011
I have a table in excel and I'd like to have text in cells link to nodes on a map.
i.e. I have the traffic volume of a road section in a table. I'd like to show that volume on a map beside a circle where the count was taken. I'd like to be able to update the table value and have it also update on ythe map.
View 8 Replies
View Related
Nov 23, 2011
I have complete structural data on mature redwood trees that I have been able to get into AutoCad for visualization and error correction purposes. The results are amazing. The orbit command allows me to fly all around the tree and see it from many angles, which allows me to spot errors in the data. The trees are modeled as large collections of cones and conic frusta. Essentially all I use is the cone command, and change the layers if I am drawing the trunk, side trunks and/or branches. I have been able to do this with a script.
My dilemma: Every conic section in the original data has a unique name. When I find a structural error visually it is very hard to determine where the error is in the original data. It would be great if I could name each object (conic frusta) with its corresponding name form the original data, with the script. I could then track down the errors more easily.
A few questions:
What is the best approach? It seems that creating a block for each conic frusta would work (some trees have over 600 conic sections), but I haven't been able to automate this with scripts.
When testing the exact structure that would be needed in a script I encounter the following problems: When I create a block from a selected conic section from the command line with "-block" the resulting block disappears and I have to insert it later. This seemed fine until I tried running a script. The script created a block with the right name but nothing was in it when I opened it in the block editor. If I use "block" it does exactly what I want it to, but "block" doesn't work with a script because it uses the graphical version of the command.
View 0 Replies
View Related
May 9, 2013
I have several .dwg files that I use as templates. I run find and replace VBA routines on the template .dwg files, ie find $Flavor$ and replace it with "Grape", and then I save the .dwg to another directory with a new name.
These VBA routines work well for acdbText and acdbMText objects, but I have a bunch of AcdbAttributeDefinition objects in the .dwg templates as well.
After much research about the AutoCAD object model (I'm mostly a Microsoft Access VBA programmer), I have come to understand that these AcdbAttributeDefinition objects are actually "remnants" of a block that no longer exists in the drawing.
Anyway, I'd like to convert all of these orphaned AcdbAttributeDefinition objects to acdbText objects in the templates and then delete the AcdbAttributeDefinition objects. I have some code that does just that.
However, the issue that I am having with the code is that the newly created acdbText objects are not on the same layer that the original AcdbAttributeDefinition objects were on. I don't know the syntax to identify what layer the AcdbAttributeDefinition object is on or how to specify what layer on which the acdbText object is created.
how to keep the acdbText objects on the same layers as the original AcdbAttributeDefinition objects during the conversion and deletion process?
Here is the code I am using currently:
Sub AttConvert(dwg as string)Dim oDocument as AcadDocumentDim ent as AcadEntityDim aa as objectset oDocument = Documents.open(dwg) For Each ent In oDocument.ModelSpace If ent.ObjectName = "AcDbAttributeDefinition" Then' DO SOMETHING TO IDENTIFY WHAT LAYER THE ACDBATTRIBUTEDEFINITION OBJECT IS ON
' DO SOMETHING TO SPECIFY THAT THAT IS THE LAYER TO CREATE THE ACDBTEXT OBJECT ON Set aa = ThisDrawing.ModelSpace.AddText(ent.TagString, ent.InsertionPoint, ent.Height) End If Next ent For Each ent In ThisDrawing.ModelSpace If ent.ObjectName = "AcDbAttributeDefinition" Then ent.Delete End If Next ent End Sub
View 1 Replies
View Related
Jan 5, 2012
I have a short lisp program that returns either a T or nil, what I want is to shell an *. Exe file if nil is returned whilst T is engorged and AutoCAD continues?
to give some better example im trying to get autocad to launch an exe i have created if the ctb is missing the lisp snippet i have for detecting a ctb is (and tested) as follows;
(findfile (strcat (vla-get-PrinterStyleSheetPath (vla-get-Files (vla-get-Preferences (vlax-get-acad-object) ) ) ) "\" (vla-get-StyleSheet (vla-get-ActiveLayout (vla-get-ActiveDocument (vlax-get-acad-object) ) ) ) ))
now i want to capture if it says nil so that it activates the EXE file i have created to do additional stuff...
View 1 Replies
View Related
May 15, 2012
Not sure if this is something that has been going on a while, if it is a design flaw, or if it just a workflow thing that we should be more mindful of, but here goes:
1. I data reference an alignment into a drawing.
2. I later data reference in a profile that was created from and associated with that alignment.
In this scenario, Civil 3D creates a duplicate alignment for the profile i.e., the orginal alignment is in prospetor as 'Alignment A' and the profile being data referenced in creates a 'Alignemnt A (1)' duplicate and associates itself with it.
This also happens if I bring in a different profile created from the same alignment IF the alignment was already present as a data reference in the drawing.
This seems wrong. It doesn't do any of this if I data reference the profile in first...
View 4 Replies
View Related
Mar 5, 2012
I have a drawing with a bunch of polylines with object data attached. The polylines represent roads, and among the object data is a road number. A typical road number might be "2000" and a road without a number assigned yet would be "0"
I am trying to run a query that pull out just the objects where the road number field is 0. If I try to query based on object data where the field = 0, I get returned all of the polylines whether the field is 0 or not. If I query with "2000", I get returned just the single road with that number as expected.
I've tried several different ways to make this work and I'm not sure what is wrong. I have tried with the number as integers, and doing field = 0, field <= 0, field < 1 and that didn't work, so then I converted it over to a character field and have tried field = 0 and field = "0" - nothing seems to work. Is there something with the field being zero that is causing issues and is there a way to make this work?
View 2 Replies
View Related
Aug 24, 2012
I am unsure weather to post this in Dyn Block technical or Fields as it comprises elements of both.
I am trying to get a field to return a 'lookup properties' value...
Actually, what I am trying to do is use a field to display either a + or a - depending upon upon the state of a flip parameter.
How I have been trying to achieve that is by using a lookup table to assign:
Input Properties.....Lookup Properties
Not flipped........=............+
Flipped.............=............-
Then I'm setting a Field to look at the Object 'Lookup Parameter' and return 'Lookup Action'.
The field then displays '#########' when testing the block.
When I return to edit the field it complains 'the object referenced y the field has been erased'. Both the table and parameter are still there, so I don't know what the problem is. Is there a better way of having a field return a specific value based upon a parameter state?
View 9 Replies
View Related
Sep 8, 2011
I have a 2 point LWPOLYLINE that has the following coordinates at its end point when I 'ID' the point.
Command: id
Specify point: end
of X = 709369.3214 Y = 7153039.9690 Z = 269.2143
However if I use..
(vlax-safearray->list (vlax-variant-value (vla-get-coordinates (vlax-ename->vla-object (car (entsel))))))
I get this
(-450567.0 269.288 -450570.0 269.214)
and if I 'dump' the object..
; Coordinates = (-450567.0 269.288 -450570.0 269.214)
; Document (RO) = #<VLA-OBJECT IAcadDocument 09855674>
; Elevation = 7.17399e+006
I don't have a clue where the '-450567.0' is coming from.
I'm in Model Space in 'World' UCS, and I'm confused.. why does the 'ID'd' value not reflect whats going on when I use the vla-get-coordinates approach.
There are many other LWPolylines within the same model that behave normally.
I've attached the drawing (I think!)
View 7 Replies
View Related
Aug 2, 2012
Having problems with the updated new file dialog and I'm not talking personal problems. I switched it to detail view and widened up the name column so I could see the whole name. I could actually live with that setup however the next time I opened the new file dialog all the columns returned to their default size and the sort also reverted.
Is it just me or does the new file dialog not remember any changes to it's layout?
View 2 Replies
View Related
Dec 6, 2012
Autocad 2013 Data Extraction works if I do not include attached xrefs and set it to "Select objects in current drawing". When I check "Extract objects from xrefs"; and go to next it processes for a bit then stays on page 2 of 8 on the Define Data Source page. Also have the same error if I choose " Drawings/Sheet set" with or without the xref objects included.
View 3 Replies
View Related
Oct 5, 2012
I've had both CS5 and now CS6 on a Dell i7 with an HD5770 video card and tons of memory. For some reason I can't get the same kind of results that I see others get in HDR Pro. I've watched tons of example vids and in almost every example, what shows in the preview window is what is returned back to PS after hitting ok.
Not so on my computer. What my HDR looks like in the preview window is almost nothing like what it looks like when returned to PS. The contrast and exposure is usually quite different. The effect of the radius and strength sliders seems much more exagerated.
View 3 Replies
View Related
Feb 23, 2012
Explain the values of the matrix returned from the ITextFrame::GetMatrix() function (wrapper for sTextFrame->GetMatrix()). The a,b, c and d values which represent the rotation (and possibly the shear deformation) are OK,
but I can't relate the tx and ty values to the position of the text object on the artboard.As a test I tried the following code:
AIErr
CreatePointText( short paintOrder, AIArtHandle prep,
AIRealPoint *textPoint, AIArtHandle *newText)
{
AIError error;
error = sAITextFrame->NewPointText( paintOrder, prep,
kHorizontalTextOrientation,
[code]...
But the tx and ty values returned in matrix are now both 0. They should equal textPoint.h and textPoint.v, shouldn't they?
View 4 Replies
View Related
Sep 14, 2012
Although I use Civil 3d 2013, I have never used the map 3d program. I have GIS data and need to perform queries but I can't seem to figure out how to get a query to work.
I have the drawing open and the data is displayed. On the Task Pane I right click on "Current Query" and choose "Define". On the "Define Query of Attached drawing" dialog under "Query Type" I want pick "Data" which opens the "Data Condition" dialog. At this point you can choose Object Class, Object Properties, Database Link, Object Data or attribute. When I pick any of these options I get a "No Tables Found" message at the bottom of the dialog box (with the exception of Attribute). I'm therefore left with nothing to pick for the Object Data Fields.
View 3 Replies
View Related
Jul 3, 2013
I have long used the following lisp to convert multiple single text objects into multiple mtext objects (i.e. make each text entity into separate mtext entities).
; T2M - convert individual Texts/Dtexts to individual MTexts
; modified by Xanadu - www.xanadu.cz
;
(defun C:T2M (/ ss i elist)
[Code]....
However, the mtext entity always moves position slightly (compared to the original text entity) after converting the object. better lisp that converts multiple text entities into mtext entities (which are all separate still, i.e. not joined together) without the position of the entity changing?
View 4 Replies
View Related
Oct 22, 2013
I have been trying for over a week to install Elements 12 for more than a week. I keep getting error code 1500. I will return Elements 12.
I have found Adobe products to be particularly sensitive to almost any anomoly that a computer, internet connection, or software conflict creates will cause their products (many versions of Elements and Adobe Acrobat) to hickup and not work.
View 1 Replies
View Related
Nov 12, 2013
It seems that the order of symbols that I get back from sym.getComposition().getSymbols("symbolname") doesn't correspond to the order they were created or their order in the Elements table or their order in the timeline list. What determines their order in the array? How can I sort based on y position on stage or order of creation?
View 1 Replies
View Related
May 13, 2010
I've set up my machine months ago to connect to SDE 9.2 from Civil 3D 2009 and it's worked all along. Recently, however, it stopped working. I can connect and view all the layers the same as before, but when I select a checkbox beside a layer to query and hit either "Add to map" or "Add to map with query", the button greys out and nothing happens. This has worked on this machine for months (even with 2008), but now it stopped. As far as I can tell, nothing has changed with SDE either. Is there a log anywhere I can view for errors?
View 1 Replies
View Related
Mar 31, 2010
I have a county wide aerial image in jp2 format, connected through Data Connect and every time I pan or zoom it says "executing query". It is very slow getting around in the drawing (tracing over tree line, roads, etc.). I have a Windows 7 64-bit machine with 6 GB of RAM. Is there a setting I can turn off to make zooming, panning, changing layouts, etc. faster?
View 3 Replies
View Related
May 28, 2013
I downloaded a shape file from URL....that contains all of the streets in a vicinity. All of the linework has object data attached that contains street names. I have hundreds of streets shown, but i only want to show the name of a few of the streets. right now i am coping the name out of the properties and pasting it into a mtext. I know how to query the drawing and attach the name to all of the streets, but it creates way to many to delete.
How i can just pick the streets i would like to label and label just those street?
View 3 Replies
View Related
Jun 21, 2011
I have a drawing with 2 Data Connections: 1. Census Block SHP file from the Census Bureau and 2. an SDF file I created from GPS point locations. The question: Is there a way I can query the relationship between these 2 layers and have it report which census block each point is in?
View 9 Replies
View Related