The Part type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddToProfileView |
Draws the part into the specified profile view.
|
![]() | AddToSectionView |
Draws the part into the specified section view.
|
![]() | ApplyRules | |
![]() | ComputeFingerPrint |
Compute FingerPrint of the Entity.
(Inherited from Entity.) |
![]() | GetOverriddenRuleIds |
Gets the overridden Rule ids which this part contains.
|
![]() | GetProfileViewsDisplayingMe |
Gets the object id collection of all the profile views in which this part was drawn.
|
![]() | GetReferenceInfo |
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity.) |
![]() | GetSectionViewsDisplayingMe |
Gets the object id collection of all the section views in which this part was drawn.
|
![]() | RemoveFromAllProfileViews |
Remove the part from all the profile views in which it is drawn.
|
![]() | RemoveFromAllSectionViews |
Removes the part from all the section views in which it is drawn.
|
![]() | RemoveFromProfileView |
Remove the part from the specified profile view in which it is drawn.
|
![]() | RemoveFromSectionView |
Removes the part from the specified section view in which it is drawn.
|
![]() | SwapPartFamilyAndSize |
Swaps the part family and size.
|
Properties
Name | Description | |
---|---|---|
![]() | Application |
Gets the Application. Not currently implemented.
(Inherited from Entity.) |
![]() | ConnectedPartCount |
Gets the number of parts that connects to the part
|
![]() | Description |
Gets or sets the Entity object's description.
(Inherited from Entity.) |
![]() | DisplayName |
Gets the Entity object's display name.
(Inherited from Entity.) |
![]() | Document |
Gets the Document. Not currently implemented.
(Inherited from Entity.) |
![]() | Domain |
Gets the part's domain.
|
![]() | FingerPrint |
Gets or sets FingerPrint of the Entity.
(Inherited from Entity.) |
![]() | FolderId |
Gets the folder ObjectId of the Entity
Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity.) |
![]() | IsReferencedSourceExisting |
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.) |
![]() | IsReferenceObject |
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.) |
![]() | IsReferenceStale |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity.) |
![]() | IsReferenceSubObject |
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.) |
![]() | IsReferenceValid |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity.) |
![]() | IsUsed |
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity.) |
![]() | Material |
Gets the material defined for this part.
|
![]() | Name |
Gets part's name.
(Overrides Entity..::..Name.) |
![]() | NetworkId |
Gets the object id of the network to which this part belongs
|
![]() | NetworkName |
Gets the name of the network to which this part belongs
|
![]() | OverrideRuleSet |
Gets or sets whether to use overridden rules.
|
![]() | ParamsBool | Gets the boolean parameters collection. |
![]() | ParamsDouble | Gets the double parameters collection. |
![]() | ParamsLong | Gets the long parameters collection. |
![]() | ParamsString | Gets the string parameters collection. |
![]() | PartData |
Gets or sets the part data record.
|
![]() | PartDefId |
Gets the object id of PartDef.
|
![]() | PartDescription |
Gets the part’s description.
|
![]() | PartFamilyId |
Gets the part family Id
|
![]() | PartFamilyName |
Gets the part family name
|
![]() | PartSizeName |
Gets the part size name.
|
![]() | PartSubType |
Gets the part’s subtype.
|
![]() | PartType | Gets the type of the network park. |
![]() | Position |
Gets or sets the position of the network part.
|
![]() | ProfileViewPartId |
Gets the object id of the part's counterpart in profile views.
|
![]() | RefAlignmentId |
Gets or sets the object id of the alignment which this part references.
|
![]() | RefAlignmentName |
Gets the name of the alignment which this part references
|
![]() | RefSurfaceId |
Gets or sets the object id of the surface that this part references.
|
![]() | RefSurfaceName |
Gets the name of the surface which this part references.
|
![]() | RuleSetStyleId |
Gets or sets the object id of RuleSetStyle.
|
![]() | RuleSetStyleName |
Gets or sets RuleSetStyle by name.
|
![]() | SectionViewPartId |
Gets the object id of the part's counterpart in section views.
|
![]() | ShowToolTip |
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity.) |
![]() | Solid3dBody |
Gets the 3d solid body of the part.
|
![]() | StyleId |
Gets or sets the Entity object's style Id.
(Inherited from Entity.) |
![]() | StyleName |
Gets or sets the Entity object's style name.
(Inherited from Entity.) |
![]() | SurfaceId | Obsolete.
Gets or sets the object id of the surface that this part references.
|
![]() | WallThickness |
Gets the wall thickness for this structure, measured from the inside edge of the structure to the outside edge of the structure.
|