All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---Collection
|
+---FunctAssociations
It is managed on a Functional Element, thru the MultiRep Facet Manager (MRM).
| o Func Create( | CATBSTR | iName) As CATIAFunctAssociation |
| o Sub Delete( | CATIAFunctAssociation | iAssociation) |
| o Func Elem( | CATVariant | iIndex) As CATIAFunctAssociation |
Dim FunctElem As FunctionalObject
Set FunctElem = FunctDoc.CurrentDescription.Objects.Elem("Valve")
Dim FacetMRM As FunctionalMultiRepMgr
Set FacetMRM = FunctElem.GetFacetByName("MRM")
Dim Assoc1 As FunctAssociation
Set Assoc1 = FacetMRM.Associations.Elem(5)
Dim Assoc2 As FunctAssociation
Set Assoc2 = FacetMRM.Associations.Elem("Skeleton 2D")
Copyright © 2003, Dassault Systèmes. All rights reserved.