All Frameworks  Object Hierarchy  This Framework  Indexes   

PPRDocument (Object)

This interface is used to access Processes, Products and Resources.
Due to the inherent design restrictions, PPRDocument and another interface ProcessDocument need to be used with care, since the ActiveDocument could be either ProcessDocument or PPRDocument. With that in mind, a good practice of writing more robust VB script is to first tell the real type of document (interface). E.g. The following sentence Dim MyDoc As PPRDocument Set MyDoc = DELMIA.ActiveDocument.PPRDocument could be replaced by the following: Dim MyDoc As PPRDocument Set MyProcDoc = DELMIA.ActiveDocument if (TypeName(MyProcDoc)="ProcessDocument") then MyDoc = MyProcDoc.PPRDocument else MyDoc = DELMIA.ActiveDocument end if

Property Index

Processes
Retrieves the list of Processes as Activities contained in the current document.
Products
Retrieves the list of Products contained in the current document.
Resources
Retrieves the list of Resources contained in the current document.

Properties


o Property Processes() As (Read Only)
Retrieves the list of Processes as Activities contained in the current document.
Returns:
The list of Activities contained in the current document.
o Property Products() As (Read Only)
Retrieves the list of Products contained in the current document.
Returns:
The list of Products contained in the current document.
o Property Resources() As (Read Only)
Retrieves the list of Resources contained in the current document.
Returns:
The list of Resources contained in the current document.

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