Library | File

File "wfcSession.h"

Description

Similar to its predecessor J-Link, Object Toolkit top level object is a session, which provides methods to get objects representing Creo Parametric models, model items, parameters and so on.

Since Object Toolkit has more functional features than J-Link, its actual Session object, returned by pfcGetProESession, is of type wfcWSession.

Interface wfcWSession combines methods from pfcSession and methods which are available only in Object Toolkit. Besides, methods for obtaining models now return Object Toolkit classes instead of J-Link.

As pfcGetProESession is shared by both Object Toolkit and J-Link, it declares the type of the returned session as pfcSession. To obtain wfcWSession, this object should be cast to that type:

    wfcWSession_ptr ses = wfcWSession::cast(pfcGetProESession() );
    



Enumerated Types
enumwfcIntfDataSourceType
Provides the type of IntfDataSource.
enumwfcWModelRetrieveOption
Provides options to retrieve model.
enumwfcKnownDirectoryType
 
enumwfcCreoType
 
enumwfcKinDragType
 


Interface Classes
classwfcBeforeModelRetrieveActionListener
This class delgates the event before activating file open dialog using File -> Open.
classwfcBeforeModelRetrieveInstructions
This is a COMPACT class.
This class specifies the instructions for action listener wfcBeforeModelRetrieveActionListener.
classwfcBeforeModelRetrieveListener
 
classwfcBeforeModelSaveAllListener
 
classwfcBrowserMessageListener
 
classwfcElementWstringOption
This is a COMPACT class.
 
classwfcFiletypeOpenOptions
This is a COMPACT class.
This class specifies the options for file open dialog.
classwfcFiletypeSaveOptions
This is a COMPACT class.
This class specifies the options for file save dialog.
classwfcLineStyleData
This is a COMPACT class.
Provides the information about the Line Style.
classwfcParsedFileNameData
This is a COMPACT class.
 
classwfcRunnableAction
 
classwfcSnapshotTransformation
This is a COMPACT class.
 
classwfcTimer
 
classwfcTimerAction
 
classwfcTimeValue
This is a COMPACT class.
 
classwfcWBaseSession
 
classwfcWSession
Top interface in Object Toolkit.


Collection Classes
classwfcSnapshotTransformations
This is a COMPACT class.
 
classwfcWModelRetrieveOptions
This is a COMPACT class.
 


Functions
pfcMatrix3D_ptrwfcCreateMatrix3D (xreal idx00, xreal idx01, xreal idx02, xreal idx03, xreal idx10, xreal idx11, xreal idx12, xreal idx13, xreal idx20, xreal idx21, xreal idx22, xreal idx23, xreal idx30, xreal idx31, xreal idx32, xreal idx33)
Intialize a 3 dimensional Matrix with specified values
pfcOutline2D_ptrwfcCreateOutline2D (xreal idx00, xreal idx01, xreal idx10, xreal idx11)
Intialize a 2 dimensional Line with specified values
pfcOutline3D_ptrwfcCreateOutline3D (xreal idx00, xreal idx01, xreal idx02, xreal idx10, xreal idx11, xreal idx12)
Intialize a 3 dimensional Line with specified values
pfcPoint2D_ptrwfcCreatePoint2D (xreal idx0, xreal idx1)
Intialize a 2 dimensional Point with specified values
pfcPoint3D_ptrwfcCreatePoint3D (xreal idx0, xreal idx1, xreal idx2)
Intialize a 3 dimensional Point with specified values
wfcTimer_ptrwfcCreateTimer (wfcTimerAction_ptr Action)
Create timer object with specified listener. This method can be called from non-Toolkit thread. For example , Thread created by application to process non-Creo tasks.
pfcVector2D_ptrwfcCreateVector2D (xreal idx0, xreal idx1)
Intialize a 2 dimensional Vector with specified values
pfcVector3D_ptrwfcCreateVector3D (xreal idx0, xreal idx1, xreal idx2)
Intialize a 3 dimensional Vector with specified values
voidwfcInvokeLater (wfcRunnableAction_ptr Action)
Create listener object whose callback can be called as soon as Toolkit thread is available. User can call Object Toolkit methods in this callback. This method can be called from non-Toolkit thread. For example , Thread created by application to process non-Creo tasks.