SmartAssembly 8.0 Release Notes - last update July 28, 2022.
SmartAssembly 8.0.0.0
datecode 2021-05-04-01
Enhancements
Support of Creo 8.0
New command EMBED_COMPONENT to embed a component to an inseparable assembly.
New command EXTRACT_COMPONENT to extract an embedded component.
New logical expression IS_EMBEDDED to test if a component is embedded.
New option MESSAGE_SYMBOL for PRINT to specify the symbol before the message.
New command CLEAR_MESSAGE_AREA to clear the message area.
The option TOOLTIP for the commands CHECKBOX_PARAM, RADIOBUTTON_PARAM, SHOW_PARAM, USER_COLLECT, USER_DROP_DOWN, USER_INPUT_PARAM, USER_LIST_BOX, USER_SELECT, USER_SELECT_MULTIPLE, USER_SELECT_MULTIPLE_OPTIONAL, USER_SELECT_OPTIONAL and USER_TEXT_BOX is now dynamically updated for changes in variables. This is also working for the tooltip images driven by IMAGE.
The options MIN_VALUE and MAX_VALUE for the command USER_INPUT_PARAM is now dynamically updated for changes in variables.
datecode 2021-05-27-01
Bugfixes
The command SHOW_DRW_ANNOTATION failed to show non-driving dimensions. This is fixed now.
The command GET_ANNOTATION_REFS did not show all references for annotations which are member of an annotation features. This is fixed now.
The command SET_DRW_NOTE_TEXT_FONT converted parameter content to plain text. This is fixed now.
The command GET_FAMITEM_SYMBOL failed for components. This is fixed now.
The commands SET_MDL_NAME and USE_LIBRARY_MDL removed existing PDMLink parameters since 2020-12-01-01. This is fixed now.
The command EXCEL_SAVE_DOCUMENT stored the Microsoft Excel document with a new name always in the .xlsx format, regardless which extension had been specified. This is fixed now.
The command READ_NOTE_EX failed in case the annotation plane reference was missing. This is fixed now.
The command GET_COMP_VIEW_ANNOTATION_VISIBILITY failed for notes in an specific example. This is fixed now.
The command GET_DRW_VIEW_REF_POS was calculating wrong results for features. This is fixed now.
The command WEBSERVICE_CALL did not decode UTF-8 encoded strings with byte order mark correctly. This is fixed now.
The command CREATE_BODY was failing directly after creating the body. This is fixed now.
The command READ_NC_STEP was failing for specific steps. This is fixed now.
Enhancements
The new custom_headers structure element for HTTP_HEADER_REQUEST and HTTP_HEADER_RESPONSE allows to send and receive custom headers by the WEBSERVICE_CALL command.
Enabled CATCH_ERROR support for the command READ_NOTE_EX in case the note information could not be extracted.
New command SET_REF_UV_PARAM to set the the uv position on a surface, edge or curve reference.
New command CALC_POS_PARAM to calculate the uv parameters on a geometrical reference for given coordinates.
datecode 2021-07-12-01
Bugfixes
The command READ_NOTE_EX delivered wrong results in situations where datum points where increasing the outline. This is fixed now.
The command USE_LIBRARY_MDL failed in situations where the model name was defined by an environment variable. If only the path was using environment variables, the error did not occur. This is fixed now.
The command GET_UDF_DATA listed the type of a body reference as UNKNOWN instead of BODY. This is fixed now.
The command ODBC_QUERY returned wrong results for the data type long Integer in Microsoft Access when the option OPTIMIZE_NETWORK_TRAFFIC was not enabled. This is fixed now.
The command CREATE_SYMBOL was failing when a drawing was the current model on the screen and the symbol was to be created in the drawing model. This is fixed now.
The commands CREATE_RELATION and CREATE_FEATURE_RELATION have expanding variables only to one line, even if it contained line breaks. This is fixed now.
The command SHOW_DIM_ANNOTATION failed for dimensions obtained by SEARCH_DRW_VIEW_DIMS. This is fixed now.
The command WEBSERVICE_CALL failed to retrieve string data correctly for gzip encoded, but non chunked message body from a Microsoft IIS SOAP service. This is fixed now.
The command SET_VARIED_ITEM_VALUE for a variant parameter was also changing the generic model. This is fixed now for Creo 4.0 M040 and above.
The command READ_NC_STEP was failing for the NC tool parameters FLASH_TOOL and SWISS_TURN. This is fixed now.
The command GET_REF_TYPE reported UNKNOWN for the types INTENT_SURFACE and INTENT_EDGE. This is fixed now.
Enhancements
New configuration option COMPENGINE_MULTIPLE_WINDOWS to determine if the command SWITCH_TO_MDL and all commands which are switching the model on the fly are opening an additional window instead.
New command CREATE_SKELETON to create a new skeleton based on a template model.
New commands CREATE_SMT_FORM and READ_SMT_FORM to create and read sheetmetal punch forms and die forms.
New command GET_SMT_UNBEND_FIXED_REF to retrieve the fixed geometry reference of an unbend or a flat pattern feature.
New command EXPORT_NC_CL_FILE to export a CL file for a NC sequence or operation.
datecode 2021-07-28-01
Bugfixes
The command CREATE_COPY_GEOMETRY crashed for curve or composite curve references. This is fixed now.
The commands ADD_ANNOTATION_ELEMENT_REF and ADD_ANNOTATION_ELEMENT_REFS did not work correctly for annotation elements in sub components. This is fixed now.
The command SHOW_DIM_ANNOTATION showed dimensions with the glyph "unconverted". This is fixed now.
The commands FTP_UPLOAD_FILE and FTP_DOWNLOAD_FILE had failed for subdirectories of the users home path. This is fixed now.
Enhancements
New commands GET_PDM_LOCK_STATE and SET_PDM_LOCK_STATE to read and set the lock state of a model in PDMLink.
New options CHORD_HEIGHT, ANGLE_CONTROL and STEP_SIZE for the command EXPORT_FILE with type WAVEFRONT.
New command GET_ANNOTATION_ELEMENT_REFS to read the standard, surface or chain references.
New command REMOVE_ANNOTATION_ELEMENT_REF to remove standard, surface or chain references.
New command SET_ANNOTATION_ELEMENT_REF_STRENGTH to strengthen or weaken standard, surface or chain references.
New member collection_method for the structure SHRINKWRAP_OPTION supports to choose the collection method of shrinkwrap features.
SmartAssembly 8.0.1.0
datecode 2021-07-29-01
Enhancements
Identical to 2021-07-28-01, just the new version.
datecode 2021-08-11-01
Bugfixes
The command READ_GTOL_CREO4 showed leader references to witness lines as INVALID. This is fixed now. However there are limitations for this reference.
Searching for reference types and its content by WITH_CONTENT or WITH_CONTENT_NOT was also considering wildcards in the parameter content. This is fixed now.
The command SET_COLOR did not always set the defined color, but sometimes a color which was similar. This is fixed now.
The commands GET_REF_DEPEND_CHILD, GET_REF_DEPEND_CHILD_EX, GET_REF_DEPEND_CHILDREN, GET_REF_DEPEND_CHILDREN_EX, GET_REF_DEPEND_PARENT, GET_REF_DEPEND_PARENT_EX, GET_REF_DEPEND_PARENTS and GET_REF_DEPEND_PARENTS_EX did not properly distinguish between INTERNAL and EXTERNAL and did not capture all kind of dependencies. This is fixed now.
The commands SET_DRW_TABLE_COL_WIDTH and SET_DRW_TABLE_ROW_HEIGHT did not work correctly for drawing units. This is fixed now.
Enhancements
New option value for member use_true_type_fonts of the structure PDF_OPTION allows to stroke only non TrueType fonts at export.
Enabled CATCH_ERROR support for the command DELETE_MATERIAL in case the material could not be removed.
New command SET_ANNOTATION_PLANE_NAME to set the name of an annotation plane and add it to the gallery.
New command GET_ANNOTATION_PLANE_NAME to retrieve the name of an annotation plane.
New command GET_MDL_ACTIVE_ANNOTATION_PLANE to retrieve the active annotation plane of a model.
The command GET_MDL_ANNOTATION_PLANE is now also searching for named annotation planes additional to the standard ones.
New member bodies for structure COPY_GEOMETRY_OPTION to create copy geometry features based on bodies for Creo 7.0 and above.
Allow SHRINKWRAP_OPTION members included_components, included_surfaces and included_datums to be used in external shrink wraps.
New member excluded_surfaces of SHRINKWRAP_OPTION for creating shrink wrap features.
New member solidify for structure SHRINKWRAP_OPTION to solidify the resulting geometry of a shrink wrap.
New command GET_ACTIVE_EXPLODE_STATE to determine which is the active explosion state of an assembly.
New logical expression *IS_EXPLODED to detect if the supplied assembly model is exploded.
New member wrap_text for structure DRW_TABLE_FORMAT allows to query by GET_DRW_TABLE_FORMAT if text wrapping for a table cell is enabled.
New commands GET_COMB_VIEW_VISIBILITY_CONTROL and SET_COMB_VIEW_VISIBILITY_CONTROL to read and set the visibility control for annotations and supplemental geometry for combined views.
New commands ADD_ANNOTATION_REF and ADD_ANNOTATION_REFS to add one or multiple reference to annotations.
New option FLIP_DIRECTION for the commands MOVE_ANNOTATION_TO_PLANE and MOVE_ANNOTATION_TO_ORIENTATION allows to flip the orientation of the annotations.
datecode 2021-09-06-01
Bugfixes
The commands ADD_ANNOTATION_ELEMENT and ADD_ANNOTATION_ELEMENTS have been failing in case of an exploded assembly. This is fixed now.
The command SET_ANNOTATION_PLANE_NAME did not fail if the name was already existing, but deleted the existing plane from the gallery. This is fixed now.
The command CONFIG_HTML failed in case larger amounts of data had to be exchanged between the browser and SmartAssembly. This is fixed now.
Relative folder locations of the current library folder (e.g. lib:....) did not resolve correctly. This is fixed now.
The command GET_SURFACES_AT_POS did not work correctly in case the origin reference was not located in the surface owner model. This is fixed now.
The commands XML_GET_NODE, XML_GET_NODES, XML_GET_SIBLING_NODE, XML_GET_SIBLING_NODES and XML_QUERY_VALUES had accidentally resolved variable names in the attributes even if they are written in a quoted string. This is fixed now.
The commands GET_DRW_ANNOTATION_TEXT_STYLE and SET_DRW_ANNOTATION_TEXT_STYLE did not read and set the text font correctly. This is fixed now.
The command SET_DRW_NOTE_TEXT_FONT did not work for system drawing notes like the drawing view scale. This is fixed now.
The command MODIFY_GTOL_CREO4 for geometrical tolerances created in a drawing was erasing them in some situations. This is fixed now.
The command SEARCH_DRW_ITEMS for DRAWING_GTOL on geometric tolerances which have been created on a drawing dimension, the view was not correctly determined. This is fixed now.
Enhancements
New options USE_INDEX, USE_INDICES, USE_VALUE and USE_VALUES for USER_DROP_DOWN and USER_LIST_BOX to store selected values to variables and arrays and also to drive the selections of other graphical elements.
The commands DECLARE_ARRAY, GET_ARRAY_SIZE, GET_ARRAY_ELEM and FIND_ARRAY_ELEM are now also available in the graphical user interface.
New option SORT for USER_DROP_DOWN and USER_LIST_BOX allows to sort the input values, but preserves their indices. For the USER_LIST_BOX this also allows to select values by keyboard input.
New command GET_SERVER_LOCATION to retrieve the server location from active server or from the supplied alias.
New command GET_URL_FROM_ALIASED_URL to convert aliased PDMLink URLs to normal URLs.
New command CREATE_MATERIAL to create a new material.
CATCH_ERROR support and option ERROR_MESSAGE to capture error messages for ODBC_CONNECT, ODBC_QUERY, ODBC_GET_TABLES, ODBC_GET_TABLE_COLUMNS, ODBC_GET_COLUMN_TYPE, ODBC_EXECUTE and ODBC_COMMIT.
New option ERROR_MESSAGE to capture error messages for INFO_ENGINE_QUERY.
datecode 2021-09-23-01
Bugfixes
The commands CREATE_DRW_SYMBOL, CREATE_DRW_SYMBOL_EX, CREATE_DRW_VIEW_SYMBOL and CREATE_DRW_VIEW_SYMBOL_EX attached the witness line with a wrong elbow length. This is fixed now.
Using the option COMPENGINE_RESTORE_WINDOWS was clearing the selection buffer when windows are closed before running a program. This is fixed now.
datecode 2021-09-27-01
Bugfixes
The command ODBC_QUERY with option OPTIMIZE_NETWORK_TRAFFIC was causing crashes in rare situations. This is fixed now.
The command SET_BODY_MATERIAL failed in case a path was specified. This is fixed now.
datecode 2021-12-23-01
Bugfixes
The command GET_ARRAY_ELEM in the graphical user interface did not create the output variable correctly. This is fixed now.
The commands ADD_ANNOTATION_ELEMENT and ADD_ANNOTATION_ELEMENTS did not work correctly for annotation elements in sub components. This is fixed now.
The command MODIFY_HOLE did not set the default value for HOLE_DATA.standard_hole.thread_depth correctly. This is fixed now.
Using wildcards in a STRING based USER_INPUT_PARAM in the GUI section did not detect changes in the input element. This is fixed now.
The command CREATE_HOLE created wrong diameter and default thread depth for a tapered hole. This is fixed now.
The command CREATE_HOLE failed for ON_POINT placement in cases where the surface reference was required. This is fixed now.
The commands ADD_ANNOTATION_ELEMENT_REF and ADD_ANNOTATION_ELEMENT_REFS failed to add multiple surface references. This is fixed now.
The commands ADD_ANNOTATION_ELEMENT_REF and ADD_ANNOTATION_ELEMENT_REFS did not add intent surfaces to the surface section properly. This is fixed now.
The command CREATE_SHRINKWRAP incorrectly added all components when SHRINKWRAP_OPTION.collection_method was set to MANUAL_COLLECT, SHRINKWRAP_OPTION.included_surfaces was empty and SHRINKWRAP_OPTION.included_datums contained datum references. This is fixed now.
The command LINK_SKETCH_MDL was crashing in case the section contained centerlines. This is fixed now.
The command WEBSERVICE_CALL did not work correctly in case the HTTP header Transfer-Encoding was sent without capitals. This is fixed now.
The command DELETE_ANNOTATION_ELEMENTS did not add the annotation references back from the annotation feature to the annotation. This is solved now.
A FOR loop over an array of annotation planes did not work. This is fixed now.
One SmartAssembly session was blocking another one on the same system while the graphical user interface was opened. This is fixed now.
The command SAVE_MDL was trying to verify all family table instances, when having the Creo configuration option verify_on_save_by_default enabled. This was in some situation causing crashes in a Windchill environment.Now only the affected family table instances are verified.
The command INCLUDE with a variable as input failed in the TAB_DESCR block. This is fixed now.
In some situations MODIFY_NC_STEP was failing for the data which was read by READ_NC_STEP. This is fixed now.
The command GET_FAMITEM_VALUE was causing an error if the item did not exist, even if this was guarded by CATCH_ERROR. This is fixed now.
The command GET_ANNOTATION_POS was causing an error if the position could not be determined, even if this was guarded by CATCH_ERROR. This is fixed now.
In some situations after the command CONFIG_ELEM a synchronization dialog appeared on the screen, even if SHOW_SYNC_GUI was set to NO. This is fixed now.
The command SET_DIM_TOL_TYPE did not support variables for the tolerance type. This is fixed now.
The commands EXPORT_PDF and EXPORT_DRW_PDF are failing when using a SmartAssembly dll for Creo 4.0 on Creo 7.0 or above. The solution is to use the SmartAssembly dll build for Creo 7.0.
The command GET_ANNOTATION_REFS was failing for annotation driving dimensions. This is fixed now.
The command READ_DIM_ANNOTATION was failing for annotation driving dimensions. This is fixed now, but the members array_references, array_dim_sense and orient of the structure ANNOTATION_DIM_OPTION can not be detected in this situation.
Enhancements
The commands USER_LIST_BOX and USER_DROP_DOWN are now processing updated input arrays.
New members tapered_straight_drill_type, tapered_straight_drill_diameter, tapered_straight_drill_depth, tapered_straight_drill_ref, add_tapered_tip_angle and tapered_tip_angle for structure HOLE_STANDARD to support straight drill options when creating holes.
New members top_clearance for structure HOLE_DATA to support the creating the clearance on the top of the hole by removing geometry.
New commands GET_DIM_BOUND, SET_DIM_BOUND and SET_MDL_DIMS_BOUND to retrieve or set the dimension boundaries of a dimension or of all dimensions from a model.
New commands GET_NOTE_URL and SET_NOTE_URL to retrieve and set URL links to a solid model note.
Improved CATCH_ERROR support for the commands CREATE_BOM_BALLOONS and CLEAN_BOM_BALLOONS.
If the region id for the command CREATE_BOM_BALLOONS the first repeat region of the supplied table is automatically determined.
The command WEBSERVICE_CALL allows now to send a binary data base a base64 encoded string.
New commands BINARY_FILE_READ and BINARY_FILE_WRITE to read binary files to a base64 encoded string and write this kind of string to a binary file.
The new option NO_DEL_IDENT for the commands CREATE_NOTE and CREATE_NOTE_EX prevents that a parameter NOTEIDENT will be created.
The command COPY_MDL now supports the special syntax for setting up model names which includes wildcards and other specification elements.
New option INCLUDE_DEFAULT_PARAMS for the command READ_NC_STEP allows to read also parameters with default values.
New commands GET_NC_OPERATION_PARAM and SET_NC_OPERATION_PARAM to read and write NC parameters from and to NC operations.
New command GET_NOTE_OWNER retrieves the owner of a note which is either a model or a feature.
New command DELETE_ANNOTATION_ELEMENT to delete the specified annotation from the annotation feature.
New command GET_NC_TOOL_TIPS reads the array of tool tips which are associated to a tool setup.
New members orient_csys, type, num_axes, spindle, tool_adapter, comments and retract_surface for structure NC_STEP which can be retrieved by the command READ_NC_STEP and partly modified by MODIFY_NC_STEP.
New command GET_NC_STEP_LEGACY_STATE retrieves the information if a NC step sequence was created in the Wildfire 5 format or before.
New command GET_NC_OPERATION_RETRACT_SURFACE retrieves the retraction surface of a NC operation.
New command GET_COMB_VIEW_PUBLISH_STATE to retrieve the information if a combined view is published.
The command GET_COLOR, GET_COLOR_PROPS, GET_COLOR_PROPS_ASSIGNED, SET_COLOR, SET_COLOR_PROPS, REMOVE_COLOR_PROPS, GET_TEXTURE_PROPS, SET_TEXTURE_PROPS, GET_TEXTURE_PLACEMENT_PROPS and SET_TEXTURE_PLACEMENT_PROPS are now also supporting the access to bodies in Creo 7.0 and above.
The new option USE_COLOR_OWNER for the commands GET_COLOR, GET_COLOR_PROPS, GET_COLOR_PROPS_ASSIGNED, SET_COLOR, SET_COLOR_PROPS and REMOVE_COLOR_PROPS, allows to specify on which assembly level the color should be set, read or removed.
The new option USE_TEXTURE_OWNER for the commands GET_TEXTURE_PROPS, SET_TEXTURE_PROPS, GET_TEXTURE_PLACEMENT_PROPS and SET_TEXTURE_PLACEMENT_PROPS, allows to specify on which assembly level the texture should be set, read or removed.
datecode 2022-01-07-01
Bugfixes
Since 2021-12-23-01 the command GET_COLOR_PROPS did not read the color for feature references, but it assigned it. This is fixed now.
Since 2021-12-23-01 the command GET_TEXTURE_PROPS was only working for surfaces and not for parts and components. This is fixed now.
In legacy models datum plane constraints could be specified by positive and negative directions. This will be compensated by adjusting the constraint type for the commands GET_CONSTRAINT, GET_CONSTRAINTS, GET_CONSTRAINT_SET and GET_CONSTRAINT_SETS.
Enhancements
New command GET_LINE_FONT to read the line font of a curve or composite curve.
datecode 2022-01-11-01
Bugfixes
The command MODIFY_NOTE_EX did not update the text style of the note. This is fixed now.
The command SEARCH_DRW_SYMBOL_VAR_TEXT_NAMES found also inactive variables. This is fixed now.
The command GET_DRW_SYMBOL_VAR_TEXT found in some cases also the content of inactive variables. This is fixed now.
Since 2021-12-23-01 the command SET_TEXTURE_PLACEMENT_PROPS was failing for features. This is fixed now.
Since 2021-09-06-01 using a relative path starting with a dot '.' for INCLUDE, CALL and CALL_EX was resolved to the library directory instead of the working directory. This is fixed now.
datecode 2022-01-12-01
Bugfixes
Since 2022-01-11-01 The commands INCLUDE, CALL and CALL_EX without a path specification had been resolved to the working directory instead of the library directory. This is fixed now.
Enhancements
New keyword working_dir specifies the current working directory and can be used in path specifications.
datecode 2022-01-13-01
Bugfixes
Since 2022-01-12-01 using a relative path starting with a dot '.' for FILE_OPEN was resolved to the library directory instead of the working directory. This is fixed now.
datecode 2022-01-17-01
Bugfixes
The command REMOVE_COLOR_PROPS with the option USE_COMPONENT_COLOR set to TRUE did not work correctly since 2021-12-23-01. This is fixed now.
datecode 2022-02-09-01
Bugfixes
The commands SWITCH_TO_MDL_POST and WINDOW_ACTIVATE are achieving better results by sending a CTRL+A key sequence to the window.
The command GET_GROUP_FEATURE_NUM showed wrong results in some situations with suppressed members. This is fixed now.
The command GROUP_FEATURES did not include suppressed features. This is fixed now.
The commands ADD_ANNOTATION_ELEMENT_REF and ADD_ANNOTATION_ELEMENT_REFS failed to add multiple intent surfaces. This is fixed now.
The command CALC_RAY_INTERSECTION computed wrong results when hitting cylindrical surfaces in some situations. This is fixed now.
Since 2021-12-23-01 zooming with the mouse wheel was not possible when the GUI window was on the screen. This is fixed now.
The commands ADD_ANNOTATION_ELEMENT_REF and ADD_ANNOTATION_ELEMENT_REFS have been failing in case of an exploded assembly. This is fixed now.
The commands USER_SELECT and USER_COLLECT did not work correctly for INTENT_SURFACE. This is fixed now.
The command REPLACE_COMPONENT failed in some situations for patterned components. This is fixed now.
The command ADD_MAP_ELEM failed to concatenate a variable and a string as input value. This is fixed now.
The command READ_NOTE_EX did not read the annotation plane, but the surface which was used for it into NOTE_OPTION.ref_orientation. This is fixed now.
Some pattern commands did not work properly for nested patterns. This is fixed now.
The commands GET_PDM_STORAGE and GET_PDM_STATE_EX did not work correctly for ghost objects in the workspace. This is fixed now.
The command SET_NC_STEP_TOOL was losing references for NC coordinate system and retraction plane since 2021-12-23-01. This is fixed now.
Enhancements
New configuration option EXPORT_WITH_PROFILE for the command EXPORT_FILE uses the Creo export profile for parts and assemblies which are exported as STL, IGES, STEP, DXF, SAT, PARASOLID, CATIA, CATIA_V5_PART, CATIA_V5_ASSEMBLY, SOLIDWORKS, NX or JT.
New command GET_WINDOW_MDLS to retrieve an array of all models which occupy a Creo window.
New command CLOSE_MDL_WINDOW to close the occupied window of a model.
datecode 2022-02-11-01
Bugfixes
The command GET_NC_HEAD_TOOL_SETUPS provided the wrong zero based head number instead of a 1 based one. This is fixed now.
The command FIND_ARRAY_ELEM did not work correctly since 2022-02-09-01. This is fixed now.
The command READ_DIRECTORY did not find files with length near to 31 characters when a filter had been applied. This is fixed now.
The command READ_DIRECTORY did not read the common space root directory for path wtpub:. This is fixed now.
datecode 2022-02-16-01
Bugfixes
The options USE_COLOR_OWNER did not work with USE_COMPONENT_COLOR and USE_TEXTURE_OWNER not with USE_COMPONENT_TEXTURE. This is fixed now.
The command READ_DIRECTORY did not find family table instances in Windchill and did not read the command space root directory when working on context Site.
The commands ADD_COMB_VIEW_ANNOTATIONS, SET_COMB_VIEW_ANNOTATIONS and REMOVE_COMB_VIEW_ANNOTATIONS did not work for supplemental geometry. This is fixed now.
The command CREATE_GENERAL_PATTERN failed to create a directional pattern based on a coordinate system due to a limitation in Creo/TOOLKIT. Now it will be mimicked by a translational direction pattern.
The command GET_GROUP_FEATURE_NUM showed wrong results in some situations with suppressed members in French language. This is fixed now.
Enhancements
New values STRUCT, FILE, TOOLKIT_HANDLE, JLINK_HANDLE, XML_ELEMENT and STOPWATCH for the command GET_VARIABLE_TYPE.
datecode 2022-02-17-01
Bugfixes
For the commands ADD_ARRAY_ELEM, SET_ARRAY_ELEM, INSERT_ARRAY_ELEM, ADD_MAP_ELEM and FIND_ARRAY_ELEM the priority of variables with identical names was changed since 2022-02-11-01. This is fixed now.
SmartAssembly 8.0.2.0
datecode 2022-02-18-01
Bugfixes
The command CREATE_GENERAL_PATTERN failed to create a translational direction pattern since 2022-02-16-01. This is fixed now.
datecode 2022-03-16-01
Bugfixes
The command GET_REF_NAME did not work for cross sections. This is fixed now.
The command SEARCH_DRW_ITEMS caused crashes in older Creo versions for some specific customer symbols. This is fixed now.
The commands DELETE_SYMBOL and DELETE_NOTE caused crashes in case the symbols or notes had been currently selected in the selection buffers. This is fixed now.
The command WEBSERVICE_CALL accidentally tried to sent binary data for the content_type application/soap+xml. This is fixed now.
Enabling the configuration option STARTUP_TEMP_MDL and the Windchill password dialog resulted in a mutual block situation. This is fixed now.
The command ODBC_QUERY with enabled option OPTIMIZE_NETWORK_TRAFFIC produced additional undefined data columns for some numeric data types. This is fixed now.
The command CREATE_COPY_GEOMETRY failed in some situations for external copy geometry in a part context. This is fixed now.
The command READ_GTOL failed for FLATTNESS geometric tolerances. This is fixed now.
The commands RESOLVE_PATH and CREATE_UDF did not find a UDF in the correct Windchill folder if the file name was specified by wtpub:sample.gph. This is fixed now.
The command EXPORT_FILE failed in cases where the environment variable %APPDATA% was pointing to an UNC path. This could happen when windows users are defined with roaming profiles. The problem is fixed now.
datecode 2022-07-21-01
Bugfixes
The command ADD_ARRAY_ELEM failed since 2022-02-09-01 for invalid variables. This is fixed now.
The commands EXPORT_PDF and EXPORT_DRW_PDF failed since 2022-03-16-01 to export in a specific folder. This is fixed now.
The command JSON_INIT_DOCUMENT terminated Creo in case of an unnamed object. This is fixed now.
The commands XML_LOAD_DOCUMENT and XML_INIT_DOCUMENT failed for XML documents with a DTD header. This is fixed now.
The command SET_DIM_TEXT included the dimension prefix and suffix to the dimension text. This is fixed now.
The command CONVERT_MATRIX_TO_TRANSFORMATION delivered questions marks instead of a number in rare cases, due to a rounding error. This is fixed now.
The command GET_ANNOTATION_ELEMENT_NAME did not provide the name of 3d dimensions which where not part of an annotation feature since 2021-12-23-01. This is fixed now.
The command GET_REF_POS always returned the position 0/0/0 for searched annotations. This is fixed now.
The command CREATE_ANNOTATION_PLANE with option ANNOTATION_PLANE_OPTION.type set to REFERENCE was creating the annotation plane in the model which owned the reference and not in the specified model. This is fixed now.
The logical expression IF REF_TYPE DIMENSION did not accept reference dimensions. This if fixed now.
The commands USER_SELECT, USER_SELECT_MULTIPLE and USER_SELECT_OPTIONAL failed for filters which are retrieved from a different context. This is fixed now.
The command CREATE_DIM_ANNOTATION failed to create part level dimensions from the assembly context. This is fixed now.
The command SEARCH_DRW_ITEMS delivered different results of geometrical tolerances for the currently active page of a drawing. This is fixed now.
The command MOVE_ANNOTATION_TO_PLANE did not work for geometrical tolerances. This is fixed now.
The command READ_DIRECTORY failed since 2022-02-11-01 to retrieve all results from path wtpub: in case the folder contained a large number of files. This is fixed now.
The command SEARCH_DRW_ITEMS failed to find geometrical tolerances which are placed on sub-level drawing view models. This is fixed now.
The logical expression REF_VALID was not evaluated as TRUE for sub-level geometrical tolerance placements on dimensions. This is fixed now.
The command GROUP_FEATURES failed to group component features. This is fixed now.
The command EXCEL_ACTIVATE_DOCUMENT in some situations did not active the document correctly. This is fixed now.
The options USE_COMPONENT_COLOR and USE_COMPONENT_TEXTURE did not work correctly in some situations. This is fixed now.
In some situations the color and texture related commands did not work correctly for body references. This is fixed now.
The command REMOVE_ANNOTATION_ELEMENT_REF and SET_ANNOTATION_ELEMENT_REF_STRENGTH have been executed also in inaktive IF statements. This is fixed now.
The command PRINT showed small numbers close to zero as 0.000000 instead of 0. This is fixed now.
The option INTERF_MDL for the command FOR was sometimes collecting parts which were not intersecting, but just touching. This is fixed now.
Due to significant changes in the Creo API, the functions READ_XSEC_EX and CREATE_XSEC_EX did not work since Creo 4.0 M140 / Creo 6.0 M040 / Creo 7.0 an all following Creo releases. This is fixed now.
The command GET_ANNOTATION_TEXT_STYLE did not retrieve the font correctly, in case the default font was used. This is fixed now.
The command CREATE_DRW failed since 2022-03-16-01 when the Creo configuration option START_MODEL_DIR was locked by config.sup. This is fixed now.
The command GET_DIM_FEATURE failed for reference dimensions. This is fixed now.
The command COPY_FILE failed to work for models with a version number. This is fixed now.
The command CREATE_DRW did not set the PTC_COMMON_NAME correctly, unless the drawing template was in session. This is fixed now.
For several UI elements the translation mechanism did not work when the strings had been retrieved by GET_TRANSLATION. This is fixed now.
The commands DELETE_ANNOTATION_ELEMENT, DELETE_ANNOTATION_ELEMENTS, SET_ANNOTATION_ELEMENT and SET_ANNOTATION_ELEMENTS failed in some situations when the additional placement references have been restored. This is fixed now.
The commands GET_FAMITEM_VALUE and SET_FAMITEM_VALUE did not work for symbol names of pattern number dimensions.
Since datecode 2021-09-06-01 all commands for enumerated parameters have also accepted non enumerated ones. The affected commands are : SEARCH_ENUMERATED_MDL_PARAM_NAME, SEARCH_ENUMERATED_MDL_PARAM_NAMES, SEARCH_ENUMERATED_FEAT_PARAM_NAME, SEARCH_ENUMERATED_FEAT_PARAM_NAMES, SEARCH_ENUMERATED_REF_PARAM_NAME, SEARCH_ENUMERATED_REF_PARAM_NAMES, GET_ENUMERATED_MDL_PARAM_VALUES, GET_ENUMERATED_FEAT_PARAM_VALUES, GET_ENUMERATED_REF_PARAM_VALUES. This is fixed now.
The commands SET_COLOR and SET_COLOR_PROPS did not work for curves whose color was never changed manually. This is fixed now.
The logical expression ITERF_REC did not work correctly for sub components. This is fixed now.
The command REMOVE_WORKSPACE_OBJECTS did not work for family table instances which have been supplied by reference. This is fixed now.
The option VISIBLE_LINES for command USER_DROP_DOWN produced some unused white space at the end. This is fixed now.
The command TK_TASK_EXEC failed to work with named arguments since 2022-02-11-01. This is fixed now.
Enhancements
New option INSERT_AS_SINGLE_COMP for the command INSERT_FAMITEM to distinguish if a only the component itself or all occurrences should be inserted.
New option profile_unequal_dispostion for structure GTOL_SYMBOLS.
New option WIDTH for USER_LIST_BOX and USER_DROP_DOWN.
New command EXCEL_COPY_SHEET to copy an existing sheet in Excel.
New command EXCEL_MOVE_SHEET to move an existing sheet in Excel to another position.
Enabled CATCH_ERROR support for EXCEL_CREATE_SHEET.
New options INCLUDE_PREFIX and INCLUDE_SUFFIX for the GET_DIM_TEXT command allow to specify if the dimension prefix and suffix are part of the retrieved dimension text.
New command GET_ACTIVE_XSEC to get the reference of the active cross section feature.
Enabling the use of png images.
New command XML_APPEND_NODES allows to add existing nodes from the same or from another XML document.
The command GET_AUDIT_TRAIL is extended to retrieve more information from the history.
New logical expression IS_FAMITEM_VALUE_GENERIC to test if a family item value is specified as the default value.
New command CLEAR_MDL_APPEARANCES to clear the assembly appearances or all appearances of a model.
New option OWNER_TYPE for the commands GET_RELATIONS, ADD_RELATIONS, REGEN_RELATIONS, SEARCH_RELATIONS, REMOVE_RELATIONS, SET_RELATIONS_UNIT_SENSITIVE, GET_RELATIONS_UNIT_SENSITIVE and VERIFY_RELATIONS to distinguish between model, component or feature related relations.
New math expressions equal, less, lessorequal, greater and greaterorequal to compare two values for a specified accuracy.
New NOTIFICATION options MDL_COPY_POST and MDL_COPY_POST_ALL which are called when a model and its sub-models are renamed.
New option INCLUDE_LINE for the commands GET_TAB_STACK and GET_TAB_NAME to include the line numbers to the output.
New option ALLOW_SELF for the command GET_GROUP_HEAD to determine if the result is allowed to be the same as the supplied input.
Enabled CATCH_ERROR support for command GET_GROUP_HEAD when the group could not be detected.
New command SET_XSEC_NAME to set the name of a cross sections.