Technical Summary of Changes for Creo 4.0 M020
The critical and miscellaneous technical changes in Creo Parametric 4.0 M020 and Creo Parametric TOOLKIT are explained in this section. It also lists the new and superseded functions for this release.
Critical Technical Changes
This section describes the changes in Creo Parametric 4.0 M020 and Creo Parametric TOOLKIT that might require alteration of existing Creo Parametric TOOLKIT, Creo Elements/Pro TOOLKIT, and Pro/TOOLKIT applications.
Exporting to Other File Formats Using the Export Profile Option
It is recommended to use the function ProIntf3DFileWriteWithDefaultProfile() 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 functions will be deprecated in a future release of Creo Parametric:
•  ProIntf3DFileWrite()
•  ProOutputInclusionAlloc()
•  ProOutputInclusionFree()
•  ProOutputInclusionFlagsSet()
•  ProOutputLayerOptionsAlloc()
•  ProOutputLayerOptionsAutoidSet()
•  ProOutputLayerOptionsSetupfileSet()
•  ProOutputLayerOptionsFree()
•  ProOutputInclusionWithOptionsSet()
Updates to Error Types
Following is the list of the error types added to functions:
•  ProDrawingViewNameSet()—The error type PRO_TK_E_FOUND has been added. It indicates that the drawing view cannot be saved with the specified name because another drawing view with the same name already exists in the drawing. If you want to specify duplicate names for drawing views, set the configuration option allow_duplicate_view_names to yes.
New Functions
This section describes new functions for Creo Parametric TOOLKIT for Creo Parametric 4.0 M020.
Annotations
New Function
Description
ProDrawingSetDatumTagIsShown()
Returns the display status of the set datum tag in the specified view of a drawing.
ProDrawingSetdatumtagVisit()
Enables you to visit the set datum tag annotations in the specified drawing.
2D Cross Section
New Function
Description
ProDrawingView2DSectionFlip()
Flips the direction of 2D cross section in a drawing view.
ProDrawingView2DSectionFlipGet()
Retrieves the direction in which the 2D cross section has been clipped.
Data Exchange
New Function
Description
Pro2dImportAllSheets()
Imports two-dimensional geometry files with all the drawing sheets for formats that support multiple sheets, and creates a new two-dimensional model.
ProIntf3DFileWriteWithDefaultProfile()
Exports a Creo Parametric model to the specified output format using the default export profile.
Dimensions
New Function
Description
ProSelectionDimWitnessLineGet()
Retrieves information about the dimension which has an annotation attached to its witness line.
Geometry
New Function
Description
ProEdgeContourGet()
Returns a pointer to the contour, which is associated with the specified edge.
Views
New Function
Description
ProViewNameSet()
Sets the name of the view in the specified solid.
ProViewDelete()
Deletes the view from the specified solid.