Technical Summary of Changes for Creo 4.0 M010
The critical and miscellaneous technical changes in Creo Parametric 4.0 M010 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 M010 and Creo Parametric TOOLKIT that might require alteration of existing Creo Parametric TOOLKIT, Creo Elements/Pro TOOLKIT, and Pro/TOOLKIT applications.
Box Projection for Texture Mapping
From Creo Parametric 4.0 M010 onward, box projection is possible in texture mapping using the following values:
•  PRO_SRFTESS_BOX_PROJECTION added in enumerated data type ProSurfaceTessellationProjection
•  PRO_TEXTURE_PROJECTION_BOX added in enumerated data type ProTextureProjectionType
Compiling and Linking on Windows
From Creo Parametric 4.0 M010 onward, Creo Parametric TOOLKIT supports Visual Studio 2015. The compiler flags and libraries are available for Visual Studio 2015. Creo Parametric TOOLKIT no longer supports Visual Studio 2012.
All Creo Parametric TOOLKIT applications on 32-bit and 64-bit Windows platforms built using the Microsoft Visual Studio 2015 compiler must set the configuration property Platform Toolset as Visual Studio 2015 (v140).
To use the makefile based solution, you must add the flag -D_USING_V110_SDK71_ to the compile line of each object. These changes have been incorporated in the sample makefiles.
Updates to Error Types
Following is the list of the error types added to functions:
•  ProGtolAttachSet()—The error types PRO_TK_GENERAL_ERROR and PRO_TK_NOT_VALID have been added. The error type PRO_TK_GENERAL_ERROR indicates that the function has failed because the specified legacy geometric tolerance could not be converted to the new Creo Parametric 4.0 geometric tolerance. The error type PRO_TK_NOT_VALID indicates that the options specified for attachment in ProGtolAttach are not valid for the specified geometric tolerance.
•  ProDrawingViewDetailReferenceGet()—The error type PRO_TK_E_NOT_FOUND has been added. It indicates that the function could not find the reference point on the parent view for the specified detailed view.
•  ProDrawingViewAuxiliaryInfoGet()—The documentation for the error type PRO_TK_GENERAL_ERROR has been updated to reflect its correct behavior. It indicates that the function cannot retrieve information related to the auxiliary view.
New Functions
This section describes new functions for Creo Parametric TOOLKIT for Creo Parametric 4.0 M010.
Cross Section
New Function
Description
ProXsecCompNewXhatchStyleGet()
ProXsecCompNewXhatchStyleSet()
Retrieves and sets the style of old and new hatch pattern in the specified cross section component.
ProXsecCompNewXhatchStyleSetByName()
Replaces the existing nonlinear hatch pattern with the specified hatch pattern.
Drawing
New Function
Description
ProDrawingView2DSectionTotalSet()
Sets the visibility of model edges to Total in a 2D cross section view of a drawing.
ProDrawingView2DSectionAreaSet()
Sets the visibility of model edges to Area in a 2D cross section view of a drawing.
Volume Interference
New Function
Description
ProVolumeInterferenceCompute()
Calculates the volume interference between the selected closed quilt and an assembly.
ProVolumeInterferenceDisplay()
Displays the curves and surfaces that interfere with the selected quilt in the specified color or hides them.
ProVolumeInterferenceInfoArrayFree()
Frees the memory allocated to the interference data obtained from the function ProVolumeInterferenceCompute().