Role: When a PartDocument object is created, a Part object is also created. This Part object is the root object of the Part structure.
A reference Product object is also created in each PartDocument. It is used to access Publications, PartNumber.
- See also:
- ,
Properties
- Property Part() As (Read Only)
-
Returns the root Part object from the current part document.
- Example:
- The following example retrieves in RootPart the root Part
object of the active document, assumed to be a part document:
Set RootPart = CATIA.ActiveDocument.Part
- Property Product() As (Read Only)
-
Returns the root Product object from the current part document.
- Example:
- The following example retrieves in RootProd the root Product
object of the active document, assumed to be a part document:
Set RootProd = CATIA.ActiveDocument.Part