The Part type exposes the following members.

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 methodGetReferenceInfo
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.

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 propertyIsReferencedSourceExisting
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 propertyMaterial
Gets the material defined for this part.
Public propertyName
Gets part's name.
(Overrides Entity..::..Name.)
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 propertyParamsBool
Gets the boolean parameters collection.
Public propertyParamsDouble
Gets the double parameters collection.
Public propertyParamsLong
Gets the long parameters collection.
Public propertyParamsString
Gets 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.
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 propertyPartType
Gets 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 propertySurfaceId Obsolete.
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.

See Also