All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

SchematicExtension (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---SchematicExtension
 


Manage schematic extensions.

Method Index

AddExtension
Adds a Schematic extension to an application object.
RemoveExtension
Removes a Schematic extension to an application object.

Methods


o Sub AddExtension(CATIABase iAppObjToBeExtended,
CatSchIDLExtensionType iExtensionType,
CATIASchListOfObjects 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
 
o Sub RemoveExtension(CATIABase 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
 

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