AutoCad :: Name Objects In Data Visualization Model
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.
I am a land surveyor using AutoCAD 2012. Just new to 2012 version, previously used 2005 version.
My question is:
Is it possible to (and how do I) create a 3D model of a ground surface from field survey data which has been collected. The data i have is currently in Leica GSI format, and has x, y and z coordinates. I can easily transfer this into a .csv file i necessary.
I am using AutoCAD 2012 and would like to know whether you can create a single iges file of data that exists in both model space and layout space within the same dwg file. I have only been successful in creating iges files of either model data or layout data but not both together (unlike creating a dxf file which converts all data within the dwg file).
I used the industry model template for the North American electric grid, thinking it would link the data I saw on the tutorials. I am pretty sure that I need to find industry models for the electric grid now that I can't seem to get the conductors to show up on my map. Is that right? where I can find an industry model of the electric grid around Lake Michigan?
If I cannot find an industry model (a database?), can I just switch workspace to "Planning and Analysis" and import the models I have (images, West side of lake only) and attempt to manipulate those (while keeping everything I have)?
I have lost much work repeatedly upon saving. Do I always have to "check in" my data before saving?
Is there an easier way to match-up roster images (that aren't GEOTiffs) to shape files (that have a coordinate system) rather than using "scale," "rotate" and "move"? I didn't have luck with the "pick" option and monkeying around with manual manipulation didn't match up well. Perhaps there is a way to manipulate points on an image?
finding a good visualisation package? I'm looking for something simple but with good effects. I'm only working to 2D. I currently use M-Color but would like something that would give a better result but is as easy to use.
I am trying to find a way to import a laser scanned mesh or point cloud file into Inventor (2013) such that I can use it to make a parametric representation of the form. The import format can be STL, OBJ, VRML, XYZ or PLY. I have tried the Mesh Enabler from Autodesk Labs but the files I am looking to work-on are bigger than the enabler can cope with and my system slows right down or locks-up.
I know bespoke reverse engineering software is the ideal way to go but I was hoping there was a way to model over a mesh to represent its form to create a placeholder in a parametric assembly. I'm not looking for accuracy, just a surface or solid output that can be constrained to native inventor parts. If I could get the files to STEP or IGES someway that would be enough.
My knowledge is that there are two ways of rendering and visualizing corridor. One by Code Set Style; the other by Corridor Surfaces and Corridor Surface boundaries. So, what are the advantages of one over the other? Which method is more preferable?
I'm playing around with render materials and have the material assigned and the surface style to show only triangle in model view. When I go to Realistic view style should the not show?
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.
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...
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?
I have some code in a VBA program I'm trying to convert to .net that loops through all the entities in model space as in the code snip below. What I can't figure out is how to get the total number of objects in model space at the start so I can use this info to advance a progress bar. ie the equivilent of VBA's "ThisDrawing.ModelSpace.Count"
Dim bt As BlockTable = tr.GetObject(DB.BlockTableId(), OpenMode.ForRead) Dim btr As BlockTableRecord = tr.GetObject(bt(BlockTableRecord.ModelSpace), OpenMode.ForRead) ' Loop for each entity in the modelspace For Each entId As ObjectId In btr '<code sniped> 'advance progress bar Next
I would like to scale all objects by x2 in Model Space using reference point xyz=0. Just like one would do via scale command. However, I would like to do so programmatically in VB.NET
I worked all day yesterday on a drawing and late afternoon all the objects in model space disappeared except for an OLE object (jpg photo). Objects in the two paper spaces are left unchanged. I don't remember what command I was using at the time. There was another OLE jpg that disappeared in model space. It appears that all layers are on. The file is fairly large - 12 MB and even though the objects disappeared, the size has remained the same so I'm hoping that they are still there somewhere. Zoom All and Regen doesn't work.
I use Autocad LT 2013 and Windows 7. The file is too large to attach.
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?
I have two objects that I would like to link together in model space. I realize this is easy to do using paper space but I am curious if this can be done in model space.
The two objects are wire connections but they are spaced far apart in my drawing and can be a pain trying to find thier locations all the time. if I could select or click the first connector and be able to pan or zoom to the appropriate connection by link or other means.
I have always been able to highlight separate objects in model space, and now i can only do one at at time??? I click on the second object, and the first one stops being highlighted.
I don't know if somehow i changed a setting on accident, but i don't know how to get it back to be able to do multiple separately.
In a 2D drawing I want to arrange model space objects in a pviewport such that a specific model space point is in the center of the pviewport. I'm manipulating the pviewport properties to try to accomplish this. To have the view perpendicular to the model space XY plane, I've set the pviewport direction property at 0,0,1 and am varying the arrangement of model space objects with the pviewport target property.
When doing this by hand, I use the DVIEW command and the POints option to set the camera and target. The model space point I want in the center of the pviewport is 16.25,11.5,0. In the DVIEW command, POints option, I set target to 16.25,11.5,0 and camera to 16.25,11.5,1.
When attempting to do this with a macro I'm not finding any obvious correlation between the pviewport target property setting and the location of the desired model space point. Below are the lines to set the target property in a pviewport called PVPort created in previous steps. When I set the target property to 0,0,0, the model space point 45.3541, 17, 0 is in the center of the pviewport. When I set the target property to 16.25,11.5,0, the model space point 61.6041,28.5,0 is in the center of the pviewport.
If the pviewport has a twist angle of a scale not 1.0 (and therfore a different model space point I'm wanting in the center of the pviewport), it gets more confusing.
Dim VPP(0 to 2) as Double VPP(0) = 0: VPP(1) = 0: VPP(2) = 0 PVPort.Target = VPP
when i make a parent view from model space of 3d objects not all of them will appear in paper space. some times it will only display objects from one layer and other times it will pick and choose. this can also happen when i edit an object in paper space and when i return to paper space objects i was not even editing have disappeared from the view. note this does not always happen, in fact it does not always happen with the same objects.
It does not matter if i open and close AutoCAD the objects will still be gone. This has happened before SP1 but seems to be happening more since the release of it. i can provide a file.
I have a multiple blocks in my drawing and I would like to select certain obejects within these block from model space, i.e all lines = White, and then return their their combined length.
At the moment I have to explode all of the blocks, use qselect, run length.lsp to get the combined length of the selection and then undo the actions previous to the block explosion.
I created a simple roundabout in Civil3D with the intent on visualizing the corridor in 3DS Max Design using the Civil View plugin. The corridor rendered complete in Civil 3D, but there are large corridor gaps in Civil View. They all appear to be at the location of corridor baseline boundaries. Obviously this is a non-starter, as 3DS Max is supposed to improve the visual quality, not reduce.
Attached are some sample images of the roundabout in Civil3D and in 3DS Max Design.
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)?
We experienced a problem. we have a drawing file, is about 1.6meg not big. while working in model space doing some 3D work, all of a sudden all the objects dissapear except for some text. all layers are on and thawed. we regen all, zoom all. weird thing is when we go into the paper space tabs everything shows up. so all the data is there some place but cant find it in model space.
there are no xrefs in the drawings and i had cleaned all the multiple copies out before to keep the file size down and more workable. this is happening on two machines. other drawings are fine.
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.
When using the model documentation in autocad 2013 is it possible to select certain objects in a projected view and still have them show up in the base (parent) view? Another way to put it; can I isolate objects in one projected view only?
Is there a good place to go to read post from people that are using this new feature for production or some in-depth tutorials?
My company upgraded our AutoCAD from 2007 to 2009 this past Monday. I'm getting an error message when trying to change the order of objects in model space.
Command: Unknown command "AI_DRAWORDER". Press F1 for help. Command: Unknown command "FRONT". Press F1 for help.