All Frameworks  Object Hierarchy  This Framework  Indexes   

SchAppObjectFactory2 (Object)

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.
AppCreateRouteFromRef
Create an Application Route object with a specific reference.
AppCreateRouteWithInfo
Create an Application Route object with application information.
AppCreateRoute
Create an Application Route object.
AppCreateZone
Create an Application Zone object.

Methods


o Sub AppCreateCompRef( iAppCompClassType,
iDoc,
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( iAppCntnClassType,
iDoc,
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( iAppGroupClassType,
iDoc,
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 AppCreateRouteFromRef( iRouteReference,
iDoc,
iLogLineID,
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( iAppRouteClassType,
iAppInfo,
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 AppCreateRoute( iAppRouteClassType,
iDoc,
iLogLineID,
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 AppCreateZone( iAppZoneClassType,
iDoc,
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.