0% found this document useful (0 votes)
339 views

Creo Parametric Toolkit 2.0 Release Notes: December 2015

Uploaded by

satishnamala
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
339 views

Creo Parametric Toolkit 2.0 Release Notes: December 2015

Uploaded by

satishnamala
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

Creo® Parametric

TOOLKIT 2.0
Release Notes
December 2015
Copyright © 2015 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved.

User and training guides and related documentation from PTC Inc. and its subsidiary companies (collectively
"PTC") are subject to the copyright laws of the United States and other countries and are provided under a
license agreement that restricts copying, disclosure, and use of such documentation. PTC hereby grants to the
licensed software user the right to make copies in printed form of this documentation if provided on software
media, but only for internal/personal use and in accordance with the license agreement under which the
applicable software is licensed. Any copy made shall include the PTC copyright notice and any other
proprietary notice provided by PTC. Training materials may not be copied without the express written consent
of PTC. This documentation may not be disclosed, transferred, modified, or reduced to any form, including
electronic media, or transmitted or made publicly available by any means without the prior written consent of
PTC and no authorization is granted to make copies for such purposes.

Information described herein is furnished for general information only, is subject to change without notice,
and should not be construed as a warranty or commitment by PTC. PTC assumes no responsibility or liability
for any errors or inaccuracies that may appear in this document.

The software described in this document is provided under written license agreement, contains valuable trade
secrets and proprietary information, and is protected by the copyright laws of the United States and other
countries. It may not be copied or distributed in any form or medium, disclosed to third parties, or used in any
manner not provided for in the software licenses agreement except with written prior approval from PTC.

UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT IN CIVIL


DAMAGES AND CRIMINAL PROSECUTION. PTC regards software piracy as the crime it is, and we view
offenders accordingly. We do not tolerate the piracy of PTC software products, and we pursue (both civilly
and criminally) those who do so using all legal means available, including public and private surveillance
resources. As part of these efforts, PTC uses data monitoring and scouring technologies to obtain and transmit
data on users of illegal copies of our software. This data collection is not performed on users of legally
licensed software from PTC and its authorized distributors. If you are using an illegal copy of our software
and do not consent to the collection and transmission of such data (including to the United States), cease
using the illegal version, and contact PTC to obtain a legally licensed copy.

Important Copyright, Trademark, Patent, and Licensing Information: See the About Box, or copyright
notice, of your PTC software.

UNITED STATES GOVERNMENT RESTRICTED RIGHTS LEGEND

This document and the software described herein are Commercial Computer Documentation and Software,
pursuant to FAR 12.212(a)-(b) (OCT’95) or DFARS 227.7202-1(a) and 227.7202-3(a) (JUN’95), and are
provided to the US Government under a limited commercial license only. For procurements predating the
above clauses, use, duplication, or disclosure by the Government is subject to the restrictions set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software Clause at DFARS 252.227-
7013 (OCT’88) or Commercial Computer Software-Restricted Rights at FAR 52.227-19(c)(1)-(2) (JUN’87),
as applicable. 01012015

PTC Inc., 140 Kendrick Street, Needham, MA 02494 USA


Contents

About This Guide ........................................................................................................7


Summary of Technical Changes ...................................................................................9
Critical Technical Changes ..................................................................................10
New Functions ...................................................................................................20
Superseded Functions ........................................................................................32
Miscellaneous Technical Changes .......................................................................34

5
About This Guide

This document provides release-specific information for Creo Parametric


TOOLKIT for Creo Parametric 2.0. It describes new functions in Creo Parametric
TOOLKIT and also includes critical functions that require investigation of
existing applications and adjustment of existing code.

Documentation for Creo Parametric TOOLKIT


Creo Parametric TOOLKIT documentation comes in the following forms:
• API Wizard in HTML format
• Creo Parametric TOOLKIT User’s Guide in PDF format
• Reference Documents page at http://www.ptc.com/appserver/cs/doc/refdoc.
jsp
(Choose the product or document type)
The API Wizard and the Creo Parametric TOOLKIT User’s Guide are on the Creo
Parametric DVD-ROM. You can view the API Wizard with your Internet browser.
To view and print the PDF book, you must have Acrobat Reader installed. PTC
welcomes your suggestions and comments on its documentation. Send comments
electronically to:
[email protected]

7
1
Summary of Technical Changes
Critical Technical Changes .........................................................................................10
New Functions ..........................................................................................................20
Superseded Functions...............................................................................................32
Miscellaneous Technical Changes ..............................................................................34

This chapter describes the critical and miscellaneous technical changes in Creo
Parametric 2.0 and Creo Parametric TOOLKIT. It also lists the new and
superseded functions for this release.

9
Critical Technical Changes
This section describes the changes in Creo Parametric 2.0 and Creo Parametric
TOOLKIT that might require alteration of existing Creo Parametric TOOLKIT,
Creo Elements/Pro TOOLKIT, and Pro/TOOLKIT applications.

APIWizard Available on PTC.com


The latest version of Creo Parametric TOOLKIT APIWizard is available at www.
ptc.com/support/apiwizard.htm.

Non-Applet Based Version of the APIWizard


To open the non-applet based version of the Creo Parametric TOOLKIT
APIWizard, point your browser to:
<creo_toolkit_loadpoint>\protkdoc\manual0\tkusetoc.html

From the Creo Parametric TOOLKIT User’s Guide, click the API name to get
more information about the API.

Applying the default_leader_arrow_style Option


During Annotation Creation
Annotations created with leaders by Creo Parametric TOOLKIT applications used
to ignore the setting no_arrow, defined in the Detail option default_
leader_arrow_style. The setting was not applied during the creation of
annotations.
From Creo Parametric 2.0 M090 onward, the setting defined in default_leader_
arrow_style option is applied during the creation of annotations with leaders by
Creo Parametric TOOLKIT applications. This is applicable for annotations, such
as notes or symbol instances.

Behavior of ProMdlRename() for Generic Models


When you call the function ProMdlRename() on an instance of generic model,
the status of the generic model changes to marked for save. If you call save action,
the generic model is saved, even if no changes were made to the model.

10 Creo® Parametric TOOLKIT 2.0 Release Notes


Change in Behavior of Cabling Functions
From Creo Parametric 2.0 M080 onward, on executing, the following functions
switch the active part to the harness part, and then switch back to the original part:
• ProCableCreate()
• ProBundleCreate()
• ProCablesFromLogicalCreate()
The function ProCableRoutingStart() switches the current model to a
harness part. Call the function ProCableRoutingEnd() to switch the harness
part back to its original part.

Change in Behavior of ProDtlnoteDataGet()


The function ProDtlnoteDataGet() returned the hard line breaks data,
which must not be used by the applications. From Creo Parametric 2.0 M040
onward, the behavior of the function has been fixed, and it does not return this
data.

Change in Behavior of ProDtlnoteModify()


When the function ProDtlnoteModify() was called on the On Item note
type which was created with the attachment type PRO_DTLATTACHTYPE_
UNIMPLEMENTED, the note type could change to Free note type. From Creo
Parametric 2.0 M190 this has been fixed. The note type does not change when the
function PrDtlnoteModify() is called.

Change in Behavior of ProFitClearanceCompute()


The function ProFitClearanceCompute() used to incorrectly return PRO_
B_TRUE for the argument is_interference_found, when there was no
interference and the clerance value was postive and non-zero. From Creo
Parametric 2.0 M120 onward, this behavior has been fixed. The function correctly
returns PRO_B_FALSE, for a positive and non-zero clearance value, indicating no
interference.

Change in Behavior of ProGtolRightTextSet() and


ProGtolTopTextSet()
The functions ProGtolRightTextSet() and ProGtolTopTextSet()
used to set the height of the text to the default value without taking the units of the
model into account. From Creo Parametric 2.0 M060 onward, these functions
have been modified to adjust the height of the text according to the units of the
model.

Summary of Technical Changes 11


Change in the Behavior of ProGtolRightTextSet()
The function ProGtolRightTextSet() did not set the orientation of the text
correctly due to which a call to the function
ProGtolRightTextEnvelopeGet() used to return an error. This behavior
has been fixed in Creo Parametric 2.0 M080. All function calls to
ProGtolRightTextSet() followed by
ProGtolRightTextEnvelopeGet() are now successful.

Change in Behavior of ProReferenceOwnerGet()


The function ProReferenceOwnerGet() used to return NULL for local copy
reference in a model. Local copy reference is a local copy of the external reference
that is backed up in the model. From Creo Parametric 2.0 M070 onward, the
function returns the local model for the specified local copy reference.

Change in Behavior of ProServerObjectIsModified()


From Creo Parametric 2.0 M040 onward, the behavior of the function
ProServerObjectIsModified() has been fixed for the value returned by
the argument checkout_status. The argument now returns the value PRO_
B_FALSE to indicate one of the following statuses for the specified object:
• the object was only saved, but never uploaded
• the object was only uploaded, but never checked in

Change in Behavior of ProSolidExternParentsGet()


The function ProSolidExternParentsGet() did not collect external
dependencies for patterns. From Creo Parametric 2.0 M110 onward, the behavior
of the function ProSolidExternParentsGet() has been fixed. The
function now collects external and local parents of the specified solid for pattern
type of reference.

Change in Behavior of ProXsecParallelCreate()


and ProXsecPlanarCreate()
From Creo Parametric 2.0 onward, the functions
ProXsecParallelCreate() and ProXsecPlanarCreate() create
cross sections as features. These functions automatically convert the cross sections
created in Pro/ENGINEER, Creo Elements/Pro, and in releases prior to Creo
Parametric 2.0 to the new cross section features as defined in Creo Parametric 2.0
before creating any new cross section feature.

12 Creo® Parametric TOOLKIT 2.0 Release Notes


Change in Support for Tool Motion Type PRO_TM_
TYPE_AUTOMATIC_CUT
From Creo 2.0 onward, the tool motion type PRO_TM_TYPE_AUTOMATIC_CUT
defined in the enumerated type ProTmType in the header file
ProMfgOptions.h is no longer supported. You must rebuild existing
applications that have references to PRO_TM_TYPE_AUTOMATIC_CUT.

Changes to ProServerRegister() and


ProServerUnregister()
From Creo Parametric 2.0 onward, the Creo Parametric TOOLKIT APIs
ProServerRegister() and ProServerUnregister() call the same
underlying API as Creo Parametric to register and unregister servers. Hence,
registering the servers using Creo Parametric TOOLKIT APIs is similar to
registering the servers using the Creo Parametric user interface. Due to this
change in the behavior, the function ProServerUnregister() no longer
supports the error type PRO_TK_E_FOUND. The following server functions are
now supported in both interactive and batch (non-interactive) modes:
• ProServerWorkspaceCreate()
• ProServerRegister()
• ProServerWorkspaceSet()
• ProServerActivate()
• ProServerUnregister()

Creo Parametric TOOLKIT Support for Creo


Applications
Creo Parametric TOOLKIT applications in synchronous and asynchronous modes
are supported only with the Creo Parametric application. They are not supported
with the other Creo applications, such as, Creo Direct, Creo Layout, Creo
Simulate, and so on.
The functions ProEngineerConnect() and ProEngineerStart()
return an error when the Creo Parametric TOOLKIT application attempts to
connect to a Creo application other than Creo Parametric. Refer to the section
Creo Parametric TOOLKIT Support for Creo Applications in the Creo Parametric
TOOLKIT 2.0 User’s Guide.

Summary of Technical Changes 13


Customized Ribbon User Interface
Customized Ribbon User Interface components built in Creo Parametric 1.0 F000
or M010 may not work correctly in certain situations. PTC recommends that you
send these customized ribbon files to PTC for review and clean-up before using
them in Creo Parametric 1.0 M020 and higher. Alternatively, rebuild these ribbon
customizations again using Creo Parametric 1.0 M020 and higher.
Ensure that all new ribbon customizations are created in Creo Parametric 1.0
M020 or higher only.

Drawing Functions to Display Annotations and


Create BOM Balloons
The following functions will show the annotations or create BOM balloons only if
the drawing is displayed in the current session:
• ProAnnotationByViewShow()
• ProAnnotationByFeatureShow()
• ProAnnotationByComponentShow()
• ProDrawingDimensionsCleanup()
• ProDimensionAutoOrdinateCreate()
• ProBomballoonCreate()
• ProBomballoonAllCreate()
• ProBomballoonByComponentCreate()
• ProBomballoonByRecordCreate()
• ProBomballoonClean()
From Creo Parametric 2.0 M060 onward, for the functions
ProAnnotationByFeatureShow() and
ProAnnotationByComponentShow(), you can specify the view in which
the annotations must be displayed.

Exclude Surfaces in ProSrfcollinstrAlloc() and


ProSrfcollinstrIncludeSet()
You can only exclude surfaces of type PRO_SURFCOLL_SINGLE_SURF from a
surface set using the functions ProSrfcollinstrAlloc() and
ProSrfcollinstrIncludeSet() by passing PRO_B_FALSE as the value
of the input argument include of these functions.

14 Creo® Parametric TOOLKIT 2.0 Release Notes


Fill Patterns
A new value PRO_GRP_PATTERN_HEADER has been added to the enumerated
data type ProGrppatternStatus defined in the header file
ProFeature.h. This value specifies that the feature is the header of a group
pattern.
A new value PRO_PATTERN_HEADER has been added to the enumerated data
type ProPatternStatus defined in the header file ProFeature.h. This
value specifies that the feature is the header of a pattern.

Finding a Harness
The description for the function ProAssemblyHarnessesCollect() has
been updated. It now reads as:
The function ProAssemblyHarnessesCollect() returns an array of
handles to any harness that is part of a specified assembly and its sub-assemblies.

Inventor Model Units Retained During Import as


Assembly
The Inventor model units were not retained when an Inventor model was imported
as an assembly in Creo Parametric. From Creo Parametric 2.0 M110 onward, this
behavior has been fixed. The Inventor model units are now retained during the
import of the Inventor model as an assembly.

Model Type for a Manufacturing Assembly


For a manufacturing assembly, specify the type of model ProMdlType as either
PRO_MDL_ASSEMBLY or PRO_MDL_MFG. To work with an assembly handle,
specify the model type as PRO_MDL_ASSEMBLY and to work with a
manufacturing handle, specify the model type as PRO_MDL_MFG.
If the assembly type is not known, initialize the model type as PRO_MDL_
ASSEMBLY. Check the assembly subtype using the function
ProMdlSubtypeGet(). If the function returns the subtype as
PROMDLSTYPE_MFG_NCASM, then the assembly is a manufacturing assembly.
You can then initialize the model type as PRO_MDL_MFG to work with
manufacturing data.

Modifications to Sketched Datum Point


The sketched datum point is obsolete. The element tree for sketch datum point
defined in the header file ProDtmPnt.h is no longer supported. To create new
sketched datum points, you must use the element tree for sketched datum curves
defined in the header file ProDtmCrv.h.

Summary of Technical Changes 15


No Support for PRO_LWG_SIMPREP_LEVEL_
SELECTED
The value PRO_LWG_SIMPREP_LEVEL_SELECTED in enumerated data type
ProLightweightGraphicsSimprepLevel is not supported, and is
reserved for future use.

Performance Improvement in Solid Interference and


Clearance
The performance of the functions detecting solid interference or clearance have
been improved.

ProAsmcomppathDispQuiltVisit()
In Creo Parametric 2.0, there was a change in behavior of the function
ProAsmcomppathDispQuiltVisit(). After change in behavior, the
function visited all the quilts, including displayed and un-displayed quilts in the
solid. This behavior has been fixed in Creo 2.0 M030. It now visits only displayed
quilts.

ProNoteTextStyleGet() and ProNoteTextStyleSet()


The functions ProNoteTextStyleGet()and ProNoteTextStyleSet()
were deprecated in Creo Parametric 1.0.
From Creo Parametric 2.0 M140 onward, the functions
ProNoteTextStyleGet() and ProNoteTextStyleSet() are now
supported.

ProNoteElbowlengthGet()
In previous releases for certain scenarios, the function
ProNoteElbowlengthGet() used to return incorrect length and sign for 3D
notes and as a result would change the position of the 3D note. From Creo
Parametric 2.0 M070 onward, this behavior has been fixed and the function
returns the correct values for 3D notes.

ProSetdatumtagAttachmentSet()
From Creo Parametric 2.0 M090 onward, you can place the datum tag on its
datum axis at the default position, or on its datum plane. To specify the datum axis
or datum plane as the attachment option, pass the input argument attachment
as NULL in the function ProSetdatumtagAttachmentSet().

16 Creo® Parametric TOOLKIT 2.0 Release Notes


Round Creation Methods
During the creation of rounds, the options D1 x D2 Conic and Normal to spine
cannot be used together. Due to this restriction, the existing rounds with their
conic type option set as PRO_ROUND_CONIC_INDEPENDENT and with the
round creation method set to PRO_ROUND_NORMAL_TO_SPINE are reset to
PRO_ROUND_ROLLING_BALL when the round is redefined. This restriction
may require modification of existing TOOLKIT application code.

Spread Angle Set Using ProLightSourcesSet()


The function ProLightSourcesSet() set the spread angle as double of the
specified value for spot lights. The function treated the specified angle as half
angle. This issue has been fixed in Creo Parametric 2.0 M030.
The function now treats the specified angle as the full spread angle of the spot
light and sets it correctly to the specified value. The spread angle of the spot light
is the total angle encompassed by the light.

Structural Temperature Load on Point References


From Creo Parametric 2.0 M120 onward, you cannot create structural temperature
loads on point references using Creo Parametric TOOLKIT applications. This
functionality has been deprecated in Creo Parametric TOOLKIT as it is no longer
supported in Creo Parametric user interface.
If your applications use structural temperature loads on point references, you must
specify other references, such as, curves or surfaces, and rebuild your
applications. The existing structural temperature loads on point references in Creo
Parametric TOOLKIT applications and models are suppressed.

Support for Creo Layout Models and Files


The Creo Layout models and files (.cem file type) are not supported by Creo
Parametric TOOLKIT or by existing TOOLKIT applications.

Support for Deleting Items While Visiting Them


While using the visit functionality, PTC recommends that you must not delete the
items that the function will visit. If you delete these items, the results may be
unpredictable.

Summary of Technical Changes 17


Support for Material Orientation Direction
From Creo Parametric 2.0 onward, you can access and set the rotations about one
or more material directions using the functions
ProMechmaterialorientdataRotationGet() and
ProMechmaterialorientdataRotationSet() only if the material
orientation type is PRO_MECH_MATLORI_MODEL. This change may require
modification of the existing code.

Updates to Enumerated Data Type


ProFitComputeSetup
From Creo Parametric 2.0 M030 onward, the following values have been added to
the enumerated data type ProFitComputeSetup:
• PRO_FIT_PART_DETAILED—Computes interference between the pairs of
parts in an assembly, irrespective of whether the volume can be calculated
between the pairs.
• PRO_FIT_SUB_ASSEMBLY_DETAILED—Computes interference between
the pairs of subassemblies in an assembly, irrespective of whether the volume
can be calculated between the pairs.

Updates to Error Codes for ProFaminstanceAdd()


and ProFaminstanceCreate()
From Creo Parametric 2.0 M010 onward, the function
ProFaminstanceCreate() returns the error type PRO_TK_E_NOT_FOUND
instead of PRO_TK_NO_ERROR, if you try to create new instance having the
same name as the generic model.
The function ProFaminstanceAdd() returns the error type PRO_TK_ABORT
if you add an instance having the same name as the generic model to the family
table. From Creo Parametric 2.0 M010, this error type is documented in the header
file ProFaminstance.h.

Updates to Error Types


The following table lists the new error types added to functions:
• ProIntf3DFileWrite()—The error type PRO_TK_NO_CHANGE has
been added. It specifies that the model was not exported because the up-to-
date image for the specified Creo Parametric source model already exists in
heterogeneous design in context (HDIC).
• ProIntfimportModelCreate()—The error type PRO_TK_CANT_
OPEN has been added. It specifies that the imported file could not be opened.

18 Creo® Parametric TOOLKIT 2.0 Release Notes


• ProIntfimportModelWithOptionsCreate() and
ProIntfimportModelWithProfileCreate()—The error type PRO_
TK_INVALID_TYPE has been added. It specifies that the combination of the
input arguments is invalid.
• ProXsecGeometryArrayFree()—The error type PRO_TK_BAD_
INPUTS has been added. It specifies that the input array p_geom_arr is
NULL.
• ProXsecGeometryFree()—The error type PRO_TK_BAD_INPUTS has
been added. It specifies that the input array xsec_geom is NULL.
• ProCombstateAnnotationsAdd()—The error type PRO_TK_NO_
CHANGE has been added. It specifies that the status of some annotations in the
specified combined state item has not changed.
• ProFeatureInit()—The error type PRO_TK_NOT_EXIST has been
added. It specifies that the feature with the specified identifier does not exist.
• ProFilesList()—The error type PRO_TK_INVALID_DIR has been
added. It indicates that the directory specified in the input argument
directory_path is not a valid directory.
• ProLayerItemInit()—The error type PRO_TK_NOT_EXIST has been
added. It specifies that the item with the specified identifier and type does not
exist in the layer.
• ProModelitemInit()—The error type PRO_TK_NOT_EXIST has been
added. It specifies that the item with the specified identifier and type does not
exist in the model.
• ProSimprepSelect()—The error type PRO_TK_USER_ABORT has
been added. It specifies that the user has quit the simplified representation
selection process.
• ProDimensionSymbolSet()—The error type PRO_TK_NO_CHANGE
has been added. It specifies that the function will return the error PRO_TK_
NO_CHANGE if the specified symbol already exists for another dimension in
the model.
• ProMechmaterialorientdataRotationGet()—The error type
PRO_TK_INVALID_TYPE has been added. It specifies that the material
orientation data type is not PRO_MECH_MATLORI_MODEL.
• ProMechmaterialorientdataRotationSet()—The error type
PRO_TK_CANT_WRITE has been added. It specifies that the subtype cannot
be changed.
• ProGtoldataValueSet() and ProGtoldataPerUnitSet()—The
error type PRO_TK_NOT_VALID has been added. It indicates that the
specified tolerance values are not valid for creating the geometric tolerance.
• ProSurfaceParamEval()—The error type PRO_TK_E_NOT_FOUND
has been added. It indicates that the specified point cannot be found projected
on the specified surface.

Summary of Technical Changes 19


• ProServerWorkspaceDelete()—The error type PRO_TK_E_IN_USE
has been added. It indicates that the workspace is active.
• ProDrawingPosToLocgrid()—The error types PRO_TK_NOT_EXIST
and PRO_TK_OUT_OF_RANGE have been added. The error type PRO_TK_
NOT_EXIST specifies that the location grid has not been defined for the
drawing sheet. The error type PRO_TK_OUT_OF_RANGE specifies that the
position of the point, that is the screen coordinates pos, is outside the location
grid.
• ProNotePlacementSet()—The error type PRO_TK_BAD_CONTEXT
has been added. It indicates that the note cannot be placed at the specified
location because the note has an annotation plane, which is flat to screen and
is not compatible with the specified placement point.

wmain() Function
Creo Parametric TOOLKIT application must contain its own wmain() function
if the application needs to receive command-line arguments as wchar_t, for
example if the input contains non-usascii characters.

New Functions
This section describes new functions for Creo Parametric TOOLKIT for Creo
Parametric 2.0.

Annotations
New Function Description
ProAnnotationByViewShow() Displays the annotation in the specified
ProAnnotationByFeatureShow() view, for the specified type of feature
and component.
ProAnnotationByComponentShow()
ProAnnotationfeatElementCopy() Copies and adds the annotation element
to the specified annotation feature.
ProCombstateAnnotationErase() Erases the annotation from the
specified combined state.

Associative Topology Bus (ATB)-Enabled Features


New Function Description
ProATBVerify() Verifies if the specified ATB model is
out-of-date.
ProATBMarkAsOutOfDate() Marks the specified ATB model or

20 Creo® Parametric TOOLKIT 2.0 Release Notes


New Function Description
feature as out-of-date.
ProATBUpdate() Updates the specified ATB enabled
models or features.
ProATBRelink() Relinks all the models or features that
have lost their association or link with
their master model.
ProModelIsTIM() Checks if the specified feature is a
Translated Image Model (TIM).
ProModelHasTIMFeature() Checks if the specified model has a
TIM feature.
ProModelListTIMFeatures() Lists the feature IDs of all the ATB-
enabled TIM features in the specified
model.

BOM Balloon
New Function Description
ProDwgtableCellRegionGet() Creates the BOM balloons.
ProBomballoonCreate()
ProBomballoonAllCreate()
ProBomballoonByComponentCreate()
ProBomballoonByRecordCreate()
ProBomballoonClean() Cleans the display and location of the
BOM balloons.

Cabling
New Function Description
ProAssemblyHarnessesTopCollect() Gets an array of handles to the
harnesses present in the specified top
level assembly.
ProCablingNeutralwirelistImport() Imports the PTC neutral wire list file
(.nwf) in the current session.
ProCableLocationsOnSegEndGet() Gets the start and end location of each
segment for the specified cable.
ProCableTapeFeatSpoolGet() Gets the spool for the specified tape
feature.
ProCablesFromLogicalAllCreate() Creates cables and conductors from

Summary of Technical Changes 21


New Function Description
logical references. If the spool feature
is not defined for a cable, then this
function also creates spools for the such
cables.
ProCableTessellationGet() Get the tessellation for the specified
input cable.
ProConnectorWithAllParamsDesignate Designates a component in the
() assembly as a cabling connector using
all the logical parameters.

Creating Tools
New Function Description
ProToolFileRead() Creates a new tool or redefines an
existing tool.
ProToolFileWrite() Writes all information about the tool
into a file.

Cross Section
New Function Description
ProXsecCanCreateAsFeature() Checks if new cross section features
can be created.
ProXsecOldToNewConvert() Converts the cross sections created in
Pro/ENGINEER, Creo Elements/Pro,
and in releases prior to Creo Parametric
2.0 to the new cross section features.
ProXsecIsFeature() Checks if the cross section is a feature.
ProXsecFeatureGet() Returns a pointer to the cross section
feature.
ProXsecCompXhatchStyleGet() Retrieves and sets the hatch pattern for
ProXsecCompXhatchStyleSet() the specified cross section component.
ProXsecExcludeCompGet() Retrieves the status and path of the
assembly components included and
excluded for the specified cross section.
ProAsmpathProarrayFree() Frees the memory allocated to
assembly component path.

22 Creo® Parametric TOOLKIT 2.0 Release Notes


Datum Data Structure
New Function Description
ProDatumdataMemoryFree() Frees the top-level memory used by the
datum data structure.

Dimensions
New Function Description
ProDimensionSimpleBreakCreate() Creates a simple break on an existing
dimension witness line.
ProDimensionJogCreate() Creates a jog on an existing dimension
witness line.
ProDimensionIsSignDriven() Checks if a dimensions uses negative
sign in its value to flip the direction.
ProDimensionWitnesslineErase() Erases the specified witness line from a
dimension.
ProDimensionWitnesslineShow() Shows the erased witness line of the
specified dimension.

Dimension Feature Owner


New Function Description
ProDimensionOwnerfeatureGet() Gets the feature owner for the specified
dimension.

Dimension Text
New Function Description
ProDimensionTextWstringsGet() Gets and sets the text for the specified
ProDimensionTextWstringsSet() dimension.

Dimension Text Style


New Function Description
ProDrawingDimensionTextstyleGet() Returns the text style assigned to the
specified dimension or reference
dimension.

Summary of Technical Changes 23


Displaying the Color Selection Dialog Box
New Function Description
ProUIColorSelectionShow() Displays the dialog box used to select
values for the red, green, blue (RGB)
colors.

Drawing
New Function Description
ProDrawingFormatSizeGet() Gets and sets the size of the drawing
ProDrawingFormatSizeSet() format in the specified drawing.
ProDrawingDimensionsCleanup() Cleans the display and location of the
dimensions in the specified drawing.
ProDrawingErasedviewSheetGet() Gets the number of the sheet which
contained the view that was erased.
ProDrawingToleranceStandardGet() Gets and sets the tolerance standard for
ProDrawingToleranceStandardSet() the specified drawing.
ProDwgtableByOriginRetrieve() Retrieves and places a drawing table in
the drawing at the specified point. The
origin of the table is positioned at the
specified point.
ProDtlsyminstdataIsInvisible() Checks if the specified symbol instance
is invisible.

External Reference Dependency


New Function Description
ProExtRefInfoExport() Prints a dependency report.
ProExtRefIsDependency() Indicates if the specified reference is an
external dependency.
ProExtRefDependencyIsBreakable() Indicates if some of the dependencies
can be broken.
ProExtRefBreakDependency() Breaks the external references from the
specified array.

24 Creo® Parametric TOOLKIT 2.0 Release Notes


Feature Inquiry
New Function Description
ProFeatureIsInFooter() Checks if the specified feature is
currently located in the model tree
footer.
ProFeatureToFooterMove() Moves the specified feature into the
regeneration footer.
ProFeatureFromFooterMove() Moves the specified feature out of the
regeneration footer.
ProLayerDisplaystatusNoUpdateSet() Sets the display status of a layer,
without updating the model tree.
ProLayerDisplaystatusUpdate() Updates the model tree for changes in
the display statuses of all the layers in
the specified model.

Layers
New Function Description
ProLayerRuleExecute() Executes the layer rules on the
specified model.
ProLayerRuleCopy() Copies the layer rules from a reference
model to the current model.
ProLayerRuleMatch() Compares the layer rules between the
current and reference models.

Layer State
New Function Description
ProLayerstateActivestateUpdate() Updates the layer state which is active
in the model.

Measuring Geometry
New Function Description
ProSelectionWithOptionsDistanceEval Evaluates the distance between two
() selected items.

Summary of Technical Changes 25


Messages
New Function Description
ProMessageWstringbufferAlloc() Writes a message with any length to an
internal buffer instead of to the Creo
Parametric message area.

Model
New Function Description
ProMdlDependenciesCleanup() Cleans the dependencies for an object
in the Creo Parametric workspace.
ProFileSubtypeGet() Retrieves the model type and subtype,
when the path to a file is specified as
input.

Notebook
New Function Description
ProLayoutRegenerate() Regenerates the specified notebook
(.lay) file.

Ordinate Dimension
New Function Description
ProDimensionAutoOrdinateCreate() Creates an ordinate dimension
automatically for the selected surfaces.

26 Creo® Parametric TOOLKIT 2.0 Release Notes


Parameters
New Function Description
ProParameterLockstatusGet() Gets and sets the access state of the
ProParameterLockstatusSet() specified parameter in the model using
the enumerated data type
ProLockstatus.
ProParameterValueWithUnitsGet() Gets and sets the value of a parameter
ProParameterValueWithUnitsSet() along with units.
ProParameterCreateWithUnitsPreAc- Notification functions that are called
tion() when a parameter is created, modified,
ProParameterModifyWithUnitsPreAc- and deleted.
tion()
ProParameterModifyWithUnitsPostAc-
tion()
ProParameterDeleteWithUnitsPostAc-
tion()

Pattern Leader
New Function Description
ProFeaturePatternleaderGet() Returns the pattern leader feature for
the specified pattern member feature.

Piping
New Function Description
ProPipelineSpecDrivenCreate() Creates a Specification-Driven pipeline
feature.
ProPipelineCreateFromXML() Creates a pipeline feature based on the
schematic information defined in the
XML file for the specified pipeline
label.
ProPipelineCreate() Creates a Non Specification-Driven
pipeline feature.
ProPipelineParametersCollect() Retrieves all the parameters of the
specified pipeline.

Summary of Technical Changes 27


New Function Description
ProPipelineParametersSet() Sets the parameters in the specified
pipeline.
ProPipelineParameterAdd() Adds and deletes the parameter in the
ProPipelineParameterDelete() specified pipeline.

PTC Windchill Operators


New Function Description
ProFileCopyFromWSDocument() Copies a primary or secondary file from
the workspace to a location on disk.
ProFileselectionDocNameGet() Gets the name of the primary document
for the last selected secondary file.
ProServerIsOnline() Checks if the specified server is online
or offline.

Relations
New Function Description
ProRelationEvalWithUnits() Evaluates a line of a relation set and
outputs the resulting value with its unit.
ProRelsetUnitsSensitiveSet() Relations must be solved taking units
into account.
ProRelsetIsUnitsSensitive() Checks if the specified relation is unit-
sensitive.

Shrinkwrap Features
New Function Description
ProFeatureIsShrinkwrapRefCopyGeom Checks if the specified feature is a
() reference copy geometry feature, which
is created by the shrinkwrap feature.
ProFeatureShrinkwrapGetRefCopy- Gets an array of reference copy
Geoms() geometry features, which are created by
the shrinkwrap feature.

28 Creo® Parametric TOOLKIT 2.0 Release Notes


New Function Description
ProFeatureIsShrinkwrap() Checks if the specified feature is a
shrinkwrap feature.
ProFeatureRefCopyGeomShrinkwrap- Gets the shrinkwrap feature for the
Get() specified reference copy geometry
feature.

Solids
New Function Description
ProSolidToleranceStandardGet() Gets and sets the tolerance standard for
ProSolidToleranceStandardSet() the specified solid.

Surfaces
New Function Description
ProMdlVisibleAppearancepropsGet() Gets and sets the surface properties for
ProMdlVisibleAppearancepropsSet() the specified part, assembly component,
subassembly, quilt or surface.
ProMdlVisibleTexturepropsGet() Gets and sets the texture properties of
ProMdlVisibleTexturepropsSet() the surface for the specified part,
assembly component, subassembly,
quilt or surface.
ProMdlVisibleTextureplacementprops- Gets and sets the properties related to
Get() the placing of surface texture for the
ProMdlVisibleTextureplacementprops- specified part, assembly component,
Set() subassembly, quilt or surface.

Symbol Definition
New Function Description
ProDtlsyminstDimattachGet() Retrieves the dimension to which the
specified symbol is attached.

Summary of Technical Changes 29


Threaded Hole
New Function Description
ProElementHoleThreadSeriesGet() Gets and sets the type of thread for the
ProElementHoleThreadSeriesSet() hole and the screw size.

ProElementHoleScrewSizeGet()
ProElementHoleScrewSizeSet()

User Interface: Dialog


New Function Description
ProUITimerCreate() Creates a timer that will execute the
action later in Creo Parametric.
ProUIDialogTimerStart() Starts the timer to execute the action
after the specified time interval.
ProUIDialogTimerStop() Stops the timer.
ProUITimerDestroy() Removes the specified timer.

User Interface: Tree


New Function Description
ProUITreeUpdateActionSet() Sets the update action for the tree.
ProUITreeStateGet() Gets and sets the checked and
ProUITreeStateSet() unchecked state of an item in the tree.
ProUITreeMixedStateGet() Gets and sets the indeterminate state of
ProUITreeMixedStateSet() an item in the tree.
ProUITreeLastentereditemGet() Gets the name of the item, which was
last pointed to by the pointer.

30 Creo® Parametric TOOLKIT 2.0 Release Notes


User Interface (UI): Components
New Function Description
ProUICheckbuttonMinimumsizeGet() Gets the minimum size for the height
ProUIDrawingareaMinimumsizeGet() and width of a User Interface (UI)
Component.
ProUIInputpanelMinimumsizeGet()
ProUILabelMinimumsizeGet()
ProUILayoutMinimumsizeGet()
ProUIListMinimumsizeGet()
ProUIOptionmenuMinimumsizeGet()
ProUIProgressbarMinimumsizeGet()
ProUIPushbuttonMinimumsizeGet()
ProUIRadiogroupMinimumsizeGet()
ProUISliderMinimumsizeGet()
ProUISpinboxMinimumsizeGet()
ProUITabMinimumsizeGet()
ProUITableMinimumsizeGet()
ProUITextareaMinimumsizeGet()
ProUIThumbwheelMinimumsizeGet()
ProUITreeMinimumsizeGet()
ProNavigatorpanePHolderHelptextSet() Sets the help text for the navigator pane
component.

Version Number of the Creo Parametric


New Function Description
ProEngineerReleaseNumericversionGet Gets the version number of the Creo
() Parametric executable to which the
Creo Parametric TOOLKIT
application is connected.

Views
New Function Description
ProViewIdFromNameGet() Gets the ID of the view.

Summary of Technical Changes 31


Windows
New Function Description
ProAccessorywindowAboveactivewin- Displays the accessory window always
dowSet() above the active window.

Superseded Functions
This section describes the superseded functions for Creo Parametric TOOLKIT
for Creo Parametric 2.0.

Annotations
Superseded Function New Function
ProDimensionDisplayUpdate() ProAnnotationDisplay()
and
ProAnnotationUndisplay()
ProAnnotationErase() ProCombstateAnnotationErase()

Dimension Feature Owner


Superseded Function New Function
ProDimensionFeatureGet() ProDimensionOwnerfeatureGet()

Dimensions
Superseded Function New Function
ProDimensionTextGet() ProDimensionTextWstringsGet()
ProDimensionTextSet() ProDimensionTextWstringsSet()
ProDrawingDimensionTextstyleGet() ProAnnotationTextstyleGet()

Parameters
Superseded Function New Function
ProParameterValueGet() ProParameterValueWithUnitsGet()
ProParameterValueSet() ProParameterValueWithUnitsSet()
ProParameterCreatePreAction() ProParameterCreateWithUnits
PreAction()
ProParameterModifyPreAction() ProParameterModifyWithUnits

32 Creo® Parametric TOOLKIT 2.0 Release Notes


Superseded Function New Function
PreAction()
ProParameterModifyPostAction() ProParameterModifyWithUnits
PostAction()
ProParameterDeletePostAction() ProParameterDeleteWithUnits
PostAction()

Relations
Superseded Function New Function
ProRelationEval() ProRelationEvalWithUnits()

Support for Pro/Develop Functions


From Creo Parametric 2.0 onwards, all the Pro/Develop functions are obsolete.
Refer to the header file pd_proto_deprecated.h for recommended
equivalent Creo Parametric TOOLKIT functions in Creo Parametric. The Pro/
Develop header files and related support files will not be shipped in future
releases.

Support for Pro/INTRALINK 3.4 Functions


From Creo Parametric 1.0 M050 onward, the following Pro/INTRALINK 3.4
functions have been deprecated. The corresponding functions can be used only
after migrating to Pro/INTRALINK 10.0.
Superseded Function New Function
ProCurrentWorkspaceGet() ProServerWorkspaceGet()
ProServerWorkspacesCollect()
ProWorkspaceRegister() ProServerRegister()
ProObjModelsCheckOut() ProServerObjectsCheckout()
ProServerMultiobjectsCheckout()
ProEngineerConnectWS() ProEngineerConnect()
ProObjRenamedInWSSessionSync() No equivalent function
ProWorkspaceStatusUpdate() No equivalent function

Summary of Technical Changes 33


Support for ProMirrorGeometry.h
From Creo Parametric 2.0 M070 onward, the header file
ProMirrorGeometry.h is no longer supported. Use the header file
ProFlexMirror.h instead to mirror geometry.

Miscellaneous Technical Changes


The following changes in Creo Parametric 2.0 can affect the functional behavior
of Creo Parametric TOOLKIT. PTC does not anticipate that these changes cause
critical issues with existing Creo Parametric TOOLKIT, Creo Elements/Pro
TOOLKIT, or Pro/TOOLKIT applications.

Change in the Duration for ProUIDialogTimerStart()


From Creo Parametric 2.0 M180 onward, in the function
ProUIDialogTimerStart() the minimum time interval for the input
argument duration has been changed from 500 milliseconds to 100
milliseconds.

Configuration Option for Displaying Accessory


Window on Top
From Creo Parametric 2.0 M100 onward, a new configuration option
accessory_window_above allows you to control the display of accessory
window on top of the active window.

Documentation Updated for Element PRO_E_TOOL_


MTN_TURN_CORNER_ARR
The element tree documentation for the element PRO_E_TOOL_MTN_TURN_
CORNER_ARR in the header files ProMfgElemToolMtnProfTurn.h,
ProMfgElemToolMtnGrooveTurn.h, and
ProMfgElemToolMtnAreaTurn.h has been updated in Creo Parametric 2.0
M110. The element is now correctly documented as the child of PRO_E_TOOL_
MTN_TURN_PROF.

Documentation Updated for


ProAsmcompConstraintsSet()
The documentation for the function ProAsmcompConstraintsSet() in the
header file ProAsmcomp.h has been updated in Creo Parametric 2.0 M100 to
correctly reflect its behavior.

34 Creo® Parametric TOOLKIT 2.0 Release Notes


Documentation Updated for
ProDimensionAnnotationelemCreate()
The documentation for the function
ProDimensionAnnotationelemCreate() in the header file
ProDimension.h has been updated in Creo Parametric 2.0 M170 to include
the error type PRO_TK_NOT_VALID. The error indicates that the driving
dimension annotation element (DDAE) was not created because the orientation
defined for the annotation was not in frozen state.

Documentation Updated for ProMdlGtolVisit()


The documentation for the function ProMdlGtolVisit() in the header file
ProMdl.h has been updated in Creo Parametric 2.0 M150 to include all the error
types returned by the function. The error types PRO_TK_BAD_INPUTS, PRO_
TK_GENERAL_ERROR, and PRO_TK_E_NOT_FOUND have been documented.
The error type PRO_TK_BAD_INPUTS specifies that one or more inputs are not
valid. PRO_TK_GENERAL_ERROR specifies that the function visit has been
stopped by a value returned by the visit action. PRO_TK_E_NOT_FOUND
indicates that there are no valid geometric tolerances defined in the specified
model.

Documentation Updated for


ProServerObjectIsModified() and
ProServerObjectStatusGet()
The documentation for the output arguments modifiedLocally and
modified for the functions ProServerObjectIsModified() and
ProServerObjectStatusGet() respectively was incorrect in the header
file ProWTUtils.h. The documentation has been updated in Creo Parametric
2.0 M070. The arguments return PRO_B_TRUE when the object is modified and
saved in the local workspace cache.

ECAD Area Feature


The area trim element PRO_E_ECAD_AREA_TRIM_BNDRS has been added in
the ECAD area element tree in the header file ProEcadArea.h. This element
trims the excess ECAD area that exceeds the boundary of the electric board.
PRO_ECAD_AREA_TYPE_FLEX_REGION, a new ECAD area definition type,
has been added to the enumerated data type ProEcadAreaType in the header
file ProEcadArea.h. It specifies the area created using the Flexible Modeling
features.

Summary of Technical Changes 35


Enhancement to Flange or Unattached Wall feature
From Creo Parametric 2.0 onward, the functionality for flange feature, or
unattached wall feature has been enhanced and the default value for the step PRO_
E_SMT_WALL_SHARPS_TO_BENDS has been changed to PRO_B_TRUE. To
retain earlier behavior of the feature, set the default value of this step to PRO_B_
FALSE.
Forward compatibility for legacy Toolkit applications that do not explicitly define
the step PRO_E_SMT_WALL_SHARPS_TO_BENDS will be broken. To work
around this issue set the configuration option smt_add_bends_on_sharp_
edges to no in the Creo Parametric session before running the application.

Exporting Quilts in a Model


From Creo Parametric 2.0 M040 onward, a new configuration flag PRO_FACET_
INCLUDE_QUILTS has been added in the header file ProUtil.h. You can use
the function ProOutputInclusionWithOptionsSet() to set the
configuration flag to include quilts in the export of facets of a Creo Parametric
model to the specified format.

Fifth Argument of the function ProSelect()


From Creo Parametric 1.0 M040 onward, the fifth argument (sel_env) of the
function ProSelect() allows the user to pass a set of attributes using the
function ProSelectionEnvAlloc().

Flex Move Feature


From Creo Parametric 1.0 M010 onward, the element data types of the following
elements have been updated from PRO_VALUE_TYPE_SELECTION to PRO_
ELEM_TYPE_MULTI_VALUE:
• PRO_E_FLEXMOVE_DIM_REFS
• PRO_E_FLEXMOVE_DTM_REF

Item Types PRO_PSEG_START and PRO_PSEG_


END—Start and End of Pipe Segments
From Creo Parametric 2.0 M160 onward, two new item types, start of pipe
segment PRO_PSEG_START and end of pipe segment PRO_PSEG_END, have
been added to the enumerated data type ProType. In the function
ProSelect(), for the input argument option, specify the value as pipeseg_
end to select the start and end of a pipe segment.

36 Creo® Parametric TOOLKIT 2.0 Release Notes


You can create pipe connects from a XML file using the item types PRO_PSEG_
START and PRO_PSEG_END.

License Information for


ProDimensionIsAccessibleInModel()
From Creo Parametric 2.0 M180 onward, the function
ProDimensionIsAccessibleInModel() is no longer under license
option 222, that is, the TOOLKIT-for-3D_Drawings license. It is available with
the Creo Parametric TOOLKIT license.

Model Names in Symbolic Representation


All the models opened in symbolic representation by default now have visible
names same as the master representation.

NC
New functions have been added for NC.

Manufacturing Holemaking Hole Set


The compound element PRO_E_HOLESET_GANG_TOOL_INFO with its sub
elements has been added in the holemaking hole set element tree in the header file
ProMfgFeatHolemaking.h. These elements allow you to specify the gang
tool properties.

Multiple Reference Selection for NC Steps


The element PRO_E_MFG_PROCESS_REF allows multiple selections of
references. The element is defined for the following NC steps:
NC Step Header File
Roughing ProMfgFeatRoughing.h
Reroughing ProMfgFeatReroughing.h
Finishing ProMfgFeatFinishing.h
Corner Finishing ProMfgFeatCornerFinishing.h
2–Axis Curve Trajectory Milling ProMfgFeat2xCurvTraj.h
3–Axis Trajectory Milling ProMfgFeatTrajectory.h
Profile Milling ProMfgFeatProfMilling.h
Manual Cycle ProMfgFeatManualCycle.h
Thread Milling ProMfgFeatThreadMilling.h
Area, Groove, and Profile Turning ProMfgFeatTurning.h
Thread Turning ProMfgFeatTurnThread.h

Summary of Technical Changes 37


NC Step Header File
Holemaking ProMfgFeatHolemaking.h
Face Milling ProMfgFeatFacing.h

NC Steps
You can access the NC steps using the element trees in the following table:
NC Step Header File
Cut Line Milling ProMfgFeatCutlineMilling.h
Engraving ProMfgFeatEngraving.h
Drill Group ProMfgFeatDrillGroup.h

Setting the Size of User Interface (UI) Components


The following functions will fail, if you specify a value smaller than the minimum
size for the input arguments width or height:
• ProUIDrawingareaSizeSet()
• ProUIInputpanelSizeSet()
• ProUILabelSizeSet()
• ProUILayoutSizeSet()
• ProUIListSizeSet()
• ProUIOptionmenuSizeSet()
• ProUIProgressbarSizeSet(
• ProUIPushbuttonSizeSet()
• ProUIRadiogroupSizeSet()
• ProUISliderSizeSet()
• ProUISpinboxSizeSet()
• ProUITabSizeSet()
• ProUITableSizeSet()
• ProUITextareaSizeSet()
• ProUIThumbwheelSizeSet()
• ProUITreeSizeSet()
• ProUICheckbuttonSizeSet()

38 Creo® Parametric TOOLKIT 2.0 Release Notes


Updates to the header file ProMfgFeat2xCurvTraj.h
The elements PRO_E_MFG_LOOP_SURF_REF and PRO_E_FF_TRAJ_FLIP_
OPT have been added in the header file ProMfgFeat2xCurvTraj.h. The
element PRO_E_MFG_LOOP_SURF_REF allows you to select the surfaces for
which the loops of edges must be collected for machining. The element PRO_E_
FF_TRAJ_FLIP_OPT flips the machining direction of the tool.

New Unit Type for Rotational Displacement


From Creo Parametric 2.0 M200 onward, a new unit type PRO_UNITTYPE_
ROTATIONAL_LENGTH_SPECTDENS has been added to the enumerated data
type ProUnitType for measuring rotational displacement in Rad^2/Q.

Pipe Connect Feature


You can access and create the pipe connect feature using the element tree in the
header file ProPipConnect.h.

Sheetmetal Join Feature


You can access and create the Join feature using the element tree in the header file
ProSmtJoinWalls.h.

Sheetmetal Sketch Form Feature


You can access and create the Sketch Form feature using the element tree in the
header file ProSmtSketchForm.h.

Shut-off Surface Feature


You can programmatically access and create the shut-off surface feature in Mold
Design and Casting module. Access to this feature is via the element tree in the
header file ProMoldShutSrf.h.

Support Import and Export of Assembly and Part


Level Colors from Creo View
From Creo Parametric M070 onward, you can override the assembly and part
level colors during the import and export between Creo View and Creo Parametric
files.

Summary of Technical Changes 39


Updates in Enumerated Data Type ProColor
From Creo Parametric M080 onward, two new values PRO_COLOR_SS_UPD_
CONTROL_GROUP and PRO_COLOR_SS_CONTAINS_MATHCAD_
WORKSHEET have been added to the enumerated data type ProColor in the
header file ProToolkit.h.
The search query uses the color:
• PRO_COLOR_SS_UPD_CONTROL_GROUP—To highlight the search result.
The search result depends on the search query used in the TOOLKIT
application
• PRO_COLOR_SS_CONTAINS_MATHCAD_WORKSHEET—To highlight the
models that contain Mathcad worksheet.

Updates to the function ProAnnotationDisplay() and


ProAnnotationUndisplay()
The functions ProAnnotatonDisplay() and
ProAnnotationUndisplay() should be used together. To edit a shown
annotation, it must be first undisplayed using the function
ProAnnotationUndisplay() followed by the editing function calls, and
finally must be redisplayed using the function ProAnnotationDisplay().

Updates to the function


ProCablingNeutralwirelistImport()
The prototype of the function ProCablingNeutralwirelistImport()
has been updated to accept the first argument as ProAssembly instead of
ProHarness.

Updates to the function ProIntfDataDatumGet()


From Creo Parametric 1.0 M020 onward, use the function
ProDatumdataMemoryFree() instead of ProDatumdataFree() to
release the memory after using the function ProIntfDataDatumGet().

40 Creo® Parametric TOOLKIT 2.0 Release Notes


Updates to the function
ProMdlPrincipalunitsystemSet()
While updating the principal system of units in an assembly environment, update
the system of units in the following order:
1. Update the system of unit for all the parts separately. Update the parts using
the following procedure:
a. Retrieve the parts.
b. Update the units.
c. Save the part and erase it from the current session.
2. Update all the sub-assemblies, that either need to be changed, or contain
already processed components.
3. Update the topmost level assembly.

Summary of Technical Changes 41

You might also like