Arrangement Automation Objects

Product Document Object Diagram






















Application Object Diagram





Legend

Collection
Abstract object
Object

right arrow Click arrow to expand chart
Click arrow to return to previous chart

The GetTechnologicalObject method of the Product object allows to retrieve, if it exists, the aggregated ArrangementProduct object. This object aggregates the different collections of arrangement objects.

The GetWorkbench method applied to a ProductDocument object with the "ArrWorkbench" parameter value allows you to retrieve an ArrWorkbench object. This object aggregates the ArrNomenclatureTree object, which in turn aggregates the ArrNomenclatures collection of ArrNomenclature objects.

For example, to retrieve the ArrangementProduct object from the root product, write:

Sub CATMain()

  Dim pro As Product
  Set pro=CATIA.ActiveDocument.Product

  Dim arrPrd As ArrangementProduct
  Set arrPrd=pro.GetTechnologicalObject("ArrangementProduct")

End Sub

For example, to retrieve the ArrWorkbench object in the active Product document, and then to retrieve the ArrNomenclatureTree object, write:

Sub CATMain()

Dim doc As Document
Set doc=CATIA.ActiveDocument

Dim wkb As ArrWorkbench
Set wkb=doc.GetWorkbench("ArrWorkbench")

Dim arr As ArrNomenclatureTree
Set arr=wkb.ArrNomenclatureTree

End Sub

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