All Frameworks  Object Hierarchy  This Framework  Indexes   

FunctionalObjects (Collection)

Interface to access a collection of FunctionalObjects.

Method Index

CreateProxy
Creates a FunctionalObjectProxi.
Create
Creates a FunctionalObject.
Delete
Deletes a FunctionalObject.
Elem
Returns an action using its index or its name from the actions collection.

Methods


o Func CreateProxy( iName,
iDesc) As
Creates a FunctionalObjectProxi.
o Func Create( iName) As
Creates a FunctionalObject.
o Sub Delete( iObject)
Deletes a FunctionalObject.
o Func Elem( iIndex) As
Returns an action using its index or its name from the actions collection.
Parameters:
iIndex
The index or the name of the action to retrieve from the collection of actions. As a numerics, this index is the rank of the action in the collection. The index of the first action in the collection is 1, and the index of the last action is Count. As a string, it is the name you assigned to the action using the
AnyObject.Name property.
Returns:
The retrieved action
Example:
This example retrieves in Obj1 the fifth object in the collection and in Obj2 the action named Valve.
 Dim Obj1 As FunctionalObject
 Set Obj1 = Desc.Object(5)
 Dim Obj2 As FunctionalObject
 Set Obj2 = Desc.Object("Valve")
 

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