AutoCAD Civil 3D :: How To Change Labeling Of Sample Line Style
Sep 26, 2011
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.
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 have a bunch of lines that are created with multiple segments. I'd like to annotate the total length. I can't figure out to do this without labelling each segment along the line using Line and Curve commands. How do I get one annotation that only shows the total of all the sements?
I have a road corridor and need to create sample lines at a 50m interval, as well as at every horizontal and vertical turning point. While the 50m stations and the horizontal turning points are easy to add (using the alignment), I can't seem to find where/how to add the vertical points (they have to be extracted from the profile).
Running the Feature Line Report I noticed the horizontal turning points are not used in the report: it only reports the 50m stations (so I guess the same will happen to the vertical points?).
how to add the vertical turning points to the sample line group and how to include both horizontal and vertical points in the Feature Line Report.
I am trying to use object snap (intersection) to position the end of my sample lines at the intersection of the sample line with a polyline. The object snap works with sample lines left of the alignment centerline but not on the right. How do I correct this?
I draw an alignment for road. I turned off design criteria and i used data from manual for my country Slovenia. I need spiral in, curve and spiral out on alignment. Finally i got that alignment. Then i insert sample lines along the alignment. Then i saved autocad civil 3d file and shut down the program. When i reopen file, i see that sample lines after the spiral in being erased. Sample lines stayed along first tangent, after that they were erased.
In Civil 3D we can create several new sample line groups and their sample lines can have the same name in other sample line groups.e.g
SLG_1:
Sample line names:
1 2 3 4
SLG_2:
Sample line names:
1 2 3 4
However, If I create a new sample line group with API and after new sample lines, if other sample line name(of other SLG) has the same name, Civil 3D throws Exception.
Creating sample lines at a specific increment within a range starting from the start of the range is impossible unless the start of the range is divisible by the increment. This is a defect that needs fixing.
Meanwhile you'll find me typing in the 93 locations for my sample lines. I believe this is what we made computers for.
I have some sample lines that highlight utilities needing a section view. I've now moved my sample line to highlight the true cross section stationing for these crossings. Why doesn't the station value update for the sample line once this is moved. For some reason I remember the station text on the sample line updating itself automatically in the past.
I'm working on cross sections and ran into a problem. I had to edit my surface but it wouldn't cooperate with me. So instead, I just erased the whole surface and restarted it. After I got my surface the way I like it, I added my sample lines to where they are supposed to be. Problem is, my cross sections turned out blank.
So for now, I skipped to create a surface profile and see both of my surfaces available on the bottom. The old one I deleted and the newly created one. It won't let me go to the bottom and erase the old deleted surface. When I go into my toolspace-prospector....it only shows my newly created surface and nothing more. Is this a reason why my cross sections come up blank?
I'll show you a pic of my toolspace with just the current surface and another pic of the "create a surface profile" showing that it still has both the old and new (all in CAPS) but it won't let me delete the original.
HP Compaq 8100 Elite Win 7 Pro SP1 - 64Bit 8GB RAM i7 860 @ 2.80 GHZ AutoCad Civil 3d 2012 SP1
Where is the setting for the sample line label background mask? I have some sample lines that will be plotted on top of an aerial photo, and the black box background looks terrible. I'd like to turn it off. I found the contour label background fine and I switched those to False without much of a problem, but I can't seem to locate the ones for the sample lines.
I'm working on a stream restoration project and we need to determine the x coordinates and corresponding elevations along a stream alignment at certain sample lines. The centerline of the stream's alignment has been created as well as sample lines for cross sections at 50' intervals. We need the coordinates & elevations of each sample line (cross section) exported into an excel/txt document.
For instance, at station 1+00 of the alignment we have a sample line. We need to know to the right and left along that sample line the corresponding elevations and that x coordinate) from the alignment. Primarily, whole contour intervals but more information would be useful as well. I was hoping this could be automatically generated.
I create the sampleline on the option "by a range of stations" so the sample lines were created on the horizontal geometry points. When I change the geometry of the alignament, the sample lines's local change or I need to do the process all over again?
Bring that back from the archives... because I am still very fond of redoing hundreds of cross sections because you're incable of redistributing the graphs when a sample line is added to a an existing group... and blow up all of the projections well done.... way to leave out a super critical dynamic component.
PPD E P I C F A I L
There is some unbelievable gaps in the software but how do you let this one go on for so long?
Dell Precision T3500 - Xenon W3550 @ 3.07 (4 core) Ram @ 12Gb 64bit Win7 Pro Samsung SSD NVIDIA Quadro 2000 - Dual Monitors Cat 6 network with GlobalScape Avail Agent - WAFS Infrastructure Design Suite Premium and Civil 3D 2012
I made an alignment of road, inserted with sample line, then i made a profile. But on the sample line on profile, there is not a data of height and lenght of profile. How to get those data in road profile. I can manually draw that, but i think there is an easier way?
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
I have a corridor with an associated sample line group, and I have produced some material volume tables to give me quantities for my corridor structures and cut/fill volumes. When I look at the material volume tables they are at a seemingly arbitrary stationing. The sample line group which the material volume tables are (supposedly) based on are on alignment L1000 and they run from station 1133+73 to station 1154+00 every 10 meters. The material volume tables show volumes broken down by stations starting at station 3719+58.66 and runs through to station 3786+08.92. It is sampling at a seemingly arbitrary frequency, there is absolutely no alignment in my drawing that has stations remotely resembling those numbers, and there is definitely no sample line group it could be using that samples an alignment or stationing anything like that shown in the materials volume tables. Here is a quick screenshot of what my material volumes tables look like:[URL]
I created sample lines and section views for my road projects. I set all line works to appropriate layers except for "Segment and Points". Cannot change from layer "0".
I right click the existing grade on my section views, click "edit section style", click "display", then change the layer of Segments and points and click "OK", "apply".
Go back to my drawing, verify the layer but still layer "0". I tried so many times, read the manual, call friends but no luck. I am tempted to "explode" my drawing.
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.
When I import shape files the polylines will not take the layer style I move them to. They stay a continuous linetype. Linetype and Lineweight is set to ByLayer. Only difference between the new lines and the lines drawing correctly is the lines that stay continuous are 3D polylines and the correct ones are normal polylines. What I need to do to make the imported lines accept my layer linetypes?
My current company have funny setting. It is time consuming task to manually open dialog box to change the setting for old drawings. May I know any command that I can use, so that I can copy and paste those command in the command window to change the properties.
I am looking for a Line Label Style Expression which will perform a rounding function on distance labels that display my "General Segment Length" value.
What I need is to be able to remove "Trailing Zeros" from my distance values, so that if precision is set to say 0.01 and my distance value is measured as 45.5, I do not get 45.50 but 45.5.
I have surface style (could be slope or spot elevation) with a 2 line component, and text component above and below the line. I'm trying to create on style for many options. I'm using c3d 2013, but moving to 2014.
I would like to do the following after placing the label:
1. adjust the length of the line component. (ex: as I rotate the lable, the length of seg 1 changes ) 2. turn off one of the line component 3. adjust the angle of one of the line component. 4. when drag, the length of the line changes to a new value.
and while I'm asking, is there a way to move/rotate/drag the syle to a percise distance. I want the leader to be 1 unit long at 30 degree angle.
We are upgrading from LDD2008 to Civil3D 2013. I'm working on a Civil3D template
I'm setting up line and curve label style. Oringally we were going to have one set of line label style. Ex. Bearing Above or Bearing Below. After seeing that the line labels does not look at the current text style we decided to make copies of the original label styles based on Text Styles.So now I have Bearing Above60, Bearing Above100, etc. I named them based on the Leroy styles and sizes.
After editing each one and changing the Text Style each one looks at, it is not using the Texting Style i assign it. I'm doing this in the General Tab and Text Style for each label style.
i guess I should have tested before creating all them to find out it didn't work.Does it need to be done somewhere else or is do I have to do something with the overall label style overrides?
I seem to be having trouble changing the lineweight of my profile line. I have changed the line weight in the layer properties, in the Profile properties and tried changed the line weight in the pen style. Everywhere I could think I try to make the line thicker but when I plot, the line is still the same and difficult to distinguish from the grid blocks of the profile view.
I am doing a few simple plot plans and I would like to find simpler way to place the bearings of the property lines just by clicking on them or the ends of each line like I do for their length. I just use a Aligned dimension with everything turned off except the text so that is parallel with the lot line.
There is probably a simple solution I'm just not finding one, I cut and past the text out of the quick calculation now and rotate it, and I know there's a better way.