pycatia.product_structure_interfaces.product_document

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.product_structure_interfaces.product_document.ProductDocument(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
InfInterfaces.Document
ProductDocument

Represents the Document object for product structures.
When a ProductDocument is created, a root product is created whose parent is
the ProductDocument object. Its default name is RootProduct, which can be
overwritten thanks to the the AnyObject.Name property. This root product is at
the top of the product tree structure contained in the document. It has no
difference with the other contained products, except it has no father product
in the product tree structure within the document.
property product: Product

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Product() As Product (Read Only)

Returns the root product.

Example:

This example retrieves the root product of the
MyProductDoc
ProductDocument in RootProduct.


Dim RootProduct As Product
Set RootProduct = MyProductDoc.Product
Return type:

Product