API Documentation > Files > File wfcSession.h
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 .
Interface combines methods from 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 . To obtain , this object should be cast to that type:

wfcWSession_ptr ses = wfcWSession::cast(pfcGetProESession() );
User Guide References:
Creo Object TOOLKIT C++ Support for Creo:wfcSession, Application Hierarchy:wfcSession, Version Compatibility: Creo ParametricCreo + and Creo Object TOOLKIT C++:wfcSession, Retrieving Creo Datecode:wfcSession, Creo Notification Manager:wfcSession, Creo License Data:wfcSession, File Handling:wfcSession, Registry File Data:wfcSession, Macros:wfcSession, Execution Rules:wfcSession, Initializing Objects:wfcSession, File Dialogs:wfcSession, Adding Items to the Selection Buffer:wfcSession, Drawing Views And Models:wfcSession, Solid:wfcSession, Automatic Propagation of Annotation Elements:wfcSession, Creating Windows:wfcSession, Feature Element Tree:wfcSession, Feature Elements:wfcSession, Allocating a Two-Dimensional Section:wfcSession, Copying the Current Section:wfcSession, Creating Features Containing Sections:wfcSession, Setting the Variable Dimensions and Parameters:wfcSession, Dimension Tolerances:wfcSession, Connecting to a Kinematic Drag Session:wfcSession, Performing Kinematic Drag:wfcSession, Creating and Modifying Snapshots:wfcSession, Snapshot Transforms:wfcSession, Session Level Action Listeners:wfcSession, Model Level Action listeners:wfcSession, Redefining the Import Feature:wfcSession, Extracting Geometry as Interface Data:wfcSession, Solid Operations:wfcSession, Retrieving Simplified Representations:wfcSession, Simplified Representation Utilities:wfcSession, Cosmetic Properties:wfcSession, Line Styles for Graphics:wfcSession, Selecting the Node from the External Application Tree:wfcSession
Enumerated Types
enum
Specifies the type of notification event reported by Creo Notification Manager.
enum
Provides the type of IntfDataSource.
enum
Provides options to retrieve model.
enum
enum
enum
Interface Classes
class
This class delgates the event before activating file open dialog using File -> Open.
class
This is a COMPACT class.
This class specifies the instructions for action listener wfcBeforeModelRetrieveActionListener.
class
class
class
class
This is a COMPACT class.
class
This is a COMPACT class.
This class specifies the options for file open dialog.
class
This is a COMPACT class.
This class specifies the options for file save dialog.
class
This is a COMPACT class.
Provides the information about the Line Style.
class
This is a COMPACT class.
Represents a notification event associated with a specific model item.
class
This is a COMPACT class.
Represents all notification events reported for a specific model.
class
This is a COMPACT class.
class
class
This is a COMPACT class.
class
class
class
This is a COMPACT class.
class
class
Top interface in Object Toolkit.
Collection Classes
class
This is a COMPACT class.
class
This is a COMPACT class.
class
This is a COMPACT class.
class
This is a COMPACT class.
class
This is a COMPACT class.
Functions
wfcCreateMatrix3D (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
wfcCreateOutline2D (xreal idx00, xreal idx01, xreal idx10, xreal idx11)
Intialize a 2 dimensional Line with specified values
wfcCreateOutline3D (xreal idx00, xreal idx01, xreal idx02, xreal idx10, xreal idx11, xreal idx12)
Intialize a 3 dimensional Line with specified values
Intialize a 2 dimensional Point with specified values
wfcCreatePoint3D (xreal idx0, xreal idx1, xreal idx2)
Intialize a 3 dimensional Point with specified values
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.
Intialize a 2 dimensional Vector with specified values
wfcCreateVector3D (xreal idx0, xreal idx1, xreal idx2)
Intialize a 3 dimensional Vector with specified values
void
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.
Was this helpful?