SmartAssembly 9.0 Release Notes - last update December 12, 2022.
SmartAssembly 9.0.0.0
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
Support of Creo 9.0.
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.
datecode 2022-12-12-01
Bugfixes
The command ADD_SELBUFFER after a SWITCH_TO_MDL could cause crashes in some situations. This is fixed now.
The notification types MDL_COPY_POST and MDL_COPY_POST_ALL are executed twice if they have been launched after creating a model by template before. This is fixed now.
The command GET_DATUM_TAG_ATTACHMENT failed for an attachment on a dimension witness line. This is fixed now.
The command SHOW_DRW_VIEW_ANNOTATION failed to show all notes in some situations. This is fixed now.
The command SAVE_MDL in Windchill with active Creo Parametric configuration option verify_on_save_by_default does not save the model to the workspace in some situations. This is fixed now.
The commands GET_PDM_STATE, GET_PDM_STATE_EX, GET_PDM_STORAGE, GET_PDM_STATE_BY_NAME and GET_PDM_STATE_BY_NAME_EX detected the wrong state for a model since 2022-02-11-01 which was just saved in the workspace. This is fixed now.
The command CREATE_DRW in a windchill environment saves the created drawing since 2022-07-21-01 to the workspace. This is fixed now.
The command GET_REF_POS did not work for datum tags. This is fixed now.
The command ODBC_CONNECT did not support windows environment variables in the connection string. This is fixed now.
The command EXPORT_DRW_PDF failed in Creo 4.0 if the option use_true_type_fonts was set to 2. The reason was, that this setting does not exist in Creo 4.0. This is fixed now.
The command GET_REF_TYPE did not show the correct type for surface finishes. This is fixed now.
The logical expressions IF REF_TYPEDATUM_TAG and SURFFINISH failed. This if fixed now.
The FOR loop was causing an error for an failed reference in Creo. This is fixed now.
The command GET_MOUSE_POINT failed for manufacturing models. This is fixed now.
Several commands have been failing for files specified by wtpub: when upper case characters had been used. The reason is that Creo files are always in lower case characters, but Windchill is case sensitive.
In some situations special non ASCII symbols like typographic quotes could cause a crash. This is fixed now.
String Expressions with escaped quotes and exclamation marks have caused parsing errors. This is fixed now.
The command REPLACE_COMPONENT was causing a dashboard error even for activated STARTUP_TEMP_MDL, when starting from an empty session for the first time. This is fixed now.
The commands CREATE_XSEC and CREATE_XSEC_EX with flip option set to FALSE had blocked the manual flip functionality since Creo Parametric 9.0. Ths is fixed now.
Enhancements
Enhanced CATCH_ERROR support for command GET_COMB_VIEWS.
Enhanced CATCH_ERROR support for command SET_BROWSER_SIZE.
Enhanced CATCH_ERROR support for command GET_REF_ANNOTATION_PLANE.
Enhanced CATCH_ERROR support for the command ACTIVATE_INSERT_MODE.
Automatic refresh of the model tree after the command CANCEL_INSERT_MODE.
New command GET_VARIED_MDL to retrieve the varied model of a flexible component or an inheritance feature.
New option USE_VARIED_ITEM_OWNER for the commands INSERT_VARIED_ITEM and SET_VARIED_ITEM_VALUE to address the varied item for a flexible sub component or a nested inheritance feature.