Part Class

A pipe network part, base class for Pipe and Structure classes.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      RXObject
        Drawable
          DBObject
            Entity
              Curve
                Entity
                  Autodesk.Civil.DatabaseServicesEntity
                    Autodesk.Civil.DatabaseServicesGeoEntity
                      Autodesk.Civil.DatabaseServicesPart
                        Autodesk.Civil.DatabaseServicesPipe
                        Autodesk.Civil.DatabaseServicesStructure

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public abstract class Part : GeoEntity

The Part type exposes the following members.

Properties
 NameDescription
Public propertyApplication Gets the Application. Not currently implemented.
(Inherited from Entity)
Public propertyConnectedPartCount Gets the number of parts that connects to the part
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 propertyDomain Gets the part's domain.
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 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 propertyKnownFlow Gets or sets the the known flow to a network part. This value is used by the Analyze Gravity Network command in addition to any flow resulting from a catchment.
Public propertyMaterial Gets the material defined for this part.
Public propertyName Gets part's name.
(Overrides EntityName)
Public propertyNetworkId Gets the object id of the network to which this part belongs
Public propertyNetworkName Gets the name of the network to which this part belongs
Public propertyOverrideRuleSet Gets or sets whether to use overridden rules.
Public propertyParamsBoolGets the boolean parameters collection.
Public propertyParamsDoubleGets the double parameters collection.
Public propertyParamsLongGets the long parameters collection.
Public propertyParamsStringGets the string parameters collection.
Public propertyPartData Gets or sets the part data record.
Public propertyPartDefId Gets the object id of PartDef.
Public propertyPartDescription Gets the part’s description in content catalog.
Public propertyPartFamilyId Gets the part family Id
Public propertyPartFamilyName Gets the part family name
Public propertyPartSizeName Gets the part size name.
Public propertyPartSubType Gets the part’s subtype.
Public propertyPartTypeGets the type of the network park.
Public propertyPosition Gets or sets the position of the network part.
Public propertyProfileViewPartId Gets the object id of the part's counterpart in profile views.
Public propertyRefAlignmentId Gets or sets the object id of the alignment which this part references.
Public propertyRefAlignmentName Gets the name of the alignment which this part references
Public propertyRefSurfaceId Gets or sets the object id of the surface that this part references.
Public propertyRefSurfaceName Gets the name of the surface which this part references.
Public propertyRuleSetStyleId Gets or sets the object id of RuleSetStyle.
Public propertyRuleSetStyleName Gets or sets RuleSetStyle by name.
Public propertySectionViewPartId Gets the object id of the part's counterpart in section views.
Public propertyShowToolTip Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity)
Public propertySolid3dBody Gets the 3d solid body of the part.
Public propertyStyleId Gets or sets the Entity object's style Id.
(Inherited from Entity)
Public propertyStyleName Gets or sets the Entity object's style name.
(Inherited from Entity)
Public propertySurfaceIdObsolete.
Gets or sets the object id of the surface that this part references.
Public propertyWallThickness Gets the wall thickness for this structure, measured from the inside edge of the structure to the outside edge of the structure.
Top
Methods
 NameDescription
Public methodAddToProfileView Draws the part into the specified profile view.
Public methodAddToSectionView Draws the part into the specified section view.
Public methodApplyRules 
Public methodComputeFingerPrint Compute FingerPrint of the Entity.
(Inherited from Entity)
Public methodGetOverriddenRuleIds Gets the overridden Rule ids which this part contains.
Public methodGetProfileViewsDisplayingMe Gets the object id collection of all the profile views in which this part was drawn.
Public methodCode exampleGetReferenceInfo For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity)
Public methodGetSectionViewsDisplayingMe Gets the object id collection of all the section views in which this part was drawn.
Public methodRemoveFromAllProfileViews Remove the part from all the profile views in which it is drawn.
Public methodRemoveFromAllSectionViews Removes the part from all the section views in which it is drawn.
Public methodRemoveFromProfileView Remove the part from the specified profile view in which it is drawn.
Public methodRemoveFromSectionView Removes the part from the specified section view in which it is drawn.
Public methodSwapPartFamilyAndSize Swaps the part family and size.
Top
See Also