[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]

Command Syntax Changes and Enhancements

This document describes:

Contents

Changes in Creo Elements/Direct Modeling 20.2

Command Command Description Module Change Compatible with previous version
CREATE_THUMBNAIL Creates "thumbnail" screenshots of Creo Elements/Direct Modeling viewports. Base goody is removed and official functionality can be accessed via the save picture option. Command available with modified syntax.
GENERAL_SWEEP_ADD sweep a profile along a spine, add material Base replaced with GENERAL_SWEEP_DIA new command with same syntax, additional parameter :add_material must be specified
GENERAL_SWEEP_REM sweep a profile along a spine, remove material Base replaced with GENERAL_SWEEP_DIA new command with same syntax, additional parameter :remove_material must be specified
HELIX_ADD create a helix, add material Base replaced with HELIX_DIA new command with same syntax, additional parameter :add_material must be specified
HELIX_REM remove material from a part using a helix Base replaced with HELIX_DIA new command with same syntax, additional parameter :remove_material must be specified

Function Index Top of Page

Command Syntax Changes and Enhancements in Past Releases

Changes in Creo Elements/Direct Modeling 17.0

Command Command Description Module Change Compatible with previous version
AM_DELETE_OLE Dialog used to delete an OLE Annotation replaced by AM_DELETE :docu_ole .. Old command available, but without any functionality
AM_FRAME_RENAME Dialog used to rename the frame of a sheet Annotation replaced by AM_SHEET_PROP :the_sheet Sheet :frame-name NewName Old command still available for compatibility (in 17.x only)
AM_LOAD_TABLE AM_SAVE_TABLE Dialog used to load/save dimension fix texts 3D Documentation
Annotation
replaced by automatic load (in SD/SITE/CORP/USER directory) using file name all_dimension_texts.fix on module startup and saved automatically on OSD exit. Old commands still available for compatibility in 17.x only),
but it is highly recommended to remove the calls from elder d3d_customize / am_customize files.
AM_LOAD_TABLE_TOL AM_SAVE_TABLE_TOL Dialog used to load/save dimension tolerance texts 3D Documentation
Annotation
replaced by automatic load (in SD/SITE/CORP/USER directory) using file name all_dimension_texts.tol on module startup and saved automatically on OSD exit. Old commands still available for compatibility (in 17.x only),
but it is highly recommended to remove the calls from elder d3d_customize / am_customize files.
AM_MODIFY_SHEET_SCALE Dialog used to change the scale of a sheet Annotation replaced by AM_SHEET_PROP :the_sheet Sheet :new_scale NewScale Old command still available for compatibility (in 17.x only)
AM_MOVE_OLE Dialog used to move an OLE Annotation replaced by AM_MOVE :sel_mode :ole :sel_list .. Old command available, but without any functionality
AM_SHEET_RENAME Dialog used to rename a sheet Annotation replaced by AM_SHEET_PROP :the_sheet Sheet :name NewName Old command still available for compatibility (in 17.x only)
AM_SHEET_RESIZE Dialog used to resize a sheet / changes it's frame type Annotation replaced by AM_SHEET_PROP :the_sheet Sheet :frame-type FrameType Old command still available for compatibility (in 17.x only)
AM_SKETCH_MOVE Dialog used to move a sketch Annotation replaced by AM_MOVE :sel_mode :sketch :sel_list ... Additional capability to copy a sketch, also multiple times. Old command still available for compatibility (in 17.x only)
AM_SKETCH_OWNER Dialog used to change the owner of a sketch Annotation replaced by AM_MOVE :sel_mode :sketch :sel_list ... :show_owner ... The more convenient drag&drop in Annotation drawing browser is working as before. Old command still available for compatibility (in 17.x only)
AM_SKETCH_RENAME Dialog used to rename a sketch Annotation replaced by AM_SKETCH_PROP :sketch Sketch :name NewName Old command still available for compatibility (in 17.x only)
AM_SKETCH_RESIZE Dialog used to resize a sketch Annotation replaced by AM_SKETCH_PROP :sketch Sketch :size_proportional :on :rel_width RezizeFactor*100 Additional capability to resize a sketch by absolute values, and non proportional stretching. Old command still available for compatibility (in 17.x only)
AM_SKETCH_ROTATE Dialog used to rotate a sketch Annotation replaced by AM_SKETCH_PROP :sketch Sketch :rel_angle RotAngle Old command still available for compatibility (in 17.x only)
docu-create-image-for-file-based-symbol Convience function for am_customize to create thumbnails for old style symbol registration. Annotation removed
was introduced in version 15.00 for automatic thumbnail creation on module startup.
Compatibility phase terminated.

Function Index Top of Page

Changes in CoCreate Modeling 2008

Command Command Description Module Change Compatible with previous version
COCREATE_CUST_FEAT_PATTERN Dialog used to create patterns. Base replaced with PATTERN_DEFINE Old command still available for compatibility,
but the old custom-feature based patterns are obsoleted - therefore the command should not be used anymore.
CHANGE_PATTERN_RADIUS Dialog used to change the radius of radial patterns. Base replaced with PATTERN_DEFINE Old command still available for compatibility,
but the old custom-feature based patterns are obsoleted - therefore the command should not be used anymore.
MODIFY_CUSTOM_FEATURE doesnt operate on patterns anymore Dialog used to modify patterns. Base replaced with PATTERN_DEFINE Old command still available,
but the new patterns cannot be modified with this command
DELETE_CUSTOM_FEATURE doesnt operate on patterns anymore Dialog used to delete patterns. Base replaced with PATTERN_DELETE Old command still available,
but the new patterns cannot be deleted with this command
RENAME_FEATURE doesnt operate on patterns anymore Dialog used to rename patterns. Base replaced with PATTERN_RENAME Old command still available,
but the new patterns cannot be renamed with this command

Function Index Top of Page

Changes in CoCreate OneSpace Modeling 2007

Command Command Description Module Change Compatible with previous version
PART_PROP, FACE_PROP Dialogs used for part and face properties. Base New appearance options for dealing with surface material, when Rendering module active.
Reflectance color and reflectance power obsoleted.
Old options still available for compatibility.
DYNAMO subaction, used in
POS_DYNAMIC,
CFN_EXPLODE (via CFN_EXPLODE_SA),
POS_CREATE_COORDINATE_SYSTEM,
COMPARE_PARTS,
ANIM_CREATE_ANIMATION_DEFINE
Subdialog used for positioning parts, workplanes, faces etc. Base Selection of positioning mode redesigned.
New options for displaying and manipulating current values, mate/align without requiring advanced assemblies module, and other methods such as pt-pt-pt, pt-dir-pt and by-ref-CS that were previously in POSITION_PA.
In interactive mode, preselected obejcts are always inserted in the selected mode. If no preselected objects exist, then Direct/Selected option is initialized with last used state, based on session persistent data storage (PDS).
Available command "Position Dynamic Assembly" obsoleted and replaced by "Position Dynamic".
Old options still available for compatibility.
POSITION_PA Dialog used for positioning parts and assemblies Base Replaced by POS_DYNAMIC. Old command is still accessible.
Annotation default setting commands and functions Various Annotation Replaced with settings in Default Settings Browser. Old commands may still exist for compatibility reasons
AM_MOD_HATCH_PATTERN,
AM_MOD_HATCH_ANGLE
AM_MOD_HATCH_DIST
AM_MOD_HATCH_COLOR
AM_MOD_HATCH_LINETYPE
AM_MOD_HATCH_REF_POINT
Modification of pattern, angle, distance, color, linetype or reference point of a hatch Annotation Obsolete and replaced with AM_HATCH_MODIFY Old commands are not accessible any more.
AM_LABEL_WIZARD Command to transfer free 3D annotations to a 2D drawing Annotation Obsolete and replaced with AM_DOCUPLANE_LABEL_WIZARD Old command is not accessible any more.
Annotation text input Commands which expect text as input for a 2D drawing Annotation The '\xxx' syntax to enter any character by its character code in text fields is not supported. Registration and useage of Annotations special characters is recommended. Old syntax not supported any more.
AM_SECURE_PART_FROM_SECTION Command to secure a part from sectioning Annotation Obsolete and replaced with SECURE_PART_FROM_SECTION Old command is not accessible any more.
ANIM_CREATE_ANIMATION Definition of animations Animation Added more options like :next_group and :reset_position Compatible with previous version

Function Index Top of Page

Changes in OneSpace Designer 2006

Command Command Description Module Change Compatible with previous version
PART_PROP Part Properties Base Recorder file changes Remove following lines in previously recorded files: ":geo_res_value_query :on" and ":RESOL_NUMBER resolution".
WP_PROP Workplane Properties Base Recorder file changes Remove following lines in previously recorded files: ":geo_res_value_query :on" and ":RESOL_NUMBER resolution".
SET_PART_BASE_COLOR Set Selected Part Base Property: Color Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_PART_BASE_TRANSPARENCY Set Selected Part Base Property: Transparency Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_PART_BASE_REFLECTANCE Set Selected Part Base Property: Reflectance Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_PART_BASE_DENSITY Set Selected Part Base Property: Density Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_PART_RESOLUTION Set Selected Part Base Property: Resolution Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_PART_INST_COLOR Set Selected Part Instance Property: Color Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_PART_INST_REFLECTANCE Set Selected Part Instance Property: Reflectance Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_PART_INST_DENSITY Set Selected Part Instance Property: Density Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_WP_COLOR Set Selected WP Property: Color Base Replaced with WP_PROP Old command has no UI but is still accessible.
SET_WP_BORDER_TYPE Set Selected WP Property: Border Type Base Replaced with WP_PROP Old command has no UI but is still accessible.
SET_WP_MIN_SIZE Set Selected WP Property: Set Min Size Base Replaced with WP_PROP Old command has no UI but is still accessible.
COPY_WP_MIN_SIZE Copy Selected WP Property: Copy Min Size Base Replaced with WP_PROP Old command has no UI but is still accessible.
CREATE_WP_TEMP_LOCAL_AXIS, CLEAR_WP_TEMP_LOCAL_AXIS Set and Clear Selected WP Property: Local Axis Base Replaced with WP_PROP Old commands have no UI but are still accessible.
SET_WP_GRID_SIZE Set Selected WP Property: Set Grid Size Base Replaced with WP_PROP Old command has no UI but is still accessible.
SET_WP_GRID_MODE Set Selected WP Property: Set Grid Mode Base Replaced with WP_PROP Old command has no UI but is still accessible.
SET_WP_GEO_RESOL Set Selected WP Property: Geo Resolution Base Replaced with WP_PROP Old command has no UI but is still accessible.
SET_EDGE_COLOR_2D, CLEAR_EDGE_COLOR_2D Set 2D Edge Property: Color Base Replaced with EDGE_2D_PROP Old commands have no UI but are still accessible.
SET_EDGE_STYLE, CLEAR_EDGE_STYLE_2D Set 2D Edge Property: Style Base Replaced with EDGE_2D_PROP Old commands have no UI but are still accessible.
SET_FACE_COLOR, CLEAR_FACE_COLOR, COPY_FACE_COLOR Set Face Property: Color Base Replaced with FACE_PROP Old commands have no UI but are still accessible.
SET_FACE_REFLECTANCE, CLEAR_FACE_REFLECTANCE, COPY_FACE_REFLECTANCE Set Face Property: Reflectance Base Replaced with FACE_PROP Old commands have no UI but are still accessible.
SET_FACE_TRANSPARENCY, CLEAR_FACE_TRANSPARENCY, COPY_FACE_TRANSPARENCY Set Face Property: Transparency Base Replaced with FACE_PROP Old commands have no UI but are still accessible.
SET_PART_ACCURACY Set Part Facet Accuracy Base Replaced with PART_PROP Old command has no UI but is still accessible.
SET_FACE_ACCURACY Set Face Facet Accruacy Base Replaced with FACE_PROP Old command has no UI but is still accessible.
SET_EDGE_COLOR, CLEAR_EDGE_COLOR, COPY_EDGE_COLOR Set Edge Property: Color Base Replaced with EDGE_3D_PROP Old commands have no UI but are still accessible.
AM_CREATE_DWG Create a new drawing Annotation Replaced with AM_CREATE_DRAWING Old command is obsolete but still accessible. Please replace with new command.
AM_CREATE_STANDARD
Add a new standard view
Annotation
Replaced with AM_CREATE_STANDARD_VIEWS
Old command is obsolete but still accessible (without UI). Please replace with new command.
AM_CREATE_VSET
AM_ACTIVE_VSET
AM_DEL_VSET
View set creation, activation and deletion
Annotation
Obsolete and replaced with implicit commands during Drawing and View creation
Old commands are still accessible.
AM_VSET_MASTER View set master selection Annotation
Obsolete and replaced with new command PA_SEL_MASTER_2D
to be found in OSDModeling, Part / Assembly Menu 1, Selective Instancing, Sel Master 2D
Partly compatible. Correct syntax need to be checked.
AM_SHOW_VIEW_CONTENTS
Show contents of a selected view
Annotation
Options to toggle columns on and off removed from dialog. Now sequential loop around view selection.
Not compatible. All options need to be removed from command call.
AM_VIEW_PROP
Properties dialog for selected view
Annotation
Several incompatible syntax changes plus several enhancements
Partly compatible. Correct syntax need to be checked.
AM_MODIFY_HIDDEN_LINE
Modify hidden line properties of a view
Annotation
Replaced with AM_VIEW_PROP
Old command is obsolete and need to be made accessible with (load "old_modify_view_props") if necessary.
AM_MODIFY_TAN_EDGES
Modify tangent edge properties of a view
Annotation
Replaced with AM_VIEW_PROP
Old command is obsolete and need to be made accessible with (load "old_modify_view_props") if necessary.
AM_MODIFY_NORMAL_LINE
Modify normal line properties of a view
Annotation
Replaced with AM_VIEW_PROP
Old command is obsolete and need to be made accessible with (load "old_modify_view_props") if necessary.
AM_MODIFY_VIEW_VISIBILITY
Modify line visibility properties of a view
Annotation
Replaced with AM_VIEW_PROP
Old command is obsolete and need to be made accessible with (load "old_modify_view_props") if necessary.
AM_MODIFY_VIEW_POSITIONING
Modify view positioning strategy of a view
Annotation
Replaced with AM_VIEW_PROP
Old command is obsolete and need to be made accessible with (load "old_modify_view_props") if necessary.
AM_APPLY_VIEW_PROFILE
Apply a view profile to a view
Annotation
Replaced with AM_VIEW_PROP
Old command is obsolete and need to be made accessible with (load "old_modify_view_props") if necessary.
AM_THREAD_MODE
Modify thread line visibility of a view
Annotation
Replaced with AM_VIEW_PROP
Old command is obsolete and need to be made accessible with (load "old_modify_view_props") if necessary.
AM_GEO_SET_DOMAIN
Set owner for geometry, text and symbols
Annotation
Obsolete. Replaced with owner specification within each command.
Not compatible. Option :go :ok needs to be removed from each geometry, construction geometry, text and symbol creation command.
AM_WRITE_SYMBOL_REGISTRATION
AM_READ_SYMBOL_REGISTRATION
Commands to save and load symbol registration files
Annotation
Obsolete. Replaced with full automatic registration, storage and reload on next startup.
Old commands are obsolete and need to be made accessible with (load "old_symbol_registration") if necessary.
AM_DIM_DEC_PLACES, AM_DIM_RESET_VALUE,
AM_DIM_EDIT_VALUE
Commands to change the dimension format and values
Annotation
Obsolete. Replaced with AM_DIM_PROPS
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary.
AM_DIM_ADD_FIXTEXT,
AM_DIM_DELETE_FIXTEXT
Commands to add and delete dimension fix texts
Annotation
Obsolete. Replaced with AM_DIM_PROPS
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary.
AM_DIM_ADD_TOLERANCE,
AM_DIM_CON_TOLERANCE,
AM_DIM_DELETE_TOLERANCE
Commands to add, convert and delete dimension tolerances
Annotation
Obsolete. Replaced with AM_DIM_PROPS
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary.
AM_MODIM_COMMON_TEXT,
AM_MODIM_TEXT_SIZE
Commands to change common dimension text properties and sizes
Annotation
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary. Old commands have no UI but are still accessible.
AM_MODIM_APPLY_STYLE
Command to apply a specific style to selected dimensions
Annotation
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary. Old command has no UI but is still accessible.
AM_MODIM_UNIT
Command to change the dimension units
Annotation
Obsolete. Replaced with AM_DIM_PROPS
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary.
AM_MODIM_ARROW_LINE
Command to change the dimension arrow and line properties
Annotation
Obsolete. Replaced with AM_DIM_PROPS
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary.
AM_DIM_REATTACH,
AM_DIM_VX_KEEP_TEXT,
AM_DIM_VX_MOVE_TEXT
Commands to reattach a dimension to new geometry
Annotation
Obsolete. Replaced with interactive dimension footer point handle functionality.
Old command is obsolete and need to be made accessible with (load "old_am_dimension") if necessary.
AM_MOD_SYM_ANGLE,
AM_MOD_SYM_COLOR,
AM_MOD_SYM_SIZE
Commands to modify the angle, color or scale of a symbol Annotation
Obsolete. Replaced with AM_SYMBOL_SETTINGS_MODIFY. Old commands still available as goody.

Function Index Top of Page

Changes in OneSpace Designer 2005

Command Command Description Module Change Compatible with previous version
CREATE_MULTIPLE_PA Copy/Share a part or assembly Base Default owner of copy/share is no longer root "/", but the owner of the selected source item if this is not read-only. Not compatible if new owner has not been specified explicitly.
Use (elan::set-copy-pa-default-owner :root t) to get the previous behavior back.
CREATE_MULTIPLE_PA_ARRAY Create linear copies/shares of a part or assembly Base Default owner of copy/share is no longer root "/", but the owner of the selected source item if this is not read-only. Not compatible if new owner has not been specified explicitly.
Use (elan::set-copy-pa-default-owner :root t) to get the previous behavior back.
CREATE_MULTIPLE_PA_RADIAL Create radial copies/shares of a part or assembly Base Default owner of copy/share is no longer root "/", but the owner of the selected source item if this is not read-only. Not compatible if new owner has not been specified explicitly.
Use (elan::set-copy-pa-default-owner :root t) to get the previous behavior back.
STRAIGHT_CREATION Create a 3D straight line. Base Replaced with CREATE_STRAIGHT Old command is obsolete but still accessible.
CIRCLE_CREATION Create a 3D circle. Base Replaced with CREATE_CIRCLE Old command is obsolete but still accessible.
ARC_CREATION Create a 3D arc. Base Replaced with CREATE_ARC Old command is obsolete but still accessible.
SPLINE_DIALOG Create and modify a 3D spline curve. Base Replaced with two dialogs CREATE_BSPLINE and MODIFY_BSPLINE Old command is obsolete but still accessible.
CONICAL_SPIRAL, HELICAL_SPIRAL, PLANAR_SPIRAL Create a 3D conical, planar, or helical spiral. Base Replaced with one single dialog SPIRAL Old command is obsolete but still accessible.
CURVE_ON_SURFACE_CREATION Create a 3D curve on a surface. Base Replaced with CREATE_CURVE_ON_SURFACE Old command is obsolete but still accessible.

[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]
© 2019 Parametric Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved