Labels
Components for reading properties from Civil 3D alignment and profile labels and breaking them down into their underlying drawing geometry.
Civil3d Alignment Label
Civil3d › Labels · Introduced v1.1.19
Extracts values from any Civil 3D alignment label, regardless of its specific type (Curve, Spiral, Tangent, PI, IndexedPI). Use it to read a label's position and style and to pull the underlying drawing geometry out of the label for reuse in Rhino. The label is exploded and any nested blocks are broken down so you get the raw curves and text that make up the label.
Inputs
LabelCivil3d Feature LabelAn alignment label
Outputs
LocationPointThe location of the label.
Style NameTextThe label style name.
Label TypeTextThe specific type of alignment label.
Geometric EntitiesGeometryThe geometric entities extracted from the label
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The label could not be matched to an open drawing. Make sure the source drawing is still open in AutoCAD. |
See also
Civil3d Alignment Label, Civil3d Alignment Label Group
Civil3d Alignment Label Group
Civil3d › Labels · Introduced v1.1.19
Extracts the common properties of a Civil 3D alignment label group and breaks the group down into its individual labels' geometry. It works with all alignment label group types (Station, Cant, DesignSpeed, GeometryPoint, StationEquation, Superelevation, VerticalGeometryPoint). The geometry output is returned as a tree with one branch per label in the group, so you can tell each label's drawing entities apart.
Inputs
Label GroupCivil3d Alignment Label GroupAn alignment label group from a Civil3d Alignment
Outputs
Label Group TypeTextThe type of this label group (e.g., AlignmentStationLabelGroup).
Style NameTextThe name of the label style applied to this group.
Label CountIntegerThe number of sub-entity labels in this group.
Range StartNumberThe start station of the label range.
Range EndNumberThe end station of the label range.
Range Start From FeatureBooleanWhether the start of the range is derived from the alignment feature.
Range End From FeatureBooleanWhether the end of the range is derived from the alignment feature.
Is VisibleBooleanThe visibility state of the label group.
Geometric EntitiesGeometryThe geometric entities in the label group, organized by label (one branch per label)
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The label group could not be matched to an open drawing. Make sure the source drawing is still open in AutoCAD. |
See also
Civil3d Alignment Label, Civil3d Profile Label Group
Civil3d Profile Label Group
Civil3d › Labels · Introduced v1.0.19
Extracts the common properties of a Civil 3D profile label group and breaks the group down into its individual labels' geometry. The geometry output is returned as a tree with one branch per label in the group, so you can tell each label's drawing entities apart.
Inputs
Label GroupCivil3d Profile Label GroupA profile label group from a Civil3d Profile
Outputs
Label Group TypeTextThe type of this label group (e.g., ProfileLabelGroup).
Style NameTextThe name of the label style applied to this group.
Label CountIntegerThe number of sub-entity labels in this group.
Range StartNumberThe start station of the label range.
Range EndNumberThe end station of the label range.
Range Start From FeatureBooleanWhether the start of the range is derived from the profile feature.
Range End From FeatureBooleanWhether the end of the range is derived from the profile feature.
Is VisibleBooleanThe visibility state of the label group.
Geometric EntitiesGeometryThe geometric entities in the label group, organized by label (one branch per label)
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The label group could not be matched to an open drawing. Make sure the source drawing is still open in AutoCAD. |