All Frameworks Object Hierarchy This Framework Previous Next Indexes
IUnknown
|
+---IDispatch
|
+---CATBaseUnknown
|
+---CATBaseDispatch
|
+---Collection
|
+---FunctScripts
It is managed on a Functional Element, thru the GenerativeKnowledge Facet Manager (GKW).
| o Func Create( | CATBSTR | iName) As CATIAFunctScript |
| o Sub Delete( | CATIAFunctScript | iScript) |
| o Func Elem( | CATVariant | iIndex) As CATIAFunctScript |
Dim FunctElem As FunctionalObject
Set FunctElem = FunctDoc.CurrentDescription.Objects.Elem("Valve")
Dim FacetGKW As FunctionalGenScriptMgr
Set FacetGKW = FunctElem.GetFacetByName("GKW")
Dim Assoc1 As FunctScript
Set Assoc1 = FacetGKW.Scripts.Elem(5)
Dim Assoc2 As FunctScript
Set Assoc2 = FacetGKW.Scripts.Elem("Producing the Skeleton 2D")
Copyright © 2003, Dassault Systèmes. All rights reserved.