pycatia.cat_sch_platform_interfaces.sch_workbench¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.cat_sch_platform_interfaces.sch_workbench.SchWorkbench(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectInfInterfaces.WorkbenchSchWorkbenchRepresents a workbench on a schematic document.Role:A workbench is a set of commands that can be used to create, modify andedit the objects making up the document.See also:Document- find_interface(i_interface_name: str, i_object: AnyObject) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func FindInterface(CATBSTR iInterfaceName,CATBaseDispatch iObject) As CATBaseDispatchThis method returns an interface handle to an object.Parameters:iInterfaceNameinterface name to search for (“CATIAxxxx”)iObjectThe object to search for the required interface.oInterfaceFoundinterface handle foundExample:The following example retrieves a CATIAInterfaceNameToFind handle totheCATIAxxxx_iObject in interfaceFound using the Schematics workbenchobjectschWorkbench.Dim interfaceFound As AnyObjectSet interfaceFound = CATIASchWorkbench.FindInterface(“InterfaceNameToFind”,CATIAProduct_iObject)