All Frameworks  Object Hierarchy  This Framework  Indexes   

PartDocument (Object)

Represents the Document object for parts.

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:
Product, Part

Property Index

Part
Returns the root Part object from the current part document.
Product
Returns the root Product object from the current part document.

Properties


o 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
o 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

Copyright © 2003, Dassault Systèmes. All rights reserved.