All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

SchAppObjectFactory2 (Object)

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


Application factory to create application objects.

Method Index

AppCreateCompRef
Create an Application Component reference.
AppCreateConnection
Create an Application Connection object.
AppCreateGroup
Create an Application Group object.
AppCreateRoute
Create an Application Route object.
AppCreateRouteFromRef
Create an Application Route object with a specific reference.
AppCreateRouteWithInfo
Create an Application Route object with application information.
AppCreateZone
Create an Application Zone object.

Methods


o Sub AppCreateCompRef(CATBSTR iAppCompClassType,
CATIADocument iDoc,
CATIABase oAppComp)
Create an Application Component reference.
Parameters:
iAppCompClassType
Class type of the Application Component reference.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppComp
The new Application Component object created (CATISchAppComponent interface pointer).
Example:
 Dim objThisIntf As SchAppObjectFactory2
 Dim strVar1 As String
 Dim objArg2 As Document
 Dim objArg3 As AnyObject
  ...
 objThisIntf.AppCreateCompRefstrVar1,objArg2,objArg3
 
o Sub AppCreateConnection(CATBSTR iAppCntnClassType,
CATIADocument iDoc,
CATIABase oAppConnection)
Create an Application Connection object.
Parameters:
iAppCntnClassType
Class type of the Application Connection object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppConnection
The new Application Connection object created (CATISchAppConnection interface pointer).
Example:
 Dim objThisIntf As SchAppObjectFactory2
 Dim strVar1 As String
 Dim objArg2 As Document
 Dim objArg3 As AnyObject
  ...
 objThisIntf.AppCreateConnectionstrVar1,objArg2,objArg3
 
o Sub AppCreateGroup(CATBSTR iAppGroupClassType,
CATIADocument iDoc,
CATIABase oAppGroup)
Create an Application Group object.
Parameters:
iAppGroupClassType
Class type of the Application Group object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppGroup
The new Application Group object created (CATISchAppGroup interface pointer).
Example:
 Dim objThisIntf As SchAppObjectFactory2
 Dim strVar1 As String
 Dim objArg2 As Document
 Dim objArg3 As AnyObject
  ...
 objThisIntf.AppCreateGroupstrVar1,objArg2,objArg3
 
o Sub AppCreateRoute(CATBSTR iAppRouteClassType,
CATIADocument iDoc,
CATBSTR iLogLineID,
CATIABase oAppRoute)
Create an Application Route object.
Parameters:
iAppRouteClassType
Class type of the Application Route object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
iLogLineID
The logical line ID that will contain the new route. This is an optional input. If could be NULL.
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
Example:
 Dim objThisIntf As SchAppObjectFactory2
 Dim strVar1 As String
 Dim objArg2 As Document
 Dim strVar3 As String
 Dim objArg4 As AnyObject
  ...
 objThisIntf.AppCreateRoutestrVar1,objArg2,strVar3,objArg4
 
o Sub AppCreateRouteFromRef(CATIASchAppRoute iRouteReference,
CATIADocument iDoc,
CATBSTR iLogLineID,
CATIABase oAppRoute)
Create an Application Route object with a specific reference.
Parameters:
iAppRouteRef
Route reference to creaet the output route from
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
iLogLineID
The logical line ID that will contain the new route. This is an optional input. If could be NULL.
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
Example:
 Dim objThisIntf As SchAppObjectFactory2
 Dim objArg1 As SchAppRoute
 Dim objArg2 As Document
 Dim strVar3 As String
 Dim objArg4 As AnyObject
  ...
 objThisIntf.AppCreateRouteFromRefobjArg1,objArg2,strVar3,objArg4
 
o Sub AppCreateRouteWithInfo(CATBSTR iAppRouteClassType,
CATIABase iAppInfo,
CATIABase oAppRoute)
Create an Application Route object with application information.
Parameters:
iAppRouteClassType
Class type of the Application Route object.
iAppInfo
Application data pointer
oAppRoute
The new Application Route object created (CATISchAppRoute interface pointer).
Example:
 Dim objThisIntf As SchAppObjectFactory2
 Dim strVar1 As String
 Dim objArg2 As AnyObject
 Dim objArg3 As AnyObject
  ...
 objThisIntf.AppCreateRouteWithInfostrVar1,objArg2,objArg3
 
o Sub AppCreateZone(CATBSTR iAppZoneClassType,
CATIADocument iDoc,
CATIABase oAppZone)
Create an Application Zone object.
Parameters:
iAppZoneClassType
Class type of the Application Zone object.
iDoc
Pointer to a document to create the object in. If NULL, the document associated with the current Editor will be used.
oAppZone
The new Application Zone object created (CATISchAppZone interface pointer).
Example:
 Dim objThisIntf As SchAppObjectFactory2
 Dim strVar1 As String
 Dim objArg2 As Document
 Dim objArg3 As AnyObject
  ...
 objThisIntf.AppCreateZonestrVar1,objArg2,objArg3
 

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