Role:A workbench is a set of commands that can be used to create, modify and edit the objects making up the document.
- See also:
Methods
- Func FindInterface( iInterfaceName, iObject) As
-
This method returns an interface handle to an object.
- Parameters:
-
- iInterfaceName
- interface name to search for ("CATIAxxxx") dd>
- iObject
- The object to search for the required interface. dd>
- oInterfaceFound
- interface handle found dd>
- Example:
-
The following example retrieves a
CATIAInterfaceNameToFindhandle to theCATIAxxxx_iObjectininterfaceFoundusing the Schematics workbench objectschWorkbench.Dim interfaceFound As AnyObject Set interfaceFound = CATIASchWorkbench.FindInterface("InterfaceNameToFind",CATIAProduct_iObject)