Technical Summary of Changes for Creo 4.0 M030
This section describes the critical and miscellaneous technical changes in Creo 4.0 M030 and Creo Object TOOLKIT C++. It also lists the new and superseded functions for this release.
Critical Technical Changes
This section describes the changes in Creo 4.0 M030 and Creo Object TOOLKIT C++ that might require alteration of existing Creo Object TOOLKIT C++ applications.
AllowConfirm Parameter Deprecated
From Creo Parametric 4.0 M030 onward, the parameter AllowConfirm has been deprecated. Creo Parametric displays a warning message which gives details of failed features. The previous behavior where an interactive dialog box provided an option to retain failed features and children of failed features, if regeneration fails, is no longer supported.
Exporting to Other File Formats Using the Export Profile Option
It is recommended to use the method pfcModel::ExportIntf3D to export Creo Parametric models to other file formats. The export options must be set using the export profile option in Creo Parametric.
The following interfaces along with their methods will be deprecated in a future release of Creo Parametric:
•  pfcExport3DInstructions
•  pfcACIS3DExportInstructions
•  pfcCATIAModel3DExportInstructions
•  pfcCATIASession3DExportInstructions
•  pfcCatiaPart3DExportInstructions
•  pfcCatiaProduct3DExportInstructions
•  pfcCatiaCGR3DExportInstructions
•  pfcDXF3DExportInstructions
•  pfcDWG3DExportInstructions
•  pfcIGES3DNewExportInstructions
•  pfcJT3DExportInstructions
•  pfcParaSolid3DExportInstructions
•  pfcSTEP3DExportInstructions
•  pfcSWPart3DExportInstructions
•  pfcSWAsm3DExportInstructions
•  pfcUG3DExportInstructions
•  pfcVDA3DExportInstructions
New Functions
This section describes new functions for Creo Object TOOLKIT C++ for Creo 4.0 M030.
Data Exchange
New Function
Description
pfcModel::ExportIntf3D
Exports a Creo Parametric model to the specified output format using the default export profile.
Features
New Function
Description
pfcBaseSession::QueryFeatureEdit
Lists all the features that are currently being edited by the Edit Definition command.
Feature Element Tree
New Function
Description
wfcElementTree::CreateDtmCsysElemTreeFromFile
Populates the required elements in the element tree to create a coordinate system from a transformation file.
Macros
New Function
Description
wfcWSession::ExecuteMacro
Executes the macros previously loaded using the method pfcBaseSession::RunMacro.
Layer Operations
New Function
Description
wfcWModel::ExecuteLayerRules
Executes the layer rules on the specified model.
wfcWModel::CopyLayerRules
Copies the rules from the reference model to the current model for the specified layer.
wfcWModel::MatchLayerRules
Compare the rules between the current and reference model for the specified layer.
Registry File Data
New Function
Description
wfcWSession::GetApplicationPath
Retrieves the path to the Creo Object TOOLKIT C++ executable file.
wfcWSession::GetApplicationTextPath
Retrieves the path to the directory containing the text folder for the application.