AutoCAD Civil 3D :: Determine X Y Location Of Surface Label?
Oct 11, 2012
I need to extract the XY location of a surface label. Specifically, I am trying to determine the coordinates of the first picked point in a two-point slope label. But in looking at the IAeccSurfaceSlopeLabel interface in the ActiveX documentation, I'm not seeing where this data is stored. Even for a simple surface spot elevation label (IAeccSurfaceElevationLabel) I don't see a property that stores the coordinates.
I know that I can add coordinates for such elevation using text component editor but I have to add the letter "N" for North or "E" for East to identify the location of the elevation (North/East/South/West). But, is there a way to make a label style that reads up the location of an elevation automatically?
I've attached pictures below for this issue.
C3D 2012, C3D 2013 Windows 7 Professional 64-bit Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
I have created a label in Settings>Intersection>Label Styles>Intersection Location Labels. The label will annotate the intersection stations and alignment name - however I haven't been able to configure the northing, easting and point number of the intersection.
Profile View Band Styles, Vertical Geometry and Horizontal Geometry types, include the option to Anchor Labels to True Geometry Locations.
Any image/example showing the difference between the Anchor Label options (Segment in Band and True Geometry Location) in Vertical and Horizontal Profile View Bands.
I have note labels in one drawing. An Elevation style that list the elevation of the insertion point. The label texts are dragged to new locations. When I xref this drawing in to another. The label text shows at both the insertion points and the dragged locations. What's going on??
I've made sure the labels aren't duplicated on another layer. If I change the layer of the dragged text and do an Xlist in the drawing they're xrefed in to. The dragged text list on the layer I've change it to. The text in the original position lists on layer 0, which is the default layer for creation.
we are in a situation where we want a dynamic wall label. how can i make that happen if technically the top of wall and bottom of wall are at two different x and y points. ideally i would like have one label and list it this way by referencing surface elevations:
I have Civil3d2012 and have created a surface in one drawing and then referenced it to another. It appears to be working, but the contour labels will not work on the drawing where the surface is referenced. I have all the appropriate layers on.
Am I correct in assuming that if Surface Labels by One Point is chosen, the slope as shown is the maximum slope of the surface triangle where the point was chosen??
IDSP Premium 2014 (mainly Civil 3D 2014 UKIE SP1 & Infraworks with some limited 3ds Max Design) Win 7 Pro x64, 256Gb SSD, 300Gb 15,000 rpm HDD 16Gb Ram Intel Xeon CPU E5-1607 0 @ 3.00GHz (4 CPUs), ~3.0GHz NVIDIA Quadro 4000, Dual 27" Monitor, Dell T3600
I have been searching for a way to rotate surface spot elevation labels but have not been able to find a solution to do so. Has this feature been added to 2013 or 14? I do not want to use the point and label styles for my surface elevation, even though these can be rotated. I have several miles of roadway with many horizontal curves and would like the surface labels aligned with and along the centerline. I prefer not to update the spot elevations when the profile is revised.
C3D 2013 (latest updates), 2014 Infrastructure Design Suite
How to use the Surface Contour Label Group class in the .NET API.
My first guess was that I had to create an instance object of the class and name it, and then use a "Create" method (e.g., CreateMultipleAtInterval) from there, like this:
Dim labelgroup As SurfaceContourLabelGroup
labelgroup.CreateMultipleAtInterval(arguments)
However, this doesn't work, as Visual Studio told me "Warning: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated."
I'm trying to suppress trailing zeros in a surface slope label in run:rise format. Basically, if it's a 2 to 1 slope, I want it to read 2:1 or if it's a 2.5 to 1 to read as 2.5:1.
I found this blog showing how to do it for line slopes, but I think it's not able to work using the run:rise format.
I am trying to create a label for slopes in cross sections for a surface created from breaklines using gade breaks as you can not weed segment labels
I am weeding the labels out based on the change in grade of the section profile and making the label text high very small of the labels I do not want to see. But the first label returns ??? because there is no grade coming in so I get ??? instead of something usefull like null. Any way to convert?? to something you can evaluate and use.
I have a drawing that has erp data (somehow) attached to plain text (acadText). I have been unable to determine where this data is embedded or 'hidden" in the drawing - The attached drawing has three text entities, each with erp data attached.
Most of my VBA programming is in Inventor and my AutoCAD coding is not that strong. I have tried listing the text, browsed the drawing database (vLisp editor), tried the data extraction tool and run (entget (car (entsel))) and so far have been unable to find the embedded data.
I am trying to access the embedded data because the erp system updates the visible text with the BOM item number when the BOM is changed in the erp screen (which is very time consuming and a big pain), however this fails when our drafting guys take a shortcut and change the number manually. With multiple balloons, we cannot tell which one(s) have been changed manually. I am hoping to code a macro that displays the embedded data which can be compared to the visible text value.
I'm working with a structure profile label style and it seems like the only way to anchor the position of the label is based on offsets from the structure itself... Any way to position the label based on the top of the profile view, so that I could make all of my labels horizontally aligned above the profile view?
Is there a way to determine the surface area of a staircase? For example when you click on a floor, the properties window automatically tells you the area. Can you do this with stairs? And is it possible to put this information onto a schedule?
The label associated to a grading point when is moved when is moved changes its size automatically and a leader appears. After this happen no control over the grading point and its associate label. refer to the image below.
C3D 2013. We have profile line labels, some of which get manually edited (for example, change the "<[Tangent grade(FP|P2|RN|AP|GC|UN|SD|OF)]>" to a static number such as 0.29%).
However, if you CTRL+Click and select one of these labels and change the style of that one label, then the manual edits are lost and the label reverts back to the default string.
I'm trying to label my Profile label stations as raw stations, 20~20 meters, and I'm not being able to adapt the format to STATION 0, STATION 2, without any plus zeros or +, or -, or commas, or anything, as following in the image.
I need to project a surface/grading (or something of that nature) across my berm and have it intersect with the inside bank. This is better explained if you see the attached image. In the plan view you see 4 featurelines. Outside TOE, outside TOB, inside TOB then inside TOE. I need to project the outside TOE across the berm (shown in the section view) then create a new featureline where the line and inside slope of the berm intersect. Note that all the elevation shots vary as does the widths across the berm. What's the best way to do this?
Is it possible to pin a label to another label ? Or pin a label to an object so that when the first label (or object) is moved, the other moves with it ?
I often have to do storm pond surfaces that (for the purposes of planning) are flat on the bottom. These surfaces are created from a combination of survey data and grading groups and the tin of these surfaces is perfectably acceptable. However, when contours are shown, the flat bottom is shown with contours jig-jagging all over the place.
The attached image shows a comparison of the same pond. The top was created with survey data and grading groups; the bottom was created using contour data only. The generated surface on the top shows the bottom contour going in different directions and has parts where the an expected contour is missing.
How to correct/manipulate the surface to show a proper flat surface?
Has instances where you set your tolerance for the maximum triangle lenth to say 50m to reduce the amount of triangles along the edge that run at long distances. When I do this I end up with multiple surface holes and I'm not sure why as there are points in the area.
I thought well maybe it's because i should've reduced my max triangles first then added breaklines. Would this matter? I also thought I could add a line to the surface to fix the holes vs. deleting surface lines along the entire edge of a surface for many many miles.