Profile Views
Components for reading Civil 3D profile views, extracting their properties, and retrieving the profile views associated with an alignment.
Civil3d ProfileView
Civil3d › ProfileViews · Introduced v1.0.19
Extracts information from a Civil 3D profile view. It returns the view's properties, the profiles displayed in it, the parent alignment, the top and bottom bands, the label groups and the view's drawing geometry converted to Rhino. The geometry output is a tree split into grid/graph curves, text and profile curves on separate branches.
Inputs
ProfileViewCivil3d Profile ViewA Civil3d ProfileView
Outputs
The Id of the ProfileView.
PropertiesCivil3d ProfileView PropertiesProfileView properties (use ProfileView Properties component to extract values).
ProfilesCivil3d ProfileThe profiles displayed in this ProfileView.
AlignmentCivil3d AlignmentThe parent alignment of this ProfileView.
BandsCivil3d ProfileView BandThe bands (top and bottom) of this ProfileView.
Label GroupsCivil3d Feature LabelThe label groups in this ProfileView.
GeometryGeometryThe geometry on the view converted to Rhino
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The profile view could not be matched to an open drawing. Make sure the source drawing is still open in AutoCAD. |
| Error | Failed to read ProfileView | The referenced object could not be read as a profile view. Confirm the input still points to a valid profile view. |
See also
Get ProfileViews, Civil3d ProfileView Properties, Civil3d Profile
Civil3d ProfileView Properties
Civil3d › ProfileViews · Introduced v1.0.19
Reads the individual values held in a profile view's properties: name, description, insertion plane, station and elevation ranges, horizontal/vertical scales, vertical exaggeration and style. The Name and Description inputs are optional; supply them to rename or re-describe the profile view in the drawing, otherwise the existing values are passed straight through.
Inputs
PropertiesCivil3d ProfileView PropertiesProfileView properties from a Civil3d ProfileView
NameTextoptionalThe name of the profile view. When set this will update the name of the profile view.
DescriptionTextoptionalThe description of the profile view. When set this will update the description of the profile view.
Outputs
NameTextThe name of the ProfileView.
DescriptionTextThe description of the ProfileView.
PlanePlaneThe insertion Plane of the ProfileView.
Station RangeDomainThe station range (start to end) displayed.
Elevation RangeDomainThe elevation range (min to max) displayed.
Horizontal ScaleNumberThe horizontal scale of the ProfileView.
Vertical ScaleNumberThe vertical scale of the ProfileView.
Vertical ExaggerationNumberThe vertical exaggeration factor of the ProfileView.
StyleNamed IdThe style applied to this profile view as a NamedId.
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The profile view could not be matched to an open drawing. Make sure the source drawing is still open in AutoCAD. |
See also
Get ProfileViews
Civil3d › ProfileViews · Introduced v1.0.19
Gets all profile views associated with a Civil 3D alignment. Connect an alignment and feed the resulting profile views into the Civil3d ProfileView component to extract their details.
Inputs
AlignmentCivil3d AlignmentA Civil3d Alignment to get ProfileViews from
Outputs
ProfileViewsCivil3d Profile ViewThe ProfileViews associated with this Alignment.
Menu & behaviour
- Recomputes automatically when relevant objects are added, modified, or erased in the AutoCAD/Civil document.
Exceptions
| Level | Message | Cause & fix |
|---|---|---|
| Error | No document available | The alignment could not be matched to an open drawing. Make sure the source drawing is still open in AutoCAD. |
| Warning | No ProfileViews found for this alignment | The alignment has no profile views. Create profile views for the alignment in Civil 3D. |