< Civ API Docs

Part Methods

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.
Obsolete
Public methodApplyRules Applies rules.
Public methodComputeFingerPrint Compute FingerPrint of the Entity.
(Inherited from Entity)
Public methodGetOverriddenRuleIds Gets the overridden Rule ids which this part contains.
Public methodGetPartSizeId Gets ObjectId of the PartSize that is used to create this part.
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.
Obsolete
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.
Obsolete
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.
Obsolete
Public methodSwapPartFamilyAndSize Swaps the part family and size.
Top
See Also