AutoCAD Civil 3D :: Change Feature Line Style In LISP?
Oct 24, 2013
This has got to be something simple, but I can't get my head around it. I want to take a feature line that has been created by the "stepped offset" command and change its style, in LISP, of course. I have the entity name and have dumped the object, but the style of the FL is not one of them. It shows up in the properties box, but how do I get to it to change it?
I am trying to create a feature line style that would include markers similar to minor stations of an alignment at the End Points and 1/4D, 1/2D & 3/4D locations. The thought is that I could use these on curb returns, and the markers would identify the locations we provide construction staking.
I have a feature line that is perpendicular to another and connected to it at a PI .When I modify the elevations of one of the feature lines, the labels for slope and PI elevation of the dependent feature line do not react and update without having to invoke a REGEN.
I am trying to figure out how to change the labeling of my sample line style from (<[Sample Line Number(Sn)]> which out puts a count of 1,2,3,4 etc to output A,B,C,D etc.
I needed to remove a feature line that I used as a break line when creating a surface. When I removed the feature line from the definition of the surface, the grading did not change. It appears the points created by the feature line remain which is why grading didn't change. The only work around was to delete these points.
I noticed the same thing happens when I removed the surface boundary and inserted a new boundary. why these points remain and how to remove when I delete boundary and feature line from surface?
I am trying to change the default label styles for AddSegmentLabel under general styles using .NET...
Dim X As Autodesk.Civil.Settings.SettingsCmdAddSegmentLabel = CD.Settings.GetSettings(Of Autodesk.Civil.Settings.SettingsCmdAddSegmentLabel)()
X.Styles.LineLabel.Value = strChildStyleName ... says name does not exist
or
X.Styles.LineLabelStyleId.Value = oidChildStyle ... "The type of objectId is wrong"
If I manually change it to a child style and then check the values, they are the same as what I'm trying to set them to. If you use a "parent" style then these both work. Am I doing something wrong or this another limitation?
Civil 3D 2013 - Windows 7 Pro 64 - Dell T3500 - Xeon 2.67 - 24gb - Quadro 600
How do i get the feature lines in my corridor to change their style based on the code set style selected?Whats the point of defining featureline styles in the code set style if they don't change in the corridor? They only get used when you first create the corridor?
Is there something I am missing or is this the intended workflow?
Is there any way to project feature lines into a profile when the plan view is xref'd? I have my plan view "existing topo" with all existing features/Figures and a existing surface.
My profile is a separate dwg with plan view xref'd and surface a data shortcut. Of course there are feature lines and Survey Figures in the existing top I want to project into the profile, but can't because it is an xref. Besides copying .
C3D 2012. I am trying to get the distance from the start of a featrue line to a selected point. My object is "FLobj" and my Point is PT1. I am using the method Get2dDistanceAtPoint. This is the line of code.
I am wanting to add the name of my feature line to a label style. I am trying to create a label style that will show Lot Number and Area. I know i can create parcels, but i dont want to! I have also created a map table that can do exactly what i want on polylines, but will not work on an xref. Labelling featurelines does work in xrefs.
I am building a surface and have back of curb, curb face, and curb flowline going around a curve. I cannot create the lines with the usual pline as they will cross due to poor field collect. I created the curbs with multiple arcs. I was then going to change them into Feature Lines and am wondering if I can then use them as breaklines in a surface.
We have cooridors with features such as terrace drains and flowlines, but we cant seem to get the linetypes to show up correctly. For example a flow line should have arrows but it shows up without the linetype and looks continuous.
I am building a corridor with the right side of the pavement fitting to the existing surface.The subassembly used to link the edge of pavement to the existing ground is LinkSlopeToSurface.
On the corridor created, the feature line (code P2) of the corridor surface (top) starts from the station 0+025, instead of 0+000.
I was wondering why there is no feature line P2 for station range 0+000 to 0+025? Does that mean the linkage to the existing ground surface not exist for the slope defined in the subassembly?
We are running Civil3d 2012. When converting a line or 3d poly to feature line, or just creating one it adds elevation points where it crosses surface breaklines even if you do not assign elevations. We want the feature to just have 2 elevations. The beginning and end. Is this a bug? Or is there another setting somewhere?
I created a label for retaining wall that takes the z value from the start and end of a feature line. Works great except that it isn't dynamic. I have created the feature line in a grading sheet where the surface is data shortcut into it and I'm just using grips to make sure the ends are on the bottom and top of the retaining wall. Is there any way to dynamically pin/tie the feature line to a surface that has been data shortcut?
we have a folder full of blocks with text style romans, and our new standard text is Arial - any routine where we can 'batch' change a group of cad drawings (blocks) - changing the text to Aerial and the width factor of the text to 0.9?
How do I edit line types? whenever I copy this particular existing line type into the other drawing the text style changes. There is no way of editing it when I go to the line's properties. I want to change the line type's Text style.
AutoCAD C3D 2012 has been crashing nonstop over the past 3 days on me whenever I try to "Create a Feature Line from Object". I know that it is a localized problem as a co-worker has been in the same drawing and done grading work without any problems. The error has occurred in multiple drawings.
Product Version: F.107.0.0. AutoCAD Civil 3D 2012 SP1
is there a way to draw a line in the profile view and create that line into a feature line? and if there is can i project that line into the plan? i know that you can make a feature line in the plan and project that feature line into a profile view, just wondering if you could basicly do the reverse. i don't want to make a coridor.
I Created a Feature Line from Objects (a polyline). I added it to Site 1, gave it a name, layer. Do I Assign elevations during creation (conversion options)?
I set the Elevation to 8.5 (NOT From surface)
Then I go to
Modify Feature Line -
Elevation Editor.
Why are the elevations locked? I want to set them.