Indexes   

SchWorkbench (Object)

Represents a workbench on a schematic document.
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:
Document

Method Index

FindInterface
This method returns an interface handle to an object.

Methods


o Func FindInterface( iInterfaceName,
iObject) As
This method returns an interface handle to an object.
Parameters:
iInterfaceName
interface name to search for ("CATIAxxxx")
iObject
The object to search for the required interface.
oInterfaceFound
interface handle found
Example:
The following example retrieves a CATIAInterfaceNameToFind handle to the CATIAxxxx_iObject in interfaceFound using the Schematics workbench object schWorkbench.
 Dim interfaceFound As AnyObject
 Set interfaceFound = CATIASchWorkbench.FindInterface("InterfaceNameToFind",CATIAProduct_iObject)
 

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