AutoCAD Civil 3D :: Select Alignment Via Object Id
Oct 13, 2013
I have a data grid view with all alignments included in the drawing file. If I choose an alignment in data grid view, I have Id of that alignment.
I have a button, and I would like that if i press that button then selects that alignment in the drawing(graphic). I would like that there was only one object selected, and if there are more selected objects before,then un-selected them.
I've attached a screenshot of the error I get when I try to run slope stake reports. I have 8 lanes of road and 2 out of 8 have no issues at all. The error shown does NOT appear and all the link codes become available for the slopestake report. I have attached this image as well. I have nothing to go on at this point. The design is finished, i'm in a bind, and good old Civil 3D descides to stick it to "the man".
I have started having issues when creating alignments from objects.
I am building roads from plans for setout on site, I receive 2d linework and need to build the 3d road up. I join the required linework into a polyline so I can make a few checks that the lengths and so on are correct before I continue. Then usually I would just go and make an alignment from the polyline.
e.g. Monday I was setting up 3 intersections and dealing with 6 kerb returns on there. The first 2 created correctly, then when I created the 3rd one I couldn't see it. Then when I did zoom extents it was way off to the left and a mirror of the linework I was trying to create it from. It did it to a further 2 of them and the other 2 came out correctly.
Now it is doing to me when trying to create a centreline.
When i am creating alignment from object(six 2D polylines) it convert first poly line only to alignment.orther polylines show as a alignment ,but can't label or create profile.
i am trying to get the coordinate value for the current station in the subassemblies.
i found
Autodesk.Civil.Roadway.DatabaseServices.BaseBaseline.StationOffsetElevationToXYZ(ByRef Autodesk.AutoCAD.Geometry.Point3d) As Autodesk.AutoCAD.Geometry.Point3d
but how you get the basebaseline?
in the alignment object there is no convert station to coordinate only coordinate to station. which is useless in this case.
Civil 3D 2012 Work: Xeon W3503, 12GB, Quadro 2000, Dell P2211H x 2 Home: 3930k, 12GB, GTX 590, U3011, QX2710
I am working on creating an alignment from a single polyline. The polyline, which was originally created in Carlson 2012, is a flat polyline that is about 1200 feet in length. When I select it with create alignment from object, it accepts it and seems to work. For some reason though, the stationing is way off --- e.g. the true 50' mark is showing up as 0+04.17 which results in an end station of 0+99.31 on a 1191' polyline.
edit> I also have tried this with a brand new polyline I created in civil3d, same issue.
is it possible to get the alignment name which the corridor surface is built from when the surface is being data referenced. in other word no corridor as the middleman.
the way i see it is when corridor suface is referenced, it becomes a regular surface and loses some properties such as parent alignment.
i am still using COM. maybe .net can do it? either way works.
Civil 3D 2012 Work: Xeon W3503, 12GB, Quadro 2000, Dell P2211H x 2 Home: 3930k, 12GB, GTX 590, U3011, QX2710
We have a perenial problem with our old GIS software where files corrupt and drawing objects are lost.
There are few export options available, but export to shape is one of them. This means that I can export a damaged file and then import it into CAD with the layers intact and the tagged numbers (similar to object data or a block attribute in CAD) imported as object data. In order to make a new uncorrupted version for the GIS program.
Is there a way to select objects by object data?
If a file is corrupted, the only real way to repair it at the moment is to go back to the original cad drawing and reimport and then retag every single tagged attribute on what can be thousands of drawing objects, and by then we may no longer have the handdrawn data to even do that.
The next workaround is if I creat new dwgs from the cad drawing, Each one containing the objects with the same object data, and each saved with a file name that matches that object data, and then reimport into the GIS. (it can use the filename as a tag). This creates a new GIS file with the surviving information that should not lose any more data and we may be able to patch the 'holes' afterwards.
The problem is selecting all the polylines in the cad drawing that have that same tagged number in the object data. Select similar just goes on object type and layer. This would be easier if I could select by object data and get everything with the same tag in one go.
A way to batch create the new dwgs from that selected data would be nice too.
Mainly, I would like to find it the "Multiple Object Select Ribbon" in the CUI editor, and change its "CONTEXTUAL DISPLAY TYPE" from FULL to MERGED, if this is possible.
I using a data reference/shortcut to properly label an alignment in paperspace. However when I reference the alignment in and apply the labels the aren't the same as the original alignment that I am referencing. Is there a setting where I am supposed to apply a new beginning station.
Also it seems as though the stationing(distance) isn't even matching up 1:1 with the original drawing. For example in the original base drawing my alignment starts at 10+00 with the next PI at 14+76.98, but the stationing on the reference alignment starts at 0+83.33 with the very same PI being labeled as 1+23.08. So the very same distance is 476.98' in the real design and the drawing it's being referenced in, but the stationing of the referenced alignment shows it as 39.75 Units.
I've attached a screen of the beginning of the alignment.
Civil 3D 2012 Windows 7 Service Pack 1 Intel Core i7-2600 CPU 16GB RAM
Using Civil 3d2012, Is it possible to change the alignment label style set after the alignment has been created? For example, for an alignment that was created with alignment label set X - change the label set to alignment label set Y? It seems like this should be pretty easy, I must be missing something obvious.
I have a question on Alignment PI's. (Point of Inflection/Intersection)I have an alignment where some PI's have curves, others are merely hard bends.
Is there a way to automatically label the PI's even if they have an associated curve? (I'd like PI, PC and PT)Alternatively, can I only show markers at PI's without curves?
I’m wondering if there is a way to launch alignment grid view/alignment entities (attached) without the need to first launching “alignment”? This dialogue box is quite essential in editing the values of radius, degree of curvature and deflection angle for the selected curve.
Can I inherit the station from one alignment as the begin station for another alignment?
For example. Alignment 1 is 1000 ft long and starts at sta 0+00.
At sta 8+01, Alignment 2 begins and goes off in another direction.
I manually enter 8+01 for begin station Alignment 2. Life is good. Still in the design stage, and customer needs to modify Alignment 1 to avoid something. Now Alignment 2 intersects Alignment 1 at sta 8+15, but same N/E coordinates.
I manually enter 8+15 for begin station Alignment 2.
It would be better if Alignment 2 could inherit the begin station based on the new stationing from Alignment 1.
master im new in autocad 2014....i have a problem now when i select line or object it highlight or make a broken line....but when i select the other object or line my previous selected back to normal..i mean i can select only one line if i use single selecting....how to select all object or line with single select continuously, except using hold left click...
When I select an object and pan to make another selection the first object "deselects". The object(s) will stay selected until I pan and as soon as I start to pan the grips go away and the object(s) is deselected.
I tried to place the text ABCDE inside of one rectangle (drawn by polyline), in such a way that, the text should be exactly at "Middle Centre" of that rectangle.
I could achieve this 90% purely by my own judgment.
Even when, I tried to draw a rectangle just to touch all 4 sides vertices of the text ABCDE, I could not get any OSNAP points on the text to start a line. Can we treat a "Text" object the way we deal with any other geometrical object - Rectangle, Square, Circle, Triangle or Ellipse?
Is there anyway to copy an alignment from one drawing to another?I want to copy the alignment but not have it come in as a alignment just an object line
I don't want to spend the time drawing a PL over the top of it (its a very complex) then copying that.
I imported Google earth surface (at eye alt 600m) to civil 3d 2012 and created an alignment of length 181m.
When I exported same alignment to Google earth , it showed the length as 190m ( the difference increases with increase in length of alignment) And also the profile view of the alignment in the Civil D & Google earth varies.
have to select an object under an artistic media brush object. i try hold down alt key when select the object under the artistic media object but it select the second object
I am transforming water system components from Autocad dwg files (created in Civil 3d 2013 I think) to a personal (or file) geodatabase in ArcGIS 10.1. I am not familair with using Civil 3d.
I would like to know if there is some way I can export (as ESRI shapefile) AECC alignment objects (waterlines) as lines/polylines and preserve associated data (flow direction and station label info) as field attributes associated with the lines/polylines. I am not sure if there is elevation data associated with the alignments, but would want to preserve that data too if it is available.
Currently working with water system asset inventory mapping and geodatabase design using Autocad Map 3d 2014 on Windows 7 using ESRI ArcGIS 10.1 on Windows 7 using ArcGIS 10.2 on Windows 8.1
We have a schedule tag for space objects created on our tool palette. When you use the Multiple option, you cannot do a window selection unless only spaces are visiable. If other object types are in the selection set, the program seems to get hung up... no error is produced... it just seems to spin relentlessly. We have to Cnt+Alt+Delete to get out of it. You cannot preselect the spaces and use 'P' for previous selection set, since the last selection set was the first one you selected to place the first shedule tag.
I thought I could create a tool to return the selection set to the select object prompt with the simple line of code, like this - this should work but does not:
(ssget "X" (list (cons 0 "AEC_SPACE")))
it returns the spaces to the prompt, but for some reason they get filtered out.Below is the command line snippet that shows multiple attempts...
Command: _AecScheduleTag Select object to tag: Specify location of tag <Centered>: Select object to tag [Multiple]: m Select objects to tag: (setq ss (ssget "X" (list (cons 0 "AEC_SPACE")))) <Selection set: 12dc> 7 found 7 were filtered out Select objects to tag: !ss <Selection set: 12dc> 7 found 7 were filtered out, 0 total Select objects to tag: !ss <Selection set: 12dc> 7 found 7 were filtered out, 0 total