pycatia.cat_sch_platform_interfaces.schematic_extension

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.schematic_extension.SchematicExtension(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SchematicExtension

Manage schematic extensions.
add_extension(i_app_obj_to_be_extended: AnyObject, i_extension_type: int, i_lgrr: SchListOfObjects) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub AddExtension(AnyObject iAppObjToBeExtended,
CatSchIDLExtensionType iExtensionType,
SchListOfObjects iLGRR)

Adds a Schematic extension to an application object.

Parameters:

iAppObjToBeExtended
The application object to be extended.
iExtensionType
The extension type.
iLGRR
If iLGRR is not NULL, then its members will be linked to the
extension as graphics

Example:

Dim objThisIntf As SchematicExtension
Dim objArg1 As AnyObject

Dim objArg3 As SchListOfObjects
objThisIntf.AddExtensionobjArg1,CatSchIDLExtensionType_Enum,objArg3
Parameters:
  • i_app_obj_to_be_extended (AnyObject) –

  • i_extension_type (int) – enum cat_sch_idl_extension_type

  • i_lgrr (SchListOfObjects) –

Return type:

None

remove_extension(i_app_extended_obj: AnyObject, i_extension_type: int) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub RemoveExtension(AnyObject iAppExtendedObj,
CatSchIDLExtensionType iExtensionType)

Removes a Schematic extension to an application object.

Parameters:

iAppExtendedObj
The application object to be have its extension removed.

iExtensionType
The extension type.

Example:

Dim objThisIntf As SchematicExtension
Dim objArg1 As AnyObject
objThisIntf.RemoveExtensionobjArg1,CatSchIDLExtensionType_Enum
Parameters:
  • i_app_extended_obj (AnyObject) –

  • i_extension_type (int) – enum cat_sch_idl_extension_type

Return type:

None