pycatia.ppr_interfaces.ppr_document¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
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.ppr_interfaces.ppr_document.PPRDocument(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.DocumentPPRDocumentThis interface is used to access Processes, Products andResources.Due to the inherent design restrictions, PPRDocument and another interface ProcessDocument need tobe used with care, since the ActiveDocument could be either ProcessDocument or PPRDocument. With thatin mind, a good practice of writing more robust VB script is to first tell the real type of document(interface).E.g. The following sentenceDim MyDoc As PPRDocumentSet MyDoc = DELMIA.ActiveDocument.PPRDocumentcould be replaced by the following:Dim MyDoc As PPRDocumentSet MyProcDoc = DELMIA.ActiveDocumentif (TypeName(MyProcDoc)=”ProcessDocument”)then MyDoc = MyProcDoc.PPRDocumentelse MyDoc = DELMIA.ActiveDocumentend if- property processes: Activities¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Processes() As Activities (Read Only)Retrieves the list of Processes as Activities contained in the currentdocument.Returns:The list of Activities contained in the current document.
- Return type:
- property products: PPRProducts¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Products() As PPRProducts (Read Only)Retrieves the list of Products contained in the currentdocument.Returns:The list of Products contained in the current document.
- Return type:
- property resources: PPRProducts¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Resources() As PPRProducts (Read Only)Retrieves the list of Resources contained in the currentdocument.Returns:The list of Resources contained in the current document.
- Return type: