ProfileView Class

Manages the graphic display of profile data objects within a drawing. A ProfileView is used to display one or more profiles for a horizontal alignment. You can configure data bands and profile annotations in a ProfileView to make it clearer or more informative for the user.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      RXObject
        Drawable
          DBObject
            Entity
              Curve
                Entity
                  Autodesk.Civil.DatabaseServicesEntity
                    Autodesk.Civil.DatabaseServicesGeoEntity
                      Autodesk.Civil.DatabaseServicesGraph
                        Autodesk.Civil.DatabaseServicesProfileView

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class ProfileView : Graph

The ProfileView type exposes the following members.

Properties
 NameDescription
Public propertyAlignmentId Gets the object id of the alignment from which the profile view was created.
Public propertyAlignmentName Gets the name of the alignment from which the profile view was created.
Public propertyApplication Gets the Application. Not currently implemented.
(Inherited from Entity)
Public propertyBands Gets the collection of the data band sets for the profile view.
Public propertyDescription Gets or sets the Entity object's description.
(Inherited from Entity)
Public propertyDisplayName Gets the Entity object's display name.
(Inherited from Entity)
Public propertyDocument Gets the Document. Not currently implemented.
(Inherited from Entity)
Public propertyElevationMax Gets or sets the maximum elevation of the profile view.
Public propertyElevationMin Gets or sets the minimum elevation of the profile view.
Public propertyElevationRangeMode Gets or sets how to specify the vertical range of the profile view.
Public propertyFingerPrint Gets or sets FingerPrint of the Entity.
(Inherited from Entity)
Public propertyFolderId Gets the folder ObjectId of the Entity Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity)
Public propertyGraphOverrides Gets the collection of the profiles that belong to the alignment.
Public propertyCode exampleHatchAreas Gets the collection of ProfileHatchArea objects in the profile view. Hatch areas are used to highlight cut and fill regions.
Public propertyIsCWSReferenceObject Gets whether the Entity is a Civil Worksharing reference object. A Civil Worksharing reference object is a Civil object shared to Shared Space. It is not editable. But it can be updated to the new version in the Shared Space.
(Inherited from Entity)
Public propertyIsCWSSourceObject Gets whether the Entity is a Civil Worksharing source object. A Civil Worksharing source object is a Civil object shared to Shared Space. It is editable and can be updated to Shared Space.
(Inherited from Entity)
Public propertyIsPartialReferenceObject Gets whether the surface is partial reference surface.
(Inherited from Entity)
Public propertyIsReadOnlyReferenceObject Gets whether the Entity is a readonly reference object. A readonly reference object is either a data shortcut referece object or a Civil Worksharing reference object.
(Inherited from Entity)
Public propertyCode exampleIsReferencedSourceExisting For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing. This indicates whether the reference object has source entity.
(Inherited from Entity)
Public propertyIsReferenceObject Gets whether the Entity is a reference object. A reference object is located in another drawing, and linked using a data shortcut or Vault. If the entity is native to the current drawing this property returns false; if it is being referenced via data shortcuts or AutoCAD Vault it returns true.
(Inherited from Entity)
Public propertyIsReferenceStale For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity)
Public propertyIsReferenceSubObject For reference objects (IsReferenceObject == true), gets whether the Entity is a reference subobject. For example, when iterating through the structure of a pipe network referenced from another drawing, this property is true for each entity.
(Inherited from Entity)
Public propertyIsReferenceValid For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity)
Public propertyIsUsed Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity)
Public propertyLocation Gets or sets the location of the graph.
(Inherited from Graph)
Public propertyName Gets or sets the Entity object's name.
(Inherited from Entity)
Public propertyPipeOverrides Gets the collection of the pipes projected to the profile view.
Public propertyShowToolTip Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity)
Public propertySplitDataLines Gets the collection of split data lines.
Public propertySplitDatumRounding Gets or sets where to round the vertical split location.
Public propertySplitHeight Gets or sets the elevation range for splitting the profile view.
Public propertySplitProfileView Gets or sets whether to split the profile view to multiple segments.
Public propertySplitStationMode Gets or sets the mode to split the profile view.
Public propertySplitStationRounding Gets or sets where to round the horizontal split location.
Public propertyStationEnd Gets or sets the end station of the profile view.
Public propertyStationRangeMode Gets or sets how to specify the horizontal range of the profile view.
Public propertyStationStart Gets or sets the start station of the profile view.
Public propertyStructureOverrides Gets the collection of the structures projected to the profile view.
Public propertyStyleId Sets the ProfileView's style by ObjectId.
(Overrides EntityStyleId)
Public propertyStyleName Sets the ProfileView's style by name.
(Overrides EntityStyleName)
Top
Methods
 NameDescription
Public methodComputeFingerPrint Compute FingerPrint of the Entity.
(Inherited from Entity)
Public methodStatic memberCode exampleCreate(ObjectId, Point3d) Creates a ProfileView from the specified alignment with the default ProfileView name and BandSetStyle.
Public methodStatic memberCode exampleCreate(ObjectId, Point3d, SplitProfileViewCreationOptions) Creates a split ProfileView from the specified alignment with the default ProfileView name and BandSetStyle.
Public methodStatic memberCode exampleCreate(ObjectId, Point3d, StackedProfileViewsCreationOptions) Creates stacked ProfileViews from the specified alignment with the default ProfileView name and BandSetStyle.
Public methodStatic memberCode exampleCreate(ObjectId, Point3d, StackedProfileViewsCreationOptions, SplitProfileViewCreationOptions) Creates stacked split ProfileViews from the specified alignment with the default ProfileView name and BandSetStyle.
Public methodStatic memberCode exampleCreate(CivilDocument, String, ObjectId, ObjectId, Point3d)Obsolete.
Creates a profile view from the specified alignment.
Public methodStatic memberCode exampleCreate(CivilDocument, String, String, String, Point3d)Obsolete.
Creates a profile view from the specified alignment.
Public methodStatic memberCode exampleCreate(ObjectId, Point3d, String, ObjectId, ObjectId) Creates a ProfileView from the specified alignment.
Public methodStatic memberCode exampleCreate(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions) Creates stacked ProfileViews from the specified alignment.
Public methodStatic memberCode exampleCreate(ObjectId, Point3d, String, ObjectId, ObjectId, SplitProfileViewCreationOptions) Creates a split ProfileView from the specified alignment.
Public methodStatic memberCode exampleCreate(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions, SplitProfileViewCreationOptions) Creates stacked split ProfileViews from the specified alignment.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, MultipleProfileViewsCreationOptions) Creates multiple ProfileViews from the alignment with the default ProfileViewStyle and ProfileViewBandSet.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions) Creates multiple stacked ProfileViews for an alignment with the default ProfileViewBandSet.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType) Creates multiple split ProfileViews from the alignment with the default ProfileViewStyle and ProfileViewBandSet.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType) Creates multiple stacked split ProfileViews for an alignment with the default ProfileViewBandSet.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, String, ObjectId, ObjectId, MultipleProfileViewsCreationOptions) Creates multiple ProfileViews from the alignment with the specified ProfileViewStyle and ProfileViewBandSet.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions) Creates multiple stacked ProfileViews for an alignment.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, String, ObjectId, ObjectId, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType) Creates multiple split ProfileViews from an alignment with the specified ProfileViewStyle and ProfileViewBandSet.
Public methodStatic memberCode exampleCreateMultiple(ObjectId, Point3d, String, ObjectId, StackedProfileViewsCreationOptions, MultipleProfileViewsCreationOptions, SplitProfileViewCreationOptions, ProfileViewDatumType) Creates multiple stacked split ProfileViews for an alignment.
Public methodFindStationAndElevationAtXY Finds the station and elevation values at the given X,Y coordinate.
Public methodFindXYAtStationAndElevation Finds the X,Y coordinate for the given station and elevation.
Public methodGetAvailablePipeProfileLabelIds Gets an ObjectIdCollection of the PipeProfileLabels.
Public methodGetAvailableSpanningPipeProfileLabelIds Gets an ObjectIdCollection of the SpanningPipeProfileLabels.
Public methodGetAvailableStructureProfileLabelIds Gets an ObjectIdCollection of the StructureProfileLabels.
Public methodGetLabelIdsObsolete.
Gets the ObjectIdCollection of the ProfileView's labels.
Public methodGetPressureNetworkPartsInGraph Gets an ObjectIdCollection of the PressureNetworkParts in graph.
Public methodGetProfileViewLabelIds Gets an ObjectIdCollection of the ProfileView's labels.
Public methodCode exampleGetReferenceInfo For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity)
Top
Extension Methods
 NameDescription
Public Extension MethodGetPressureAppurtenanceOverrides Gets the override data collection of the appurtenances projected in the profile view.
(Defined by ProfileViewPressurePipesExtension)
Public Extension MethodGetPressureFittingOverrides Gets the override data collection of the fittings projected in the profile view.
(Defined by ProfileViewPressurePipesExtension)
Public Extension MethodGetPressurePipeOverrides Gets the override data collection of the pressure pipes projected in the profile view.
(Defined by ProfileViewPressurePipesExtension)
Top
See Also