AutoCAD Civil 3D :: Alignment Creation From Object
Mar 31, 2012
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 have quite a few alignments to create and would rather not have to set the layer and conversion options for each. I'd like all to be on the same layer (that is already defined in the drawing) and to change the conversion options both off. I've been looking through the settings table in TS, but haven't found anywhere to change the default layer and conversion option states. Currently, the create alignment from objects defaults are to have alignments on independent layers (Model-Alignment*, where * adds the alignment name as a suffix to the layer name) and both conversion options are on.
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.
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 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
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.
using System; using System.Threading; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Runtime.InteropServices; using Autodesk.AutoCAD.Interop.Common; using Autodesk.AutoCAD.Interop; using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.EditorInput;
[code]....
Working Environment:-
Visual Studio 2010AutoCAD 2011 C#
After run following error will occure
"An unhandled exception of type 'System.TypeLoadException' occurred in mscorlib.dll
Additional information: Method 'CopyTo' in type 'Autodesk.AutoCAD.ApplicationServices.DocumentCollection'
from assembly 'acmgd, Version=18.1.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation ."
After installing SP2 for 3ds Max 2011 (Windows 7, 64-bit), whenever I create a new object, the colour swatch in the 'Name and Color' rollout is always white, however, the actual colour assigned to each newly created object is not white, but is the same for all objects created (seems to be a different choice of colour after each restart of Max). If I click the colour swatch, 'Assign Random Colors' is checked and I can manually assign a different colour to the object I've just created and the colour swatch is updated to reflect my choice. If I continue creating new objects, the same colour as initially applied is assigned and the colour swatch is again white. If I uncheck 'Assign Random Colors' and create new objects, the colour swatch is again white and the same colour as initially applied is used.
Some of my co-workers are having issues with layers. They create a new layer, choose a color and rename it and c;ose the ;ayer manager. When they reopen the layer manager, the new layer has reverted back to the color it started with. If they do it a second time, it works properly.
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?
In the good old days I would create 3d polylines by elevation to create curb lines and driveway cuts. The command was in the terrain pull down. Has this feature been completely down away with?
For some reason I cannot open any of my creation tools, nor can I create anything like alignments. I am a relatively new user. I am using AutoCAD Civil 3D 2011.
What is the surface size threshold above which civil 3d 2012 will create an mms file, and how can I change that threshold to force it to keep the surface data in the dwg file if that's what I want?
I am having some issues with my corridor. It is for a 1.5 mile two lane section of highway. When I created the corridor, I used 15 assemblies. Now, when I try to create a corridor surface, I have issues. The file crashes when I try to load the surface.
When point groups are deleted through the UI and then recreated via code with the same name the criteria such as the excluded point number list is included. It would be nice if it started with a clean slate once created and not keep around deleted point group.
I am trying to get civil 3D to automatically create layers similar to ones already created. For example-
Using Description keys I am inserting survey points which automatically create layers for each type of point. e.g. p_building. I would also like a second layer to be created called l_building (for building lines) when the p_building layer is created.
I realize I can create the layers and save as the drawing template but this is not a neat solution as you have to add every possible line layer (l_??) and then you will have a lot of empty layers as not all points are collected on each job.
I'm using Civil 2012 to create a surface for a landfill. I have UTM coordinates, and my elevations range from about 71m to 115m. When I create my surface using the points, I check the Surface Properties/Statistics, it appears the X,Y & Z coordinates have been scaled down by 3 decimal places. I'm using UTM coordinates to create the points.
Example:
Min elevation = 0.071m .... should be 71m
Min X = 481.510m etc. ... should be 481510.99 or something similar.
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.