SmartAssembly 11.0 Release Notes - last update December 23, 2024.
SmartAssembly 11.0.0.0
datecode 2024-08-01-01
Enhancements
Support of Creo 11.0.
The command READ_DIM_ANNOTATION will now also detect references for driving dimensions.
The commands READ_HOLE, MODIFY_HOLE and CREATE_HOLE are now supporting holes with sketched placement which are available since Creo 8.0.
New command READ_GENERAL_MERGE to read merge and inheritance features.
New command MODIFY_GENERAL_MERGE to modify merge and inheritance features.
New commands GET_ANNOTATION_DESIGNATION and SET_ANNOTATION_DESIGNATION to read and set the designation status of annotations and annotation elements.
Support of mixing the concepts of tab file based licensing and signatures.
New option STEP_SIZE for the command EXPORT_FILE with type STL.
The command CREATE_SYMBOL, READ_SYMBOL and MODIFY_SYMBOL are now also supporting offset symbols in solid models for Creo 10.0 and above.
New command SET_ENVIRONMENT_VARIABLE to set and environment variable.
New options PATCH and OPTIONS for command WEBSERVICE_CALL.
New command GET_DRW_SYMBOL_LEADERS to retrieve a list of leaders for a given drawing symbol.
New command READ_DRW_SYMBOL to retrieve all data from a given drawing symbol.
New command RESET_HOLE_NOTE resets the note of the hole feature.
New command GET_MDL_ITERATION to retrieve the file version.
New command CONVERT_3D_TO_FTS to get the flat to screen coordinates for a given 3D Point.
New command GET_GRAPHICVIEW_BOUNDARY to retrieve the bounding box coordinate of the graphics view.
New commands GET_PROPAGATE_ANNOTATION and SET_PROPAGATE_ANNOTATION to read and set propagation setting options for annotation elements.
New commands READ_COPY_GEOMETRY and MODIFY_COPY_GEOMETRY to read and modify copy geometry features.
New Commands READ_SHRINKWRAP and MODIFY_SHRINKWRAP to read and modify shrinkwrap features.
New option propagate_annotation_option for the structures COPY_GEOMETRY_OPTION, SHRINK_WRAP_OPTION and GENERAL_MERGE_OPTION.
Automatically retrieve the source model in session for READ_GENERAL_MERGE, MODIFY_GENERAL_MERGE, READ_COPY_GEOMETRY and CREATE_COPY_GEOMETRY.
New command CREATE_REF_PARAM to create a parameter for a specified reference.
New commands GET_MDL_PARAM_UNIT, SET_MDL_PARAM_UNIT, GET_FEAT_PARAM_UNIT, SET_FEAT_PARAM_UNIT, GET_REF_PARAM_UNIT and SET_REF_PARAM_UNIT to read and set units for parameters of type DOUBLE.
New option PARAM_UNIT for the commands SET_MDL_PARAM, SET_FEAT_PARAM and SET_REF_PARAM.
New option MATERIAL_NAME for the commands GET_MATERIAL_PROPERTIES, SET_MATERIAL_PROPERTIES, GET_MATERIAL_PROPERTY and SET_MATERIAL_PROPERTY to access a specific material.
Optional arguments for units for the commands GET_MATERIAL_PROPERTY, GET_BODY_MATERIAL_PROPERTY, SET_MATERIAL_PROPERTY and SET_BODY_MATERIAL_PROPERTY.
New option description in the structure MATERIAL to retrieve and set the description of a material.
New commands GET_MATERIAL_DESCRIPTION, GET_BODY_MATERIAL_DESCRIPTION, SET_MATERIAL_DESCRIPTION and SET_BODY_MATERIAL_DESCRIPTION to read and set the description of a material.
Bugfixes
The commands GET_FAMITEM_NAME and GET_FAMITEM_SYMBOL were producing reversed results for some item types. This is fixed now.
The commands SET_FLEXIBLE and SET_FLEXIBLE_PREDEFINED are causing issues when the same models are assembled multiple times. This is fixed now.
The configuration option BRACKET_FUNCTION with the argument BEFORE was calling the tab files twice. This is fixed now.
Opening and closing the configuration editor frequently was causing BRACKET_FUNCTION tab files to be executed several times. This is fixed now.
The command GET_ANNOTATION_ELEMENT_REFS failed in case no references are found at all. This is fixed now.
The command READ_EXPLODE_STATE failed in case the explode state contained translations or rotations from removed or suppressed components. This is fixed now.
The FOR loop option INTERF_MDL failed to recognize intersections of assembly level visible quilts and sub assembly components since 2022-07-21-01. This is fixed now.
The command SET_SYMBOL_VAR_TEXT changes the location of a flat-to-screen symbol since Creo 7.0.12.0 / 8.0.9.0 / 9.0.6.0 / 10.0.2.0 due to a bug in Creo Toolkit. This is fixed now by a workaround.
The command SAVE_MDL with options INCLUDE_DRAWINGS or CHECK_SAVED and missing components was crashing in rare situations. This is fixed now.
The command SEARCH_FEAT_PARAM in the graphical user interface does not work correctly for component features. This is fixed now.
In the graphical user interface it rare situation the commands between IF and ELSE_IF or ELSE are not executed correctly.
The option SHOW_GROUP for the commands CREATE_DRW_SYMBOL, CREATE_DRW_SYMBOL_EX, CREATE_DRW_VIEW_SYMBOL and CREATE_DRW_VIEW_SYMBOL_EX failed for using a string variable since 2023-11-20-01.
The command GET_PREDEFINED_FLEXIBLE_ITEMS did not work correctly since 2022-12-12-01. This is fixed now.
The command READ_SYMBOL failed for symbols without variable texts. This is fixed now.
The commands DELETE_ANNOTATION_ELEMENT(S), ADD_ANNOTATION_ELEMENT(S) and SET_ANNOTATION_ELEMENT have removed model parameters due to a Creo Toolkit bug in Creo 7.0.12.0, 8.0.10.0, 9.0.6.0 - 9.0.70 and 10.0.2.0 - 10.0.4.0. This is fixed now by a workaround for the affected Creo versions.
The command CREATE_HOLE did not show the callout note correctly since Creo 10.0 due to a Toolkit bug. This this is fixed now.
The command GET_SURFACE_TYPE did not recognize fillet surfaces correctly. This is fixed now.
The commands SET_MDL_PARAM, SET_FEAT_PARAM and SET_REF_PARAM have accidentally converted the value for parameters of type DOUBLE in case it was set to a different length unit as the unit of the model. This is fixed now.
In a specific situation a datum tag annotation created in the solid model and shown on a drawing was disappearing when the solid model shows up. This is fixed now.
datecode 2024-12-23-01
Enhancements
New command CONVERT_DRW_POS_TO_LOCGRID to convert a given coordinate on a drawing to its location inside the specified location grid.
Enhanced command ZOOM_TO_REF and ZOOM_TO_POS to work in drawings.
New option BACKUP_AND_ERASE for command USE_LIBRARY_MDL to specify if a temporary local backup is required.
Enabled CATCH_ERROR for GET_COLOR, SET_COLOR and GET_COLOR_PROPS.
New command GET_MDL_MODIFIABLE_STATUS to determine if a model can be modified in a Windchill session.
The command USE_LIBRARY_MDL is now also checking for models in the search path for copy operations.
New command GET_MDL_SIMPREP_STATE to return the state of the specified model as string.
New command GET_SIMPREP_MDLS to retrieve all models with a specified action type.
New command READ_SIMPREP to retrieve an array of Structures of type simprep_item.
New structure SIMPREP_ITEM contains a reference to a model and its action type as string.
New member comment for the structures CHECKIN_OPTION and CHECKIN_WORKSPACE_OPTION for the commands CHECKIN_OBJECT, CHECKIN_OBJECTS and CHECKIN_WORKSPACE. This allows to set a check-in comment in Creo 11.0 and above.
New simplified representation type AUTOMATIC for the commands ACTIVATE_SIMPREP, GET_ACTIVE_SIMPREP and RETRIEVE_MDL with option *USE_SIMPREP**.
Enhanced command GET_ANNOTATION_ENVELOPE to work in drawings.
New command LOAD_EXPORT_PROFILE to load a Creo export profile.
Enabled CATCH_ERROR for REMOVE_SIMPREPS.
New predefined argument __LINE_NR__ for command PRINT to return only the current line number of the tab file.
New command CENTER_DRW_DIM to center a drawing dimension in the center between its arrows.
New command SET_DRW_SHEET_NAME to set the name of a drawing sheet.
New commands GET_ANNOTATION_SHOW_STATE and SET_ANNOTATION_SCHOW_STATE to get and set the show state of a given annotation in the 3d model.
New command REPLACE_DRW_MDL to replace a drawing model with another model from the same family table.
New command GET_FAMITEM_DEFAULT to determine if a familyinstance item value is det to the default "*" to inherit the gerneric value.
New command GET_MDL_TOLERANCE to retrieve the tolerance value for the specified model, for the specified number of decimal places.
New command SET_MDL_TOLERANCE to set the tolerance value for the specified model, for the specified number of decimal places.
New option PROJECT_CUTS_ADDED_TO_FORM for the command CREATE_SMT_FLAT_PATTERN.
New commands GET_DRW_VIEW_SECTION_HATCH and SET_DRW_VIEW_SECTION_HATCH to read and set the properties of a drawing view 2d section.
New option USE_LAYER_OWNER for the command SET_ON_LAYER.
New configuration option ON_SHUTDOWN to executed a tab file before terminating SmartAssembly.
New logical expression IS_ANNOTATION_ACTIVE for testing if required placement references are active.
New command ENABLE_RESTORE_WINDOWS to overwrite the config option COMPENGINE_RESTORE_WINDOWS locally in a tab file.
New option AUTHENTICATION for the command WEBSERVICE_CALL to support authentication methods like OAuth2 for single-sign-on.
New command WEBSERVICE_LOGIN and WEBSERVICE_LOGOUT to get or revoke authentication tokens.
Bugfixes
The command GET_REF_POS did not work correctly for selected geometrical tolerances. This is fixed now.
The command CREATE_GENERAL_PATTERN and MODIFY_GENERAL_PATTERN did not work correctly for dimensional patterns with only one instance since Creo 9.0.9.0. This is fixed now.
In rare situations random SmartAssembly crashes at startup. This is fixed now.
The commands READ_SYMBOL and READ_DRW_SYMBOL did not determine GTOL placement references correctly. This is fixed now.
The commands SET_MDL_PARAM and INSERT_VARIED_ITEM did not work correctly for dimensions with default names d<number>. This is fixed now.
The command FIND_ARRAY_ELEM did not work in the graphical user interface for references. This is fixed now.
The command **SET_TEXTURE_PROPS ** did not work correctly since datecode 2023-08-16-01. This is fixed now.
The command READ_DIM_ANNOTATION initialized the members of the structure DIMENSION_ANGLE_SENSE by the wrong data type. This is fixed now.
The command GET_REF_TYPE for specific vertex points showed UNKNOWN. This is fixed now.
Paths which includes environment variables specified by the Microsoft notation %...% are not resolved correctly. This is fixed now.
The command RETRIEVE_MDL failed for family table instances which where called by their name and not by the generic<instance> notation since 2020-10-28-01. This is fixed now.
The command SET_CURRENT_MDL was causing SmartDesignServer sessions in NO_GRAPHIS mode to fail for subsequent RETRIEVE_MDL commands. This is fixed now.
The command GET_DRW_VIEW_PNT_COORD fails for specific vertex type. This is fixed now.
The command SEARCH_MDL_REFS found non active simplified representation substitute components. This is fixed now.
The command READ_DIM_ANNOTATION listed a specific sense of a dimension as KEFT0 instead of LEFT0 This is fixed now.
The commands GET_REF_POS and GET_DRW_VIEW_REF_POS did not work correctly for searched drawing draft entities.
The command GET_REF_POS determined wrong locations for selected drawing draft entities.
The command CREATE_GENERAL_PATTERN created in some situations an external when applied in an assembly context. This is fixed now for Creo 6.0.5.0 / 7.0.0.0 and above.
The commands LOOKUP_FAMINSTANCE and LOOKUP_FAMINSTANCES failed for dimensions in case their tolerances had also be inserted to the family tables. This is fixed now.