SmartAssembly 6.0 Release Notes - last update May 4, 2021.
SmartAssembly 6.0 F000
datecode 2015-08-09-01
Bugfixes
Some FOR loops iterating over parts show some errors since the 2015-07-08-01 build.
Adjusting string encoded references when copying a smart component with another assembled smart component.
New deployment mechanism for the Component Library over PDMLimk.
New command INCLUDE to include tab files.
Enhancements
New commands CONFIG_HTML, GET_CONFIG_HTML_DATA and SET_CONFIG_HTML_DATA for using a HTML interface.
New configuration option SHOW_SYNC_GUI determines if the Creo dialog which is used for the SYNC_GUI_DYNAMIC setting will be shown on the windows.
New configuration option ENABLE_HTML_CONFIG_PING determines if the CONFIG_HTML interface checks periodically if SmartAssembly is still waiting for the input.
datecode 2015-08-24-01
Bugfixes
DELETE_MATERIAL was causing issue for legacy parts with a system material called UNASSIGNED.
Replacing a family table instance via REPLACE_COMPONENT inside a Windchill session checked out all instances. This issue is fixed.
In Creo 3.0 some drawing operations could cause SmartAssembly to freeze. This is fixed now.
In very rare situations SEARCH_FEAT_REF, SEARCH_FEAT_REFS, SEARCH_FEAT_PARAM_NAME and SEARCH_FEAT_PARAM_NAMES have been failing for some internal reasons. This is fixed now.
CALC_CLEARANCE did not work for assemblies. This is fixed now.
CREATE_COMB_VIEW and SET_ACTIVE_COMB_VIEW did not display the cross section. This is fixed now.
CREATE_HOLE with FIT_TYPEMEDIUM was fixed in 2015-08-02-01, but it did not use the correct diameters from the fitted hole. This is fixed now.
Enhancements
New commands SET_ORIENTATION_BY_REF, ZOOM_TO_REF and ZOOM_TO_POS added to control view orientation and zoom dynamically.
IFINTERF / FORINTERF_MDL does no longer consider hidden quilts and therefor the functionality works like in Pro/ENGINEER Wildfire 4.0.
CHECKIN_OBJECT and CHECKIN_OBJECTS translate <context>/folder of the default_location member of CHECKIN_LOCATION and CHECKIN_OPTION for a context. Use backslashes before the lesser and greater signs to avoid this translation (e.g. '\<sample\>/folder).
datecode 2015-09-20-01
Bugfixes
INCLUDE_TO_SIMPREP and EXCLUDE_FROM_SIMPREP was not working with sub-components in an assembly. This is fixed now.
Setting the symbol color failed for drawing symbols which have been created in the same session while the drawing was not the current model. This is fixed now.
SET_DRW_NOTE_POS does not work for system notes due to problems in Creo/TOOLKIT. To avoid errors these notes are no longer processed.
SET_COLOR / SET_COLOR_PROPS did not work for component colors due to limitation in Creo/TOOLKIT. This is fixed since Creo 2.0 M140 and Creo 3.0 M030.
CONFIG_HTML did not work properly in case several SAS.execute have been executed in short time. This is fixed now. However it is not guaranteed that the order of the commands will be preserved.
Enhancements
New command CHECK_EXTRUDE_OUTLINE to control if an extrude feature creates the complete outline.
CHECKIN_OBJECT and CHECKIN_OBJECTS are using by default the context cabinet Products. Set the new member cabinet of CHECKIN_LOCATION and CHECKIN_OPTION to Library for library cabinets.
UDF_CHECK_FOR_SURFACE_FEATURES allows to use -1 to check all features in the UDF at once.
datecode 2015-10-18-01
Bugfixes
Since 2015-07-08-01 a reference to a part which is assembled is not automatically updated to its components. This could cause issues in case references of this part are used later on. The issue is fixed now.
SET_COLOR does not work in case textures are applied. This is fixed now.
CREATE_NOTE did not work properly in case the model is not the current model. This is solved by temporarily opening the model in an accessory window.
In some cases the model was accidentally removed from the screen at the end of processing the tab file. This is fixed now.
The PLOT command does not properly process plot_stroke_text configuration. This issue requires to use a the new SmartAssembly60_Creo2.dll.
Enhancements
New configuration option COMPENGINE_RESTORE_MDL to disable restoration of the model at the end of processing the tab file.
datecode 2015-11-03-01
Bugfixes
References to layers retrieved by SEARCH_MDL_REFS LAYER could not be accessed later on. This is fixed now.
In some cases 2015-10-18-01 was crashing during switching widows. This is fixed now.
Enhancements
New command EXCEL_DISPLAY_ALERTS allows to enable or disable Excel alerts.
New option SAVE_CHANGES for EXCEL_CLOSE_DOCUMENT.
New configuration option DEBUG_TRAIL_NO_ERROR shows also the lines which do not cause an error.
New configuration option DEBUG_TRAIL_TIME to write a time stamp in DEBUG_TRAIL_ERROR / DEBUG_TRAIL_NO_ERROR.
New configuration option COMPENGINE_ACTIVATE_WINDOW to disable the activation of a window after running a tab file.
datecode 2015-11-19-01
Bugfixes
The MESSAGE_BOX / MESSAGE_BOX_EX option SCREEN_LOCATION did not work correct in Creo 3.0. This is fixed now.
The FILE_SET_POS command did not work correct for empty lines since 2014-06-13-01. This is fixed now.
GET_TIME_STRING with argument "%s" generated a crash. This crash is fixed, but since this is not a valid option, the command will not create a correct output.
SET_FEAT_PARAM does not work correctly for boolean parameters. This is fixed now.
GET_DRW_TABLE does not find the reference to the table. This is fixed now.
Transparent colors in the program selection dialog are not displayed correctly. This is fixed now.
Enhancements
New command DEACTIVATE_SERVER to deactivate the current connection to PDMLink.
datecode 2015-11-26-01
Bugfixes
PARSE_STRING fails for non ASCII characters. This is fixed now.
Enhancements
New options SELECT_BY_BOX and SELECT_BY_MENU for USER_SELECT / USER_SELECT_MULTIPLE.
datecode 2015-12-01-01
Bugfixes
CREATE_GENERAL_MERGE did not work for external merge or inheritance references. This is fixed now.
The 2015-11-26-01 dll accidentally refused to run with the new SmartDesignServer build.
Enhancements
New options TRIM_SKETCH, SORT_SKETCH and CREATE_SKETCH_POINTS for command SKETCH_USE_EDGE.
datecode 2015-12-04-01
Bugfixes
SKETCH_USE_EDGE did not work correctly for multiple curves in case the AAX license is not available. This is fixed now.
SET_COLOR_PROPS did not work correctly for surface and quilts due to limitations in Creo/TOOLKIT. This is fixed since Creo 2.0 M140 and Creo 3.0 M030.
Enhancements
New command SORT_ARRAY to sort an array according its content.
datecode 2015-12-16-01
Bugfixes
LOAD_MDL did not work correctly for models which are stored inside PDMLink. This is fixed now.
CREATE_ORIENTATION did not work correctly for models inside an assembly context. This is fixed now.
PARSE_STRING is failing on handling double quotes correctly since 2015-11-26-01. This is fixed now.
SET_DRW_VIEW_BROKEN_AREA did not show the style correctly in some situations. This is fixed now. Also symbols and note are moved automatically to the corresponding view.
Using the option WITH_LEADER for edges or surfaces on CREATE_DRW_VIEW_NOTE and CREATE_DRW_VIEW_SYMBOL did not consider the selection position on the entity. This is fixed now.
Enhancements
New command MOVE_DRW_SYMBOL_TO_VIEW to move a drawing symbol to a specified view.
New command MOVE_DRW_NOTE_TO_VIEW to move a drawing note to a specified view.
New commands isdouble and isinteger to check if a string is a valid double or integer.
New command SHOW_DIM to show one dimension or an array of dimensions.
datecode 2016-01-04-01
Bugfixes
The EDIT_CONSTRAINTS constraint for SET_CONTRAINT(S) was not working correctly when assembly was retrieved via RETRIEVE_MDL. This is fixed now.
datecode 2016-01-27-01
Bugfixes
A license issue could occur for very old versions from the buw.exe license vendor daemon. This old version was never delivered by versions earlier than SA 2.2 M230 (released Mai/2007), but this could also occur by license server installations from other b&w products.
SET_ANNOTATION_POS did not move the position of a annotation note. This is fixed now.
MOVE_ANNOTATION_TO_PLANE did not work correctly. This is fixed now.
GET_REF_ANNOTATION_PLANE failed for annotations which have been oriented by a view. This is fixed now.
SET_DRW_NOTE_POS failed in some specific situations. This is fixed now.
ASSEMBLE_EX fails in some situations which are working correctly via *ASSEMBLE. This is fixed now.
GET_PATTERN_MEMBER_NUM and GET_PATTERN_MEMBER failed in some cases of references patterns. This is fixed now.
GET_MDL_ANNOTATION_PLANE did not work correctly for all models. This is fixed now.
FOR INTERF_MDL and IF INTERF did not work reliable for hidden quilts. This is fixed now.
SET_DRW_TABLE_FORMAT corrupts the content of repeat region cells. This is fixed now.
datecode 2016-02-01-01
Bugfixes
File names with multiple extensions (e.g. sample.test.xls) are not recognized correctly since 2015-12-16-01. This is fixed now.
In some cases inherited dimensions on a drawing could not be processed correctly. This is fixed now.
SET_AUTO_REORDER did not work correctly for dependent child features. This is fixed now.
SmartAssembly 6.0 M010
datecode 2016-02-17-01
Bugfixes
SET_DRW_TABLE_TEXT did not work for an empty content since 2015-05-19-01. This is fixed now.
GET_DRW_VIEW_DIM_METHOD did not work for dimensions from an inheritance feature. This is fixed now.
SEARCH_DRW_VIEW_DIM and SEARCH_DRW_VIEW_DIMS did not work for dimensions wich have been stored inside a drawing (create_drw_dims_only = yes). This is fixed now.
Since 2015-12-16-01 several drawing commands have been crashing in very rare situations. This is fixed now.
REMOVE_FEATURE was crashing for references to a component feature. This is fixed now.
Enhancements
New WITH_LEADER option is now also available for CREATE_DRWE_NOTE and CREATE_DRW_SYMBOL.
For CREATE_DRW_VIEW_SYMBOL, CREATE_DRW_VIEW_SYMBOL_EX and CREATE_DRW_SYMBOL_EX also other geometric leader references as points are supported.
New command GET_DRW_TABLE_FORMAT to extract the information from a drawing table cell.
New command GET_DRW_TABLE_NOTE to retrieve the reference to a note of a drawing table cell.
New command GET_DRW_ITEM_STATE allows to determine the display state of a drawing item and therefor figure out erased items.
Using variables for horizontal and vertical alignment is added for the following commands: SET_DRW_NOTE_TEXT_ALIGNMENT, CREATE_DRW_NOTE, CREATE_DRW_VIEW_DIM, CREATE_DRW_VIEW_NOTE and SET_DRW_TABLE_FORMAT.
New option EXCLUDE_FOOTER for SEARCH_MDL_REF and SEARCH_MDL_REFS.
New optional output reference for IMPORT_FEATURE.
The logical expressions FEAT_EXIST and FEAT_NOT_EXIST are now also working for suppressed features.
New command GET_SURFACE_REV_AXIS to access the revolve axis of a surface.
New command GET_DRW_VIEW_TYPE to retrieve the type of a drawing view.
New options INTERF_QUILT and INTERF_SURF to check interfered parts of a quilt or a surface in a FOR loop.
New optional output reference for GROUP_FEATURES.
Enable INVALIDATE_REF also in the graphical user interface.
New commands SET_MATERIAL_PROPERTY and SET_MATERIAL_PROPERTIES to set the properties of the currently assigned material.
New command GET_DRW_DIM_ATTACHED to determine unattached purple dimensions on a drawing.
datecode 2016-02-23-01
Bugfixes
SKETCH_USE_EDGE with the option TRIM_SKETCH set to TRUE brings unexpected results for trimming arcs which needs not to be trimmed. This is fixed now.
SmartAssembly locks if Remove Component is clicked and, without canceling the selection dialog, Create new Component directly afterwards. This is fixed by disabling the icons in this state.
CREATE_UDF fails if some references are provided with a shorter path. This could happen for example by a USER_SELECT following a SWITCH_TO_MDL command. This is fixed now.
stob() did not work at all. This is fixed now.
Enhancements
New command SET_DRW_SYMBOL_POS to move drawing symbols.
New option SEARCH_METHOD for SEARCH_DRW_ITEM and SEARCH_DRW_ITEMS to search these items also by name.
GET_REF_NAME is now also showing the names for drawing annotations.
datecode 2016-02-25-01
Bugfixes
The command SET_FAMITEM_VALUE was crashing in some situations just in SmartAssemlby 6.0.
datecode 2016-05-02-01
Bugfixes
Transparent colors in the program selection dialog did not show up correctly for all images. This is fixed now.
ACTIVATE_XSEC, DEACTIVATE_XSEC, DISPLAY_XSEC did not work correctly in Creo 2.0 and above. This is fixed now.
GET_MDL_EXTENSION and GET_MDL_TYPE did not work on suppressed models. This is fixed now.
GET_DRW_DIM_ATTACHED did not work for non selected dimensions. This is fixed now.
The constraints MATE_FLIP and ALIGN_FLIP did no longer work in Creo 3.0 due to some technical changes. This is fixed now.
Part and assembly programs failed to retrieve models from search path which increase the length of 28 characters. This is fixed now.
Invalid arguments for boolean expressions have accidentally been evaluated as strings. This is fixed now.
Assignment of a math term with undefined variables failed or created wrong results. This is fixed now.
The FREEZE_FAILED option for ASSEMBLE did not work in Creo 3.0 due to some technical changes. This is fixed now.
GET_DIM_SYMBOL with option WITH_SESSION_ID failed for assembly level cuts. This is fixed now.
CREATE_GENERAL_MERGE did no longer work properly for external merges. This is fixed now.
READ_HOLE and MODIFY_HOLE did not consider the diameter of custom hole. This is fixed now.
SHOW_DRW_SHEET_DIM with a dimension which was previously searched on a model with assembly level cuts, did not work correctly. This was fixed now.
GET_GEOMS_FROM_FEATURE for the search type SOLID_SURFACE returned just any type of geometry. This is fixed now.
Parameter variables in the graphical GUI passed by a main program are causing huge memory dissipation. This is fixed now.
SET_DRW_NOTE_TEXT truncated text after 80 characters. This is fixed now.
GET_FEATURE_TYPE for import features returned IGES instead of IMPORT. This is fixed now.
License issue for server version 11.10 in SmartAssembly 6.0 This is fixed now.
License issue for the SmartDesignServer environment in SmartAssembly 6.0. This is fixed now.
Enhancements
Since 2015-02-07-01 GET_GEOMS_FROM_FEATURE excludes inactive surfaces from the result. To bring the back the option ALLOW_INACTIVE is introduced.
The configuration option USE_SEARCH_PATHS is not also considering catalog files in the PRO_LIBRARY_DIR.
New configuration option BACKUP_SEARCH_PATH_MDLS to determine if models from the search path or from the PRO_LIBRARY_DIR catalog should be backed up in the local working directory.
New configuration option COMPENGINE_ERASE_ON_DELETE defines what happens after models are removed interactively by Remove Component.
New option INCLUDE_QUILTS for EXPORT_FILE with format DXF.
New commands SEARCH_REF_PARAM_NAMES and SEARCH_REF_PARAM_NAMES to search for parameter names in a Creo reference.
Extending the existing ACTIVATE_XSEC, DEACTIVATE_XSEC and DISPLAY_XSEC to work with the new cross section features.
New commands ADD_DRW_NOTE_LEADER, SET_DRW_NOTE_LEADER, ADD_DRW_SYMBOL_LEADER and SET_DRW_SYMBOL_LEADER to add or set new leaders to drawing notes and symbols.
New command CREATE_XSEC_EX to create the new cross section features. This allows to use the part level datum elements, determines which moddels are intersected etc.
New command SMARTHOLECHART_EXEC to automate SMARTHolechart.
New command GET_UDF_DATA to retrieve information from a gph file.
New commands SET_CLIPBOARD_TEXT and GET_CLIPBOARD_TEXT to write and read data from and to the clipboard.
New commands SET_DRW_REF_VIEW and GET_DRW_REF_VIEW to set and retrieve a drawing view information to and from a reference.
New command GET_NAMED_ORIENTATIONS to retrieve the orientation names from a model.
New commands JLINK_APP_LOAD, JLINK_TASK_EXEC and JLINK_APP_UNLOAD to load, execute and unload JLink programs.
New commands TK_APP_LOAD, TK_GET_HANDLE_HANDLE_FROM_REGISTRY, TK_TASK_EXEC and TK_APP_UNLOAD to load, access already running, execute and unload Creo/TOOLKIT programs.
New logical expressions TOOLKIT_HANDLE_VALID and JLINK_HANDLE_VALID to test if Creo/TOOLKIT and JLink application have been started correctly.
New commands GET_MDL_DTL_OPTION, GET_MDL_DTL_OPTIONS, SET_MDL_DTL_OPTION, SET_MDL_DTL_OPTIONS and LOAD_MDL_DTL_OPTIONS to read and write solid model detail options.
datecode 2016-05-03-01
Bugfixes
In the previous datecode 2016-05-02-01 some tab file images caused the system to lock. This is fixed now.
In the previous datecode 2016-05-02-01 logical expressions for undefined string variables have not been evaluated correctly. This is fixed now.
Clicking Create new Component twice without canceling the dialog locked other SmartAssembly icons in the Creo Ribbon. This is fixed now.
SmartAssembly 6.0 M020
datecode 2016-05-19-01
Bugfixes
GET_DRW_VIEW_OUTLINE did not work correctly with cross-sectioned views. This is fixed now.
The function round() did not work correctly for inaccurate numerical values (e.g. 0.00000000053). This is fixed now.
New option INTERF_QUILT_SOLID for FOR loops.
New commands GET_DRW_DIM_TEXT_POS and GET_DRW_DIM_TEXT_ANGLE to determine dimension value text position and angle.
New command ERASE_DRW_ANNOTATION to erase an annotation from a drawing.
New command GET_DRW_ANNOTATION_VISIBILITY to determine if an annotation is erased or displayed on a drawing.
Enhancements
New commands GET_DIM_TOL_TABLE and SET_DIM_TOL_TABLE to retrieve and set the tolerance table of a dimension.
New commands GET_MDL_TOL_STANDARD, SET_MDL_TOL_STANDARD, GET_MDL_TOL_CLASS, SET_MDL_TOL_CLASS, GET_MDL_TOL_STANDARD and LOAD_MDL_TOL_TABLE to access tolerance settings for models.
datecode 2016-06-22-01
Bugfixes
USE_LIBRARY_MDL with option part_copy caused a ProCmdWndClose which was closing the window after the program was executed. This is fixed now.
SHOW_URL did not work correctly in case the protocol description (http://) was used. This is fixed now.
GET_REF_OWNER and GET_REF_PARENT did not work correctly in case the reference was belonging to a drawing. This is fixed now.
GET_MDL_ANNOTATION_PLANE was returning the opposite plane (for example BACK instead of FRONT). This is fixed now.
In Winword 2016 sometimes the backup file of an opened document was not erased after a WINWORD_DISCONNECT. This is fixed now.
Since 2016-03-21-01GET_MDL_TYPE was not returning the correct information for a drawing reference. this is fixed now.
Since Creo 2.0 MERGE_DRWS does not work correctly in case the second drawing is the current model on the screen. This is fixed now.
Enhancements
GET_ANNOTATION_POS and SET_ANNOTATION_POS is now also working correctly for GTOL references.
The new command SET_REF_POS allows to include a position in the reference similar to the pick position in case of using USER_SELECT.
The new command CALC_PARAM_POS allows to calculate a position based on a variable between 0 and 1 for geometric references. This can be used to calculate positions on edges and surface and provide their position via SET_REF_POS.
The new option INCLUDE_ERASED for SEARCH_DRW_VIEW_DIM and SEARCH_DRW_VIEW_DIMS allows to search also erased drawing dimensions.
The new option SYMBOLIC_MODE for GET_DRW_NOTE_TEXT allows to retrieve the symbolic definition of a drawing note, rather than the displayed text.
The new command UNERASE_DRW_ANNOTATION allows to redisplay an erased annotation.
The new command SHOW_DRW_ANNOTATION allows to show a drawing annotation for a specific drawing view.
The new command WINWORD_REPLACE allows to replace text in a Word document.
The new command WINWORD_GET_BOOKMARKS retrieves an array of bookmarks from a Word document.
The new commands READ_GTOL, MODIFY_GTOL and CREATE_GTOL allows to read, modify and create geometric tolerances in solids and in drawings.
The new commands GET_ANNOTATION_ANGLE and SET_ANNOTATION_ANGLE allows to control to angle of an annotation.
The new command GET_ANNOTATION_ORIENTATION allows to retrieve the orientation matrix from an annotation.
datecode 2016-07-04-01
Enhancements
The new commands CREATE_EXPLODE_STATE, READ_EXPLODE_STATE and MODIFY_EXPLODE_STATE allow to read, create and modify explode states in assemblies.
The new commands GET_TEXTURE_PROPS and SET_TEXTURE_PROPS allow to retrieve and set bump mapping, texture mapping and decal to models, components and surfaces.
The new commands GET_ANNOTATION_TEXT_STYLE, SET_ANNOTATION_TEXT_STYLE, GET_DRW_ANNOTATION_TEXT_STYLE and SET_DRW_ANNOTATION_TEXT_STYLE allow to access text style properties for solid and drawing annotations.
datecode 2016-09-21-01
Enhancements
New command PURGE_UNUSED_DRW_SYMBOLS to purge all drawing symbols which are no longer in use from a drawing.
New command UPDATE_ALL_DRW_SYMBOLS to update all symbols of a drawing to the newest version.
Bugfixes
Having SYNC_GUI_DYNAMIC enabled, causes a CONFIG_ELEM after a STOP command to be hidden by the Creo window. This is fixed now.
SWITCH_TO_MDL and SWITCH_TO_MAIN_MDL did not work for parts. This is fixed now.
SEND_MAIL did not work exactly to the SMTP specifications, therefor some mail servers did not proceed the mail. This is fixed now.
Using ALLOW_SUPPRESSED in SEARCH_MDL_REF or SEARCH_MDL_REFS did not provide the correct model reference. This is fixed now.
Using Modify Component failed for old smart components. This is fixed now.
RETRIEVE_MDL retrieves a MFG model when supplying the assembly name since 2016-01-04-01. This is fixed now.
GET_COLOR_PROPS and SET_COLOR_PROPS have changed other color properties of a model. This is fixed now.
Using SEARCH_FEAT_PARAM or UDF_EXP_PARAM on analysis features in UDFs could lead to an inch/metric mismatch in case the UDF was defined in the other length system. This is fixed now.
USER_SELECT on GTOL in a part with inheritance feature returned an invalid reference. This is fixed now.
CONFIG_ELEM does not process HEIGHT and WIDTH options. This is fixed now.
New Project does not browse automatically to the standard path. This is fixed now.
SmartAssembly 6.0 M030
datecode 2016-09-27-01
Bugfixes
' The assembly constraints ALIGN_FLIP and MATE_FLIP did not work in the datecode 2016-09-21-01. This is fixed now.
License borrowing did not work in earlier SmartAssembly 6.0 versions. The borrow dialog did not update correctly and without a connection to the server, the borrowed license could not be used. This is fixed now. M030 will supply a new set of buw_license_check-11-4.dll, buw_license_check-11-7.dll, buw_license_check-11-10.dll and buw_license_check-11-12.dll dlls which did no longer distinguish between the version of the license server for a borrowed dll and are required for using the borrowed license. These dlls could not be used by earlier SmartAssembly 6.0 datecodes!
datecode 2016-10-28-01
Bugfixes
The FOR loop option INTERF_QUILT_SOLID requires in some situation to build a temporary model of the shape of the quilt. In case the source model has different length units than the configured ones in config.pro, the temporary model has the wrong size and location. This is fixed now.
CREATE_DRW_VIEW_GENERAL calculated the orientation always based on the master representation of the solid model. This is fixed now.
CREATE_HOLE and MODIFY_HOLE have been failing for ISO_7/1 hole tables. This is fixed now.
MODIFY_HOLE was failing in case hole parameters are driven by relation.
CREATE_DRW_VIEW_DIM was crashing in case of undefined references. This is fixed now.
LINK_SKETCH_MDL failed in case centerlines have been included to the section model. This is fixed now.
Calling CALL_EX with an undefined output reference inside a loop causes crashes in case the called file also includes loops.
Enhancements
New style SHADED_WITH_EDGES for GET_DRW_VIEW_DISPLAY and SET_DRW_VIEW_DISPLAY.
Parameters for modification are no longer written to created UDFs in case ENABLE_DATA_CAPTURE_MODE was set to FALSE. For applications which create a lot of UDFs this should increase the performance.
New option FILTER_COLUMN for GUI table to limit the filtering mechanism to a distinct column.
New command ROTATE_DRW_VIEW to rotate views on a drawing.
New command CREATE_UNIT_SYSTEM to create new unit systems for a model.
The commands SET_VARIED_ITEM_VALUE and SET_VARIED_ITEM_STATE are now also available in the graphical user interface commands.
datecode 2016-12-12-01
Bugfixes
The SCREEN_LOCATION setting for MESSAGE_BOX, MESSAGE_BOX_EX and PROCESSING_BOX was not working correctly. This is fixed now.
PDM_CONNECTED could not determine offline mode of the server. This is fixed now for Creo 2.0 M190 / Creo 3.0 M070 and above.
The USE_SIMPREP option for RETRIEVE_MDL did not work correctly with several standard representations. This is fixed now.
The SCALE_MDL command was showing up a confirmation window. This is now automatically processed and can work without further user interaction.
CALC_RAY_INTERSECTION did not provide the intersection references with the complete path. This is fixed now.
Enhancements
New notification option MDL_RENAME_PRE which is called when a user is clicking the rename button. This could be used to test if a rename should be processed.
New command SET_RETURN_VALUE in order to preset the return value for the notifications MDL_SAVE_POST, MDL_SAVE_PRE and MDL_RENAME_PRE.
New command CONVERT_HOLE_DATA to convert the hole description of an existing hole to a different type.
New command GET_MDL_REGEN_STATE to determine the regeneration state of a solid model.
New commands SET_FEATURE_NAME and GET_FEATURE_NAME to set and retrieve the name of a feature. This could be used to set the feature name of a component feature.
New commands GET_RELATIONS_UNIT_SENSITIVE and SET_RELATIONS_UNIT_SENSITIVE to access the sensitivity of model relations.
New command GET_SURFFINISH_VALUE to read the value of a surface finish.
Add dill_point_angle as configuration option for standard and custom hole in the structure HOLE_CUSTOM and HOLE_STANDARD.
The type in the CREATE_MDL_PARAM command can now be defined by a string expression.
datecode 2017-02-02-01
Bugfixes
FORINTERF_QUILT_SOLID found too many collisions. This is fixed now especially for closed quilts.
SHOW_URL is not showing files in working directory. This is fixed now.
CREATE_DRW did not work with templates from an UNC path. This is fixed now.
CHOOSE_PATH did not work in case the output variable was already defined and valid. This is fixed now.
DELETE_MDL_PARAM and DELETE_FEAT_PARAM commands did not work for parameters with limited or locked access, even if the access could be changed. This is fixed now.
SMARTHOLECHART_EXEC failed in case of 2 output columns. This is fixed now.
SMARTHOLECHART_EXEC failed for the upcoming version 10.0 because of a wrong version test. This is fixed now.
Enhancements
New command CREATE_DRW_VIEW_SECTION to create a cross section in a drawing view.
New NOTIFICATION types FEATURE_CREATE_PRE and FEATURE_CREATE_POST.
New commands for layer states: CREATE_LAYER_STATE, GET_LAYER_STATES, REMOVE_LAYER_STATE, ACTIVATE_LAYER_STATE, SAVE_LAYER_STATE, GET_ACTIVE_LAYER_STATE, GET_LAYER_STATE_LAYERS, SET_LAYER_STATE_LAYER_STATUS, GET_LAYER_STATE_LAYER_STATUS, REMOVE_LAYER_STATE_LAYER, GET_LAYER_STATE_HIDDEN_REFS and SET_LAYER_STATE_REF_STATUS.
New search and select type SURFACE_TYPE.
New commands GET_REGISTRY_STRING(S) and SET_REGISTRY_STRING(S) to retrieve and write text from and to the registry.
New commands to access parameter lock status: GET_FEAT_PARAM_LOCK_STATUS, SET_FEAT_PARAM_LOCK_STATUS, GET_MDL_PARAM_LOCK_STATUS, SET_MDL_PARAM_LOCK_STATUS, GET_REF_PARAM_LOCK_STATUS and SET_REF_PARAM_LOCK_STATUS.
New commands to access enumerated parameters: 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 and GET_ENUMERATED_REF_PARAM_VALUES.
Introduction of verbatim string literals to disable escape characters.
New commands to enhance layer status to ISOLATE and HIDDEN_LINE states: GET_LAYER_STATUS_EX, SET_LAYER_STATUS_EX and SET_DRW_LAYER_STATUS_EX.
New configuration file for RMB popup menus: \configuration\config_popup.cfg.
datecode 2017-02-10-01
Bugfixes
SEARCH_MDL_REF(S) does not work correctly for drawing views. This is fixed now.
Enhancements
New commands CREATE_SURFFINISH, READ_SURFFINISH and MODIFY_SURFFINISH to create, read and modify surface finishes.
New commands READ_SYMBOL and MODIFY_SYMOL to change symbol placements.
New commands CREATE_BOM_BALLOONS and CLEAN_BOM_BALLOONS to create BOM balloons for a repeat region and clean up their position.
New commands GET_DRW_TABLE_ID and GET_DRW_TABLE_FROM_ID to convert reference and ID representation of a drawing table.
New surface finish reference type SURFFINISH to search and select surface finishes.
datecode 2017-02-10-02
Bugfixes
LOOKUP_FAMINSTANCES failed for feature level parameters in the family table. This is fixed now.
datecode 2017-02-10-03
Bugfixes
LOOKUP_FAMINSTANCES failed for work for dimensions and features in the last 2017-02-10-02 datacode. This is fixed now.
datecode 2017-02-15-01
Enhancements
New USE_SIMPREP option to CREATE_DRW_TABLE command.
SmartAssembly 6.0 M040
datecode 2017-02-15-02
Official M040 CD image. Besides version information identical to 2017-02-15-01.
datecode 2017-03-07-01
Bugfixes
The constraint UDF_ORIENTATION in the CREATE_UDF / CREATE_UDF_EX command did not work correctly in case several orientations have been applied. This is fixed now by using an internal mapkey which fixes most cases. For the final fix the SPR 6492076 was submitted.
SMARTHOLECHART_EXEC was crashing in case no bore has been found. This is fixed now.
Enhancements
New commands GET_ANNOTATION_ELEMENT_NAME and SET_ANNOTATION_ELEMENT_NAME to access the name of an annotation element in an annotation feature. This is different from the name in the model tree.
New commands GET_DRW_VIEW_SIMPREP and SET_DRW_VIEW_SIMPREP to access the simplified representation of a drawing view.
New command EXPLDOE_DRW_VIEW to activate or de-activate the explosion of a drawing view.
New command SET_DRW_VIEW_PARTIAL_AREA to change a general view to a partial view.
New command ERASE_DRW_DIM_WITNESS_LINE to erase a witness from a dimension.
New option ALL_VERSIONS in the READ_DIRECTORY command to read all versions of a file.
datecode 2017-06-02-01
Bugfixes
Calling ACTIVATE_INSERT_MODE multiple times in a model without CANCEL_INSERT_MODE caused problems to resume the features correctly. This is fixed now.
Replacing bulk item components did not work correctly. This is fixed now.
A SDS license with suffix (e.g. SMARTASSEMBLY_STD_LL1) did not start the SmartAssembly engine correctly. This is fixed now.
The legacy plain mode password.txt from SA 5.0 did not work in SA 6.0 This is fixed now. Anyway it is strongly recommended to use the new encrypted passwords.
The security center abbreviates passwords to a max length of 32 characters. This is fixed now.
Modify Component did not work correctly for components created by CREATE_GENERAL_MERGE. This is fixed now.
The dashboard error problem could be prevented by the STARTUP_TEMP_MDL configuration option in SmartAssembly, but not in the SDS environment. A reason for this was a race condition which is fixed now.
The SDS configuration option LOG_TRAIL was not processed in SmartAssembly. This is fixed now.
SEARCH_MDL_REF(S) for a named coordinate system dit not work in case the feature name is different from the coordinate system name (e.g. in an import feature). This is fixed now.
The command FOR with REF INTERF_QUILT_SOLID requested to set the density of the proxy model in case the Creo option option mass_property_calculate was set to by_request. This is fixed now.
The EXPORT_FILE command for STEP output produces wrong coordinate system placement in some situations. This is fixed now.
The command EXPORT_FILE does not work with UNC paths for several export types. This is fixed now.
Enhancements
New option USE_DRAWING_UNITS for INSERT_DRW_TABLE_ROW and INSERT_DRW_TABLE_COL to specify width and height in drawing units rather than in characters.
New commands GET_DRW_TABLE_GROWTH_DIR and SET_DRW_TABLE_GROWTH_DIR to get and set the growth direction of drawing tables.
New command GENERATE_RANDOM_INT to generate a random integer value between specified boundaries.
The command SET_DRW_TABLE_FORMAT allows to format the complete table at once in case -1 is specified for row and column index.
New option ARROW_TYPE to specify the leader arrow type for CREATE_DRW_NOTE and CREATE_DRW_VIEW_NOTE.
New reference type EXPLODE_STATE for searching and for GET_REF_NAME.
New command EXCEL_START to start a new Microsoft Excel process and connect to it.
In the SDS environment the external data option is now always enabled, even if not specified in the license file.
New state NO_DEPENDENCY for GET_FEATURE_DEPENDENCY, SET_FEATURE_DEPENDENCY, CREATE_COPY_GEOMETRY, CREATE_GENERAL_MERGE and CREATE_SHRINKWRAP.
datecode 2017-06-09-01
Bugfixes
GET_DIM_TOL_TABLE failed when the tolerance table type was set to NONE. This is fixed now.
GET_DRW_DIM_TEXT_ANGLE and GET_DRW_DIM_TEXT_POS did not work correctly for chamfer dimensions. This is fixed now.
SEARCH_MDL_REF(S) did not work for GTOL, SYMBOL or NOTE on drawings. This is fixed now.
CREATE_SURFFINISH and MODIFY_SURFFINISH fail in case the surface finish symbol path is retrieved via READ_SURFFINISH from a path which does not exist on the current host. To prevent this problem the surface finish symbol will also be searched in the equivalent folder of the current Creo installation.
Enhancements
New reference type DRAWING_GTOL for SEARCH_DRW_ITEM(S).
New option OFFSET_FROM for CREATE_DRW_NOTE and CREATE_DRW_VIEW_NOTE to create offset notes.
New command SET_DRW_TABLE_COL_WIDTH and SET_DRW_TABLE_ROW_HEIGHT to set width and height for columns and rows of a table.
New commands GET_DIM_VALUE_DISPLAY_TYPE and SET_DIM_VALUE_DISPLAY_TYPE to access the value display types of a created dimension which could be either NOMINAL, OVERRIDE or TOLERANCE_ONLY.
New commands GET_DIM_OVERRIDE_VALUE and SET_DIM_OVERRIDE_VALUE to access the dimension override value.
New command GET_DIM_SETUP_TYPE to distinguish reference and ordinate dimensions from regular ones.
datecode 2017-06-16-01
Bugfixes
CREATE_NOTE for a component places the note in the component but shows it in the assembly. This is fixed now.
EXPORT_FILE did not work correctly if a dot was part or the output path (e.g. d:\temp\.\output). This is fixed now.
GET_DRW_TABLE_TEXT failed for cells in repeat regions which have been filterd out since Creo 2.0 M240 / Creo 3.0 M130 / Creo 4.0 M010. This is fixed now.
SET_REF_NAME failed for layers. This is fixed now.
GET_COLOR / SET_COLOR / GET_COLOR_PROPS / SET_COLOR_PROPS did not work for drawing dimensions and annotation dimensions. This is fixed now.
datecode 2017-06-21-01
Bugfixes
GET_DRW_TABLE_TEXT returns formulas rather than content since 2017-06-16-01. This is fixed now.
When calling the GUI via CONFIG_ELEM on Windows 10.0 the the sync window (Event/Commit/Cancel) is visible. This is fixed now.
Enhancements
New command GET_DRW_TABLE_CELL_REGION detects the region id for a drawing table cell.
datecode 2017-07-05-01
Bugfixes
The error handling for GET_COMB_VIEW_PROPS did not work correctly. This is fixed now.
SET_FEATURE_DEPENDENCY failed since 2017-06-02-01. This is fixed now.
SET_ORIENTATION did not work for a specific example. This is fixed now.
GET_REF_TYPE for EDGE_START or EDGE_END detected the type EDGE. This is fixed now.
Enhancements
New reference type SOLID_EDGE to search or select a solid geometry edge rather than a quilt edge.
New command DELETE_REF_PARAM to delete parameters from a reference.
New options for the IMPORT_MDL command: NX, CATIA_V5, INVENTOR, SOLIDWORKS, SOLIDEDGE and JT.
New structure variable update_notification variable for structure COPY_GEOMETRY_OPTION to support the update notification via CREATE_COPY_GEOMETRY.
New commands GET_FEATURE_UPDATE_NOTIFICATION and SET_FEATURE_UPDATE_NOTIFICATION to read and set the update notification of a copy geometry feature.
New option JT for command EXPORT_FILE.
New command GET_DRW_ANNOTATION_POS to get the position of an annotation on a drawing.
New command STOP_EX to extend the STOP command.
datecode 2017-07-12-01
Bugfixes
READ_GTOL fails to read text justification for some legacy models. This is fixed now.
REPLACE_COMPONENT does not work in parent assemblies which are effected by assembly level cuts. This is fixed now.
Enhancements
New commands REG_EXP_SEARCH, REG_EXP_FIND_ALL and REG_EXP_REPLACE to search texts with regular expressions and to replace sub strings in it.
New commands VECTOR_NORMALIZE, VECTOR_GET_LENGTH, VECTOR_DOT_PRODUCT, VECTOR_CROSS_PRODUCT and VECTOR_FROM_POINTS to support arithmetics with euclidean vectors.
New command GET_SA_VERSION to retrieve version, release and datecode information.
New command GET_FLEXIBLE if a component is set as flexible.
The FOR loop EXCLUDE line for the options INTERF_MDL, INTERF_SURF and INTERF_QUILT allows now also to supply array of references than just plain references.
New commands GET_SIMPREP_DEFAULT_ACTION and SET_SIMPREP_DEFAULT_ACTION to read and set the default action of a simplified representation.
Enhance CREATE_SIMPREP to support the other default actions than INCLUDE and EXCLUDE.
datecode 2017-07-14-01
Enhancements
New options to control number of digits for geometrical tolerance values in the structure members in GTOL_DATA.tol_value: overall_tolerance_num_digits, per_unit_tolerance_num_digits and unit_tolerance_area_or_length_num_digits. Also GTOL_DATA.datum_refs.composite_tolerance_num_digits controls the number of digits.
New command ENABLE_RESOLVE_MODE overwrites the setting for the configuration option RESOLVE_MODE while the program file is executed.
New command EXCEL_GET_STRING_BUFFER to retrieve the content from buffer as a string.
New command CLEANUP_DRW_VIEW_DIMS to cleanup dimensions on a drawing view.
Add error handling for SET_MATERIAL if the material is not available.
New option INCLUDE_DATUMS for CALC_OUTLINE to add visible datum planes, axis, coordinate systems and points to the outline calculation.
New members variables name, label, description and keywords for structure COLOR_PROPS.
datecode 2017-07-19-01
Bugfixes
FILE_OPEN_DIALOG fails for a PDMLink path since 2017-03-07-01. This is fixed now.
Enhancements
New command SET_COMB_VIEW_NAME to rename combined states.
New commands GET_BROWSER_SIZE and SET_BROWSER_SIZE to read and set the browser size in percent.
New command GET_SURFACE_QUILT to retrieve the reference to the quilt surface from a surface.
New command GET_MATERIALS to read all materials from a solid model.
New optional argument for DELETE_MATERIAL to delete a list of materials.
New ORIENTATION options ARC_ANGLE and ARC_LENGTH for command CREATE_DRW_VIEW_DIM.
SmartAssembly 6.0 M050
datecode 2017-08-09-01
Bugfixes
The command INSERT_VARIED_ITEM was failing for features and dimensions. This is fixed now.
Parsing larger numbers >= 2147483648 or <= -2147483649 produced wrong results. This is fixed now.
No error message did show up in case the configuration options could not be saved. This is fixed now.
GET_DRW_TABLE_FROM_ID failed if the table was not available even in a BEGIN_CATCH_ERROR situation. This is fixed now.
Using foreign characters in SEND_MAIL did not show up correct results in the mail header. This is fixed now.
Enhancements
New IF condition IS_FLEXIBLE and IS_FLEXIBLE_PREDEFINED to determine if a component is set as flexible.
New IF condition IS_FLEXIBLE_PREDEFINED to determine if a models has predefined flexibility.
New command GET_FLEXIBLE to determine if a component is set as flexible.
New command PREDEFINE_FLEXIBILITY to predefine flexibility for a model.
New command GET_PREDEFIND_FLEXIBLE_ITEMS to retrieve the information about predefined flexible items.
New command REMOVE_VARIED_ITEMS to remove varied items from a inheritance model or a flexible component.
New Command GET_VARIED_ITEMS to retrieve the information about varied items on an inheritance feature or a flexible component.
New option INSERT_AS_ABSOLUTE for the command INSERT_FAMITEM to control absolute dimension values.
New notification options SOLID_REGEN_PRE and SOLID_REGEN_POST which are called when a user is clicking the regenerate button.
Set the variable THIS to the affected model for all notification options.
Improve SEND_MAIL command by adding the security option to the structure MAIL_OPTION. This allows to use SSL and STARTTLS connection security. To use this, the libcurl.dll must be in place.
New MAIL_OPTION array reply_to_addrs to add Reply-To addresses.
New commands INFO_ENGINE_AUTHENTICATE and INFO_ENGINE_QUERY to query information from the Windchill Info*Engine.
datecode 2017-09-19-01
Bugfixes
REGEN_MDL and REGEN_RELATIONS failed to operate on notebooks (former layouts).
CREATE_DRW_SYMBOL and CREATE_DRW_SYMBOL_EX created free placed symbol, even if OFFSET was used as placement type. This is fixed now.
SET_REF_NAME with a consecutive number failed in case the a suppressed feature or a geometry element inside is using this name. This is fixed now.
EXCEL commands which are trying to access cells by index with a row number bigger than 65535 or a column number bigger than > 255 are failing. This was a limitations of the old .xls format which is no longer valid for .xlsx. This is fixed now.
CREATE_NOTE with reference to sub component obstructs a later USER_SELECT command. This is fixed now.
Using MESSAGE_BOX_EX after GET_MOUSE_POINT is locking the Creo session. This is fixed now.
SET_FLEXIBLE failed since 2017-08-09-01 in case references to dimensions have been supplied. This is fixed now.
Enhancements
SET_DRW_VIEW_DISPLAY now allows to use variables instead of keywords for the display mode.
New command GET_QUILT_SURFACES to retrieve the surfaces which belog to a quilt reference.
New command GET_INTENT_MEMBERS to retrieve the members which belong to an intent surface or an intent edge.
New command EXPORT_PRO_PROGRAM to export the Pro/Program file of a model.
datecode 2017-09-29-01
Bugfixes
XML_FORMAT_DOCUMENT fails in case XML markup characters are used in node or attribute values. This is fixed now.
MOVE_ANNOTATION_TO_PLANE showed an annotation in the current assembly even if it belongs to a sub level component. This is fixed now.
For symbols with many sub level groups the following commands did not work properly: SEARCH_DRW_SYMBOL_GROUP_NAMES, GET_DRW_SYMBOL_GROUP_SHOWN, SET_DRW_SYMBOL_GROUP_SHOWN and GET_DRW_SYMBOL_GROUP_EXCLUSIVE. This is fixed now.
Enhancements
New command SWITCH_TO_MDL_POST to open a model after processing the tab file.
New command IMPORT_PRO_PROGRAM to import a Pro/Program file to a model.
Enabled CATCH_ERROR support for EXPORT_FILE in case the export fails.
Enabled CATCH_ERROR support for IMPORT_MDL in case the import fails.
Enabled CATCH_ERROR support for IMPORT_FEATURE in case the import fails.
New logical expression IS_HIDDEN to test if a feature is hidden by the right mouse button command.
New commands GET_EXTERNAL_DATA_CLASSES, GET_EXTERNAL_DATA_SLOTS and READ_EXTERNAL_DATA_SLOT to access external data written from other applications.
New IMPORT_MDL type ECAD to import ECAD idx files.
New command GET_WORKSPACES to retrieve the names of all workspaces of the active PDMLink Server.
New command GET_WORKSPACE_CONTEXT to retrieve the workspace context.
datecode 2017-12-05-01
Bugfixes
The command ZOOM_TO_POS and ZOOM_TO_REF showed unexpected results in case the zoom factor was set to less than 0 and therefor calculated to fit in the window. This is fixed now.
A regular license did not work for a signed application. This is fixed now.
The CHECK_EXTRUDE_OUTLINE command failed in case construction lines are used in the sketch. This happens especially for fillets and chamfers. This is fixed now.
Tables with TABLE_OPTIONARRAY are crashing in case of non value entries in arrays (like references, file handles, XML handles, etc.). This is fixed now.
CREATE_COPY_GEOMETRY copied datum planes as surfaces. This is fixed now.
In case models are erased from session there are different crash situations at the end if management data is tried to be written to the models and in-between when references are stored in an array. Both situations are fixed now.
The command USE_LIBRARY_MDL fails to retrieve the correct name from the idx file in case only the instance name is provided. This is fixed now.
Enhancements
New command XML_QUERY_VALUES combines the existing XML_GET_NODES and XML_GET_NODE_VALUE commands to retrieve directly the node values.
New option USE_MDL_UNITS for CALC_RAY_INTERSECTION to specify the RAY_RADIUS in model units rather than in screen pixels.
New notification options FEATURE_DELETE_PRE and FEATURE_DELETE_POST which are called when features are deleted interactively. The variable COMP_FEAT is set to the feature.
Set COMP_FEAT also for the notification options FEATURE_CREATE_PRE and FEATURE_CREATE_POST.
New command SMARTUPDATE_EXEC to execute SMARTHolechart for a specified model.
New structure members profile_boundary and profile_boundary_flip in structure GTOL_SYMBOLS.
New commands DESIGNATE_ATTRIBUTE and GET_ATTRIBUTE_DESIGNATION_STATUS to set and retrieve the designation status for attributes.
New data type BOOL for table data in the table description block.
New data type CONFIG_STATE for table data in the table description block. This type determines with a boolean TRUE or FALSE if the data set it accessible or not.
New command ENABLE_PRINT_MESSAGE to disable and re-enable the output of the PRINT command.
New option CASE_SENSITIVE for CHECKOUT_OBJECT(S) command. This is important for checkout non Creo files like PDF files which can use uppercase characters in the file name.
Since Creo 2.0 M190 / Creo 3.0 M070 / Creo 4.0 F000, the MEASURE_DISTANCE command produces accurate results also for non-flat quilts, surfaces, edges and curves.
New options INCLUDE_FACETS and INCLUDE_CURVES for CALC_OUTLINE and CALC_OUTLINE_PARAM. Also the CALC_OUTLINE_PARAM command has the new option INCLUDE_DATUMS.
New command ERASE_NOT_DISPLAYED_EX similar to the existing ERASE_NOT_DISPLAYED which was based on a mapkey.
New option COPY_FAMTABLE for the command USE_LIBRARY_MDL. This allows to copy just an instance of a family table or just the generic.
datecode 2018-02-12-01
Bugfixes
Since 2017-12-05-01 the CALC_OUTLINE_PARAM command fails in the graphical user interface in case no option was supplied. This is fixed now.
The command IMPORT_NC_TOOL_XML did not assign the tool to the active workcell, this is fixed now. Also the command requires to to specify to which head of the workcell the tool should be assigned.
The command XML_GET_NODE(S) fails when referencing the parent of a node by using ".." as name. This is fixed now.
The command CHECKIN_OBJECT and CHECKIN_OBJECTS did not set the baseline location and cycle correctly, since the CHECKIN_OPTION member variables baseline_location and and baseline_lifecycle have not been used at all.
The Create new Component dialog crashes in several situations if there are more than 64 images in one folder. This is fixed now.
The command CREATE_XSEC_EX creates a mixed state of legacy and new sections in case existing legacy cross sections are contained. This is fixed by converting the existing legacy sections prior to create a new one.
The command CREATE_DRW fails for drawing templates which are in session and are specified without path. The issue occurs since 2017-02-02-01. This is fixed now.
The command MEASURE_DISTANCE was showing different results since 2017-12-05-01 when using Creo 2.0 M190 / Creo 3.0 M070 / Creo 4.0 F000 or above. The reason is the new internal Creo/TOOLKIT function requests also the the setting of the check boxes in the measure dialog (e.g. "Use as axis", "Use as plane", etc). These are enabled by default right now and therefor the measuring result is identical to the previous behavior.
The command REMOVE_WORKSPACE_OBJECTS fails in case model names with upper case characters are provided in an array with names. This is fixed now by doing all comparisons case insensitive.
The command SEARCH_DRW_ITEMS for DRAWING_NOTE does not find detail notes with internal gtols via the &g# system parameter. This is fixed now.
Since 2016-05-02-01 the command GET_DIM_SYMBOL with the option WITH_SESSION_ID gets the wrong ids for flexible components and models with an assembly cut. This is fixed now.
Enhancements
Compatibility for Creo Parametric 5.0.
New commands GET_GTOL_TEXT and SET_GTOL_TEXT to access text of geometrical tolerances directly. Background for this command are Creo/TOOLKIT issues for manually created tolerances in drawing mode. In some situation the position is retrieved incorrect and in some situations normal leaders are not returned.
CATCH_ERROR support for the command SET_COMMON_NAME in case the common name could not be changed.
New command GET_PDM_MODIFICATION_STATE to determine if an object in PDMLink was changed locally or in workspace This can be used to figure out if the object should be uploaded.
New option REMEMBER_COMPONENT for command REPLACE_COMPONENT to keep the dependency.
Since 2017-07-14-01 the command EXCEL_GET_STRING_BUFFER required also to read the string values in the EXCEL_UPDATE_BUFFER command when the option EXCEL_TO_BUFFER is used. This increases the computation time. The new option UPDATE_STRINGS prevents the EXCEL_UPDATE_BUFFER command to do so.
New command SHOW_HELP adds a help button to the graphical user interface. If the user hits the help button, a specified URL page will be displayed either in the internal or in the standard browser.
New configuration option CLOSE_AUTO_TRACEBACK to close the auto traceback dialog automatically. This option is implemented since the Creo auto_traceback configuration option does not allow to write the traceback.log file without the dialog and also this option does not work at all for the latest Creo 3.0 and Creo 4.0 releases. Especially in a SmartDesignServer environment this option is required to avoid blocking situations.
New reference type DATUM_TAG for selecting and searching for datum tags.
New commands XML_GET_SIBLING_NODE and XML_GET_SIBLING_NODES to access the previous or following siblings of an existing XML node.
New options ENABLE_CHECKBOX1 and ENABLE_CHECKBOX2 to determine the setting of MEASURE_DISTANCE according to the interactive measure distance dialog.
New structure member sketched_hole in structure HOLE_DATA to use the new structure HOLE_SKETCH which provides access to the section member. This can be used to create sketched holes and to modify any kind of holes to sketched holes.
New notification types FEATURE_REDEFINE_PRE, FEATURE_REDEFINE_POST, FEATURE_REGEN_PRE, FEATURE_REGEN_POST, MDL_CREATE_PRE and MDL_CREATE_POST.
New commands GET_DRW_NOTE_ANGLE and SET_DRW_NOTE_ANGLE to read and write the angle of a drawing note.
New commands GET_DATUM_TAG_LABEL and SET_DATUM_TAG_LABEL to read and write the label of a datum tag. This works also for the new sort of datum tags in Creo 4.0.
New command GET_DATUM_TAG_ATTACHMENT retrieves the reference to which the datum tag is attached.
datecode 2018-02-14-01
Bugfixes
Since 2018-02-12-01 the commands EXCEL_GET_VALUES and EXCEL_GET_STRINGS only created an array with 2-dimensional sub-arrays. The result value was missing. This is fixed now.
Enhancements
CATCH_ERROR support for the XML_SAVE_DOCUMENT command in case the document can't be saved.
SmartAssembly 6.0 M060
datecode 2018-02-15-01
Bugfixes
In Creo 3.0 M140/M150 the SET_DRW_VIEW_ORIENTATION command fails for a currently created drawing. This is fixed now.
The command XML_SAVE_DOCUMENT was crashing Creo in case of an invalid file path. This is fixed now.
datecode 2018-03-23-01
Bugfixes
COMMAND entries in mapkey_menu.cfg are failing for asm(_copy) / prt(_copy) operations in case they include .tab. This is fixed now.
The commands FTP_DOWNLOAD_FILE and FTP_UPLOAD_FILE are failing in case a firewall does not support the FTP active mode. Therefor the commands will now work in passive mode.
The command GET_DESIGN_SERVER_VARIABLE failed if it was called several times for the same output variable. This is fixed now.
In case a searched surface was supplied to the commands GET_REF_POS and GET_SURFACE_NORM as input reference, the point output reference can contain invalid coordinates in some situations. This is fixed now.
LOAD_MDL failed to select a model from the PDMLink common space since 2017-03-07-01. This is fixed now.
The commands GET_CURVE_AT_POS and GET_CURVES_AT_POS are not working correctly for composite curves. This is fixed now.
The command SEND_MAIL via cURL accidentally used the timeout value for sending the complete mail. This is per default 30 and therefor all mails which require more than 30 seconds have been failing with a timeout message. This is fixed now.
Enhancements
Improve robustness for the command CREATE_DRW_VIEW_DIM for ORIENTATION type ARC_ANGLE and ARC_LENGTH. In this case only the first reference is used and the ATTACH_TYPE_REF1 and ATTACH_TYPE_REF2 options are set to NONE.
New commands SET_DRW_VIEW_DETAIL_OUTLINE and SET_DRW_VIEW_DETAIL_OUTLINE_CIRCLE to alter the outline of a detail view.
New commands GET_EDGE_AT_POS and GET_EDGES_AT_POS to retrieves edges by a model position.
New commands GET_SURFACE_AT_POS and GET_SURFACES_AT_POS to retrieve surfaces by a model position.
New commands GET_ANNOTATION_LEADER_REF and GET_ANNOTATION_LEADER_REFS to retrieve the attachment references for notes, symbols, surface finishes and geometrical tolerances.
New CATCH_ERROR support for XML_SAVE_DOCUMENT.
datecode 2018-05-02-01
Bugfixes
The command REG_EXP_SEARCH was failing in case the expression does not match. This is fixed now.
The command CREATE_DRW was failing in case the path was specified as wtpub: to search for the template in the common space. This is fixed now.
The command SET_DRW_CUR_SHEET was failing for an invalid sheet number even in a CATCH_ERROR situation. This is fixed now.
UDFs with variable dimensions in sub groups did work for with SEARCH_UDF_DIM, UDF_EXP_DIM_NAME and UDF_EXP_DIM_REF due to a bug in Creo/TOOLKIT. This is fixed since Creo 3.0 M160 / Creo 4.0 M050 / Creo 5.0.1.0.
The command INSERT_VARIED_ITEM failed for a parameter in case the base model was not in session. This is fixed now.
Enhancements
New reference types CONCAVE_EDGE and CONVEX_EDGE to search or select concave or convex edges.
New command MODIFY_COMB_VIEW to modify and existing combined view.
New option IMAGE for the commands MESSAGE_BOX, MESSAGE_BOX_EX and PROCESSING_BOX_START to show an image in the dialogs.
New command GET_EDGE_PNT_RATIO to compute the ratio of the selection position on an edge.
New command GET_EDGE_LENGTH to compute the length of an edge based on an optional start and end reference.
New command SAVE_DRW_TABLE to save existing drawing tables as txt, csv or tbl files.
New command MOVE_FILE to move a file on the hard disk to a new position or a new name.
New commands GET_TEXTURE_PLACEMENT_PROPS and SET_TEXTURE_PLACEMENT_PROPS to read and write the placement properties of an applied texture.
Improved CATCH_ERROR handling for GET_TEXTURE_PROPS and SET_TEXTURE_PROPS.
New command INCLUDE in the graphical user interface block and in the table description block to include the GUI information or the table information from another script file.
datecode 2018-05-14-01
Bugfixes
Since 2017-07-14-01 the commands CALC_OUTLINE_PARAM and CALC_OUTLINE have included non solid geometry to the calculation by default. This is fixed now. In case this geometry should be included to the calculation, the new option INCLUDE_NONSOLID was added.
Since 2018-05-02-01 the command SET_FLEXIBLE failed in case parameters or dimensions have been specified by their names. This is fixed now.
Enhancements
New options MIN_VALUE and MAX_VALUE to specify limits for the command USER_INPUT_PARAM in the graphical user interface.
New option SCREEN_LOCATION for the CONFIG_ELEM command to determine the location of the graphical user interface on the screen.
New option TABLE_HEIGHT for GUI tables to specify the number of visual rows.
New command USER_LIST_BOX for a list box widget in the graphical user interface.
New command USER_DROP_DOWN for a drop down widget in the graphical user interface.
New option REQUIRED for the command RADIO_BUTTON_PARAM.
datecode 2018-05-14-01
Enhancements
Support for the internal XML scheme for SmartDesignServer 5.0 M150.
datecode 2018-06-18-01
Bugfixes
The command GET_FAMITEM_VALUE failed for system parameters with table pattern table names. This is fixed now.
The command GET_FAMITEM_SYMBOL failed for system parameters with table pattern table names. This is fixed now.
Assembling a simplified representation to the active model which is in simplified representation converts the component to master rep. This is fixed now.
The command CREATE_NOTE does not add the leader array in case it is used on part level, but in the assembly context. This is fixed now.
Enhancements
New command ENABLE_CONT_REF_CHECKING_MODE and new configuration option CONT_REF_CHECKING_MODE to enable or disable the automatic validity check for references after each processed command line. Especially if many models are in session this error check will require a lot of performance.
New logical expression ARRAY_EMPTY to check if an array is populated or not.
New notification options MDL_RETRIEVE_POST and MDL_RETRIEVE_POST_ALL which are called after a model was opened interactively. MDL_RETRIEVE_POST just reports the model which was explicitly opened. MDL_RETRIEVE_POST_ALL reports also all depended models which are opened with the explicitly selected one.
New command CHECKIN_WORKSPACE to check-in all files of a workspace. This allows also to check-in non Creo objects.
datecode 2018-08-23-01
Bugfixes
The command SET_DRW_NOTE_TEXT is failing in case it includes an empty line. This is fixed now.
The commands GET_NOTE_TEXT and GET_DRW_NOTE_TEXT retrieved wrong results when reading symbolic descriptions from a wrapped table cell. This is fixed now.
Since 2018-02-14-01 the command EXCEL_GET_STRINGS always created sub arrays with an empty string as third argument. This is fixed now.
The command SHOW_DIM_ANNOTATION failed in some situations since its orientation was calculated wrong. This is fixed now.
The command MODIFY_SYMBOL crashed for symbols with leaders. This is fixed now.
The command READ_SYMBOL retrieved wrong information when using standard annotation planes. This is fixed now.
In case the symbol definition was stored in the model, but not on the hard disk, the following commands have been failing: CREATE_SYMBOL, MODIFY_SYMBOL, CREATE_DRW_SYMBOL, CREATE_DRW_SYMBOL_EX, CREATE_DRW_VIEW_SYMBOL and CREATE_DRW_VIEW_SYMBOL_EX. This is fixed now.
CREATE_DRW_SYMBOL, CREATE_DRW_SYMBOL_EX, CREATE_DRW_VIEW_SYMBOL, CREATE_DRW_VIEW_SYMBOL_EX, CREATE_SYMBOL and CREATE_SURFFINISH did not check the the pro_symbol_dir and pro_surface_finish_dir correctly. This is fixed now.
The state of a USER_LIST_BOX and a USER_DROP_DOWN GUI element was not activated in case it was driven by an IF statement based on a table value. This is fixed now.
SHOW_DRW_ANNOTATION failed for showing geometric tolerances on the drawing which had been created in the solid model. This is fixed now.
Enhancements
Enable SFTP and FTPS support for FTP_CONNECT, FTP_UPLOAD_FILE and FTP_DOWNLOAD_FILE.
New configuration options WRITE_LOG_FILE and ERROR_FILE to write out log and error information.
The Component Engine > Remove Component and Component Engine > Modify Component are now also working when selecting a group which contains the components.
For the following commands symbols are now also searched in the PRO_SYMBOL_DIR folder: CREATE_DRW_SYMBOL, CREATE_DRW_SYMBOL_EX, CREATE_DRW_VIEW_SYMBOL, CREATE_DRW_VIEW_SYMBOL_EX, CREATE_SYMBOL.
Adding arrow_type member variable to structure ATTACH_LEADER for drawing symbols.
Improved functionality to create, read and modify 2d and 3d notes by the commands CREATE_NOTE_EX, READ_NOTE_EX, MODIFY_NOTE_EX, CREATE_DRW_NOTE_EX, READ_DRW_NOTE_EX and MODIFY_DRW_NOTE_EX.
Automatic resolve of contradictory settings of the EXPORT_FILE command for EXPORT_AS_WIREFRAME, EXPORT_AS_SURFACES, EXPORT_AS_SOLID and EXPORT_AS_QUILTS. supported.
Assignment (=) of array and structure variables.
New command DELETE_GTOL to delete a geometric tolerance from a solid model or a drawing.
New commands CREATE_GTOL_CREO4, READ_GTOL_CREP4 and MODIFY_GTOL_CREO4 to create, read and modify geometric tolerances in solid models and on drawings with the new functionality introduced in Creo Parametric 4.0.
New command GET_SYMBOL_STRING to retrieve character encodings for specific symbols like DIAMETER, FREE_STATE, STATE_TOL, etc.
datecode 2018-08-28-01
Bugfixes
The command CREATE_SYMBOL with the options VAR_TEXT caused a crash in Creo since 2018-08-23-01. This is fixed now.
datecode 2018-08-29-01
Bugfixes
Searching for curves via SEARCH_MDL_REF, SEARCH_MDL_REFS, SEARCH_FEAT_REF and SEARCH_FEAT_REFS was accidentally also finding datum points. This is fixed now.
SmartAssembly 6.0 M070
datecode 2018-09-05-01
Bugfixes
Reading drawing note text by GET_NOTE_TEXT and GET_DRW_NOTE_TEXT is working with low performance since 2018-06-23-01. This is fixed now.
datecode 2018-09-12-01
Bugfixes
CONFIG_HTML did not work correctly since 2017-12-05-01. This is fixed now.
datecode 2018-09-14-01
Bugfixes
The command READ_GTOL_CREO4 failed in case no reference was supplied. This is fixed now.
datecode 2018-09-17-01
Bugfixes
Since 2015-09-20-01 the command CALC_CLEARANCE did not work correctly for single surfaces. This is fixed now.
Since 2017-09-29-01 the escape sequences \r and \t in the commands MESSAGE_BOX and MESSAGEBOX-EX did not work like in the previous versions. This is fixed now.
datecode 2018-09-26-01
Bugfixes
In several cases the command MEASURE_DISTANCE returned 0 even though there was a distance between the references or it was causing a crash. This is fixed now.
The command DELETE_ARRAY_ELEM was causing a crash for a negative index. This is fixed now.
The function ftos added a 1 to the 8th decimal number. This is fixed now.
IFREF_EQUAL comparisons between references obtained by GET_REF_OWNER versus SEARCH_MDL_REF have always been failing. This is fixed now.
FIND_ARRAY_ELEM searches have been failing in case the comparisons between references obtained by GET_REF_OWNER versus SEARCH_MDL_REF are involved. This is fixed now.
Enhancements
New reference types CONCAVE_SURFACE and CONVEX_SURFACE to search or select concave or convex surfaces.
New logical expression IS_CONCAVE_SURFACE and IS_CONVEX_SURFACE to determine if a surface is concave or convex.
New configuration option DEBUG_TAB_VARIABLE to log the content of a variable to the trail file for each processed instruction in the program file.
datecode 2018-12-17-01
Bugfixes
Since 2018-03-23-01 there is a potential license issue for old license servers (prior to 11.12) when the license server is on the client machine and IPv6 is enabled and has priority over IPv4. As a workaround either use names with IPv4 addresses in the LICENSE_FILE entry of license.ini or use 127.0.0.1. The issue is fixed now.
One illegal escape sequence in a string prevented the usage of all escape sequences. This could typically happen in case on missing characters. For example in 'line1\nline2\line3' the first '\n' is not converted since '\l' is not a legal escape sequence. This is fixed now.
The command REATE_DRW_SYMBOL_EX did not show decimal values as variable symbol text. This is fixed now.
Since 2018-08-23-01 the command CREATE_DIM_ANNOTATION was failing. This is fixed now.
XML_GET_NODES is was crashing in case of internal namespaces. This is fixed now.
The command EXCEL_UPDATE_BUFFER was causing a crash in case of multi-line cells in case UPDATE_STRING was not set to FALSE. This is fixed now.
The command CHECKIN_OBJECT(S) sometimes fails even though all the models have been checked in. This is fixed now.
Enhancements
Avoid re-reading of non modified tab files to improve performance.
In case WRITE_LOG_FILE is enabled, previous PRINT statements will also be listed in the log file.
New NO_REGEN option for the commands INSERT_DRW_TABLE_COL, INSERT_DRW_TABLE_ROW, SET_DRW_TABLE_COL_WIDTH and SET_DRW_TABLE_ROW_HEIGHT.
datecode 2019-01-14-01
Bugfixes
Since 2018-08-23-01 SmartAssembly is blocking on startup in some rare situations. It looks like these situations are mainly limited to Windows 7 installations. This is fixed now.
The function itos truncates DOUBLE variables instead of rounding them. So small numeric inaccuracies are causing rounding errors. This is fixed now.
Since 2018-12-17-01 the 3rd party dlls libcurl.dll and zlib1.dll are not retrieved correctly. Therefor the following commands have failed: FTP_CONNECT (with enabled security option), SEND_MAIL (with enabled security option), ZIP and INFO_ENGINE_QUERY. This is fixed now.
Enhancements
New command GET_TAB_LINE_NUM to retrieve the current line number of the tab file.
New option CONTINUE_ON_CANCEL for CONFIG_ELEM to avoid termination of the program in case the user hits the cancel button.
New IF condition GUI_CANCELLED to determine if the graphical user interface was canceled.
New GUI command CAPTION to set the caption message of the GUI dialog. This command considers component_engine.txt translations.
New command GET_TRANSLATION to retrieve a translated message from the specified text\\component_engine.txt file for a specific language. Similar to the PRINT command a percentage character can be used as placeholder for a variable.
New commands SET_AUTO_TRANSLATION_PATH and SET_AUTO_TRANSLATION_LANGUAGE to preset path and language for the GET_TRANSLATION command.
New type VRML for the EXPORT_FILE command.
New command EXCEL_CLEAR_CONTENT to clear one or a range of cells in Excel.
datecode 2019-01-25-01
Bugfixes
GET_VARIED_ITEMS did not work for inheritance features. This is fixed now.
SEARCH_DRW_ITEMS found some "ghost" GTOLs on several drawings. This is fixed now.
SET_MDL_NAME for solid models renamed drawings of the same name even if they were not associated. This is fixed now.
REGEN_MDL for drawings did not update the solid models which were shown on a drawing. This is especially important in case a simplified representation is shown as drawing view. This is fixed now.
Enhancements
New commands GET_MDL_NOTEBOOK, GET_MDL_NOTEBOOKS, DECLARE_MDL_NOTEBOOK and UNDECLARE_MDL_NOTEBOOK to retrieve dependent notebooks from models and to declare or undeclare them.
datecode 2019-02-01-01
Enhancements
Support for SmartDesignServer configuration option CLEANUP_PROE_CACHE_EXPIRATION to create a timestap in $PTC_WF_ROOT/.sds_timestamp.
SmartAssembly 6.0 M080
datecode 2019-02-11-01
Enhancements
Official SmartAsembly M080 build.
datecode 2019-02-27-01
Bugfixes
Since 2019-01-25-01 the command SEARCH_DRW_ITEMS does not find GTOLs which are attached to a drawing dimension. This is fixed now.
The command LOAD_DRW_OPTIONS did not work for UNC paths. This is fixed now.
Enhancements
New commands CREATE_FIELD_POINT, READ_FIELD_POINT and MODIFY_FIELD_POINT to create, read and modify a field points on the specified position.
New commands DELETE_ORIENTATION and SET_ORIENTATION_NAME to delete or rename an existing orientation. These commands require Creo 3.0 M140 / Creo 4.0 M020 or above.
New command DELETE_COMB_VIEW to delete an existing combined view.
New option FORMAT_SHEET for command SET_DRW_FORMAT to specify which sheet of the format should be used.
New commands GET_XSEC and GET_XSECS to search for one or multiple cross sections by name.
New command DELETE_XSEC to delete a cross section from a model.
New command SHOW_DRW_FORMAT to show or hide the format on a drawing sheet.
New options EXPORT_SHEETS, MODEL_SPACE_SHEET and PAPER_SPACE_SHEETS for the EXPORT_FILE command, to determine the range of exported sheets for DXF and DWG output.
New option POCKET_NR for command IMPORT_NC_TOOL_XML to specify the pocket number (tool number) for which the tool should be imported.
New commands GET_SERVER and GET_SERVERS to retrieve the aliases of PDMLink servers, even if they are not active.
New option SERVER_NAME for the commands GET_CURRENT_WORKSPACE, GET_WORKSPACES and GET_WORKSPACE_CONTEXT.
New command PURGE_UNUSED_SYMBOLS to purge non used symbols from a solid model.
datecode 2019-03-12-01
Bugfixes
Occasional crashes happend for EXPORT_DRW_PDF when using for batch processing. This is fixed now.
Selections from USER_SELECT COMPONENT cause errors in several commands where features are expected. Affected commands are: GET_FEATURE_DEPENDENCY, GET_FEATURE_DEPENDENCY_NAME, GET_FEATURE_STATE, GET_FEATURE_UPDATE_NOTIFICATION, SET_FEATURE_DEPENDENCY and SET_FEATURE_UPDATE_NOTIFICATION. This is fixed now.
IF with logical expression REF_GENERIC was evaluated as false for a family table with columns, but without rows. This is fixed now.
Enhancements
New option FILTER_REF for the commands USER_COLLECT, USER_SELECT, USER_SELECT_MULTIPLE, USER_SELECT_MULTIPLE_OPTIONAL and USER_SELECT_OPTIONAL.
datecode 2019-04-29-01
Bugfixes
SWITCH_TO_MDL caused crashes in Creo 5.0 after selecting a component in the graphical user interface. It looks like accidental pre-selection highlighting is causing this issue. This is fixed now.
INFO_ENGINE_QUERY did not work for https connections. This is fixed now.
ACTIVATE_SIMPREP for MASTER representation does not work correctly in case the model was not on the screen when then tab file started to process. This is fixed now.
REMOVE_SIMPREPS failed in case the name of the simplified representation was not supplied by a variable but by a text. This is fixed now.
Trying to create a second top level node by XML_ADD_NODE causes a crash. This is fixed now.
In rare situations READ_GTOL_CREO4 fails because it could not detect the leaders. In this case the leader will now be ignored.
INSERT_DRW_SHEET caused an error in case the drawing was not the current model on the screen. This is fixed now.
CREATE_UDF failed in the rare situations when a UDFs required a PART reference which was obtained by SEARCH_MDL_REF. An example for this situation is UDF of a surface copy of all solid surfaces. This is fixed now.
In some situations iterations between INSERT_DRW_SHEET on a drawing and GET_ANNOTATION_TEXT_STYLE on solids have been causing a crash. This is fixed now.
SEARCH_DRW_ITEMS did correctly determine DRAWING_GTOL and showed different behavior in Creo 3 and Creo 4. This is fixed now.
The math expression mod computed wrong results for numerical round-of problems (e.g. mod(699.9999999, 50) = 50). This is fixed now.
READ_GTOL_CREO4 failed for some legacy geometric tolerances placed on old style datum tags. This is fixed now by simply skipping data which could not be retrieved. However due to the functionality in the Creo/TOOLKIT API the command is sometimes converting the legacy geometric tolerances. This could lead to regeneration problems. Currently there is no way to distinguish legacy annotations from current ones, but this functionality is announced for the upcoming Creo Parametric versions and will be addresses ASAP from SmartAssembly.
SQL_QUERY returns always 0 for data types DECIMAL and NUMERIC. This is fixed now.
GET_AUDIT_TRAIL was failing since Pro/ENGINEER Wildfire 5.0 because the output file has changed. This bug is fixed now.
Temporarily created coordinate systems for GET_MASS_PROPERTIES remained in the model in case it was family table instances. This is fixed now.
EXCEL_GET_VALUES and EXCEL_UPDATE_BUFFER commands did not work correct in some situations. This is fixed now.
Enhancements
New option UPDATE_COMMON_NAME for the command SET_MDL_NAME to determine if the common name should be changed accordingly.
Support of Creo 6.0.
New commands GET_DRW_TABLE_COL_WIDTH and GET_DRW_TABLE_ROW_HEIGHT to determine the width and height of a drawing table cell in characters or in drawing units.
New commands GET_SYMBOL_VAR_TEXT and GET_DRW_SYMBOL_VAR_TEXT to read a variable text from a symbol instance in a solid model or in a drawing.
New option REQUIRED for the command CHECKBUTTON_PARAM. This is useful for the types INTEGER and DOUBLE if the value is defined, but different from 0 or 1. In this case the check box will show up with a third state.
New commands GET_GTOL_VALUE and SET_GTOL_VALUE to read and write the value of a geometric tolerance.
Ensure that the Create new Component button can't be clicked while the previous program file is running. Previously this was possible when a USER SELECT statement was active.
Enabling error trapping for EXCEL_LOAD_DOCUMENT, EXCEL_SAVE_DOCUMENT and EXCEL_CLOSE_DOCUMENT. Also information about the problem is now available as warnings or as error messages.
New commands CREATE_GENERAL_PATTERN, READ_GENERAL_PATTERN and MODIFY_GENERAL_PATTERN to create, read and modify all kind of patterns.
New option WITH_TIMESTAMP for the WRITE_LOG_MESSAGE command.
New command ENABLE_ERROR_LOG to enable or disable output of the error messages to a distinct file.
SmartAssembly 6.0 M090
datecode 2019-05-03-01
Bugfixes
CALC_GLOBAL_INTERFERENCE was crashing on Creo 6.0.0.0. This is fixed now.
CREATE_REF_PATTERN was failing since 2019-04-29-01. This is fixed now.
LOOKUP_FAMINSTANCE did not work for tolerances values. This is fixed now.
Settings > Pre-Select Program for Mapkeys did not allow to select .tbx files. This is fixed now.
CREATE_GENERAL_PATTERN did not work in assembly context. This is fixed now.
datecode 2019-05-10-01
Bugfixes
Since 2019-04-29-01 the command GET_MASS_PROPERTIES failed for external coordinate systems in some situations. This is fixed now.
Enhancements
New option ONLY_TRANSLATION_INVARIANT for GET_MASS_PROPERTIES and GET_XSEC_PROPERTIES to limit the calculation to the translation invariant properties volume, surface_area, density, mass and center_of_gravity of the structure MASS_PROPERTIES to avoid the creation of a temporary coordinate system.
New commands CREATE_GENERAL_POINT, READ_GENERAL_POINT and MODIFY_GENERAL_POINT to create, read and modify all kind of general datum features.
Enabling error trapping for SET_VARIED_ITEM_STATE, SET_VARIED_ITEM_VALUE, INSERT_VARIED_ITEM and REMOVE_VARIED_ITEM.
New logical expression EXCEL_HAS_DOCUMENT to test if a document is currently opened in Excel.
New command UNLINK_SKETCH to transform an external sketch of a feature to an internal one.
datecode 2019-05-21-01
Bugfixes
The option FILTER_GEOM of USER_SELECT did not work correctly for AXIS, CSYS and CSYS_AXIS. This is fixed now.
Poor performance when removing component with patterns since 2019-04-29-01. This is fixed now.
Enhancements
New command CONVERT_TO_SMT to convert a solid part to a sheetmetal part by specifying driving surface and thickness.
datecode 2019-06-27-01
Bugfixes
The command SEARCH_SYMBOL_GROUP_NAMES failed in case it contained no symbol groups. This is fixed now.
In some situations REMOVE_FEATURE(S) activated a previous active simplified representation. This is fixed now.
The command SET_FAMITEM_VALUE did not work correctly when applying FALSE to a Yes/No parameter.
The command MAPKEY truncated the text to 255 characters due to a restriction which is no longer existing. This is fixed now.
The command GET_DRW_VIEW_PNT_ORIENT calculated wrong results in case an origin different from NULL had been specified. This is fixed now.
The commands CHECKOUT_OBJECT and CHECKOUT_OBJECTS had been failing in case the full path to the PDMLink object was supplied. This is fixed now.
The command CREATE_DRW_VIEW_SYMBOL with option WITH_LEADER attached leader and note at the wrong position. This is fixed now.
In some rare situations for Windows 7 SP 1 SmartAssembly tended to lock on startup. This is fixed now.
The mouse wheel did not work in the graphical user interface for a component configuration. This is fixed now.
Enhancements
New option DEBUG_TAB_FILE in order to execute a debug tab file after each step in the productive tab file.
New option DEBUG_SINGLE_STEP in order to process program files in single step mode.
New command WRITE_TRAIL_MESSAGE to write a message with a specific tag to the trail file.
New command ENABLE_RESTORE_SIMPREPS and new option RESTORE_SIMPREPS to enable or disable the restorage of simplified representation after each code line.
New option FORCE for command ACTIVATE_SIMPREP to enable the simplified representation of a model which is displayed in Creo.
New command CLEAR_GUI_CANCELLED to clear the flag for cancellation of the graphical user interface.
New command READ_XSEC_EX to read the properties of an existing cross section.
New command SET_DRW_SIZE to set the size of a drawing sheet by name or by width and height.
New command DELETE_DIM_ANNOTATION to delete an annotation dimension.
New option ATTACH_TO for command COPY_FILE_FROM_WS to copy the secondary content of a CAD object.
New command CREATE_DRW_VIEW_DIM_ORDINATE_BASELINE to create an ordinate baseline based on an existing dimension.
New option FORCE for command MAPKEY to give temporary the control back to Creo by opening and auto-committing a hidden dialog.
New command for arrays with sub-arrays. TRANSPOSE_ARRAY is switching column and row location. GET_ROW_ARRAY and GET_COL_ARRAY to access a column or a row and put it to a normal array with data elements. These functions are useful when retrieving an array with sub-arrays by ODBC_QUERY and put them in a table in the graphical user interface.
New commands GET_ANNOTATION_LEGACY_STATE and CONVERT_LEGACY_ANNOTATION to detect and convert legacy annotations which have been created prior to Creo 4.0.
New option USE_32BIT_DRIVER for ODBC_CONNECT to connect with a 32 bit ODBC driver. This option requires to have SmartAssembly60_odbc32.exe installed.
New option CAPTURE_OUTPUT for PLUGIN to capture the output of a console application.
datecode 2019-09-02-01
Bugfixes
The command CREATE_ORIENTATION failed for surfaces which are not exactly orthogonal even though the orientation could be created manually. This is fixed now.
Since 2019-04-29-01 the text of the command CHECKBOX_PARAM did not show up completely. This is fixed now.
The option CLEAN_POSITIONS of command CLEAN_BOM_BALLOONS did not detect its valid settings correctly. This is fixed now.
The command CREATE_DRW_NOTE_EX failed in case the drawing was not the active model on the screen. This is fixed now.
The option DISPLAY_ORDER did not work for USER_COLLECT and USER_SELECT_MULTIPLE. This is fixed now.
The menu button Download Library from PDMLink caused a non responsive Creo session. This is fixed now.
The command USER_DROP_DOWN calculated its required hight for the dialog layout according to the option VISIBLE_LINES. Now only the height of the control element is reserved for the placement position.
Since Creo 4.0 the command SET_DIM_FRACTIONAL was setting the denominator always to 1 due to a bug in reading the Creo configuration dim_fraction_denominator. This is fixed now.
The command SET_FLEXIBLE_ITEM_STATE also set the state of the feature in an non-flexible instance of the model. This is fixed now.
The command GET_MDL_DTL_OPTIONS failed to read decimal_marker and did not consider new options. This is fixed now.
The command SET_DRW_VIEW_SCALE failed in case a view was specified, but the scale was related to the drawing sheet. This is fixed now.
The command GET_REF_FAMINSTANCE failed in case the supplied reference was suppressed. This is fixed now.
The command GET_DIM_FEATURE returned the group rather than the owning feature. This is fixed now.
Graphical user interfaces without any visible elements have been crashing in the CONFIG_ELEM command. This is fixed now.
The command GET_FLEXIBLE_PREDEFINED_ITEMS did not work since 2019-01-25-01. This is fixed now.
Enhancements
New reference type SMT_BEND_SURFACE to search or select a sheetmetal bend surface.
New commands FILE_READ and FILE_WRITE to read a complete file to a string variable and save it from a string variable.
Allow to indent table definition in GUI section. This is useful for a more sophisticated indention in the new user interface.
USER_INPUT_PARAM fields with option REQUIRED and invalid values will be colored in red.
New command USER_TEXT_BOX for a multi-line text box widget in the graphical user interface.
New option INSERT_AS_EXT_REF for the command INSERT_FAMITEM to add an external reference to the family table. This option required Creo 4.0 M100 / Creo 5.0.5.0 / Creo 6.0.2.0 or above.
New command ADD_ANNOTATION_ELEMENT_REF and ADD_ANNOTATION_ELEMENT_REFS to add one or multiple standard, surface or chain references to an annotation element.
New command PROCESS_PROE_EVENTS stops the processing of SmartAssembly commands for a short while and allows waiting Creo events to be processed.
The command GET_TRANSLATION and the normal translation mechanism are not also considering escape sequences.
New option TOOLTIP for input elements on the graphical user interface like USER_INPUT_PARAM, USER_SELECT, etc. Additional the option IMAGE can be used to add an image to the tooltip.
datecode 2019-09-03-01
Bugfixes
The configuration option RESTORE_SIMPREPS which was introduced in 2019-06-27-01 was accidentally set to YES. This has a huge performance impact for large assemblies. Now it is set by default to NO.
Enhancements
New command SUB_PICTURE to place an overlaying picture over the GLOBAL_PICTURE.
datecode 2019-09-06-01
Bugfixes
The command SUB_PICTURE did not update the image when the variable content was changed. This is fixed now.
Altering a table selection by keyboard did not update parameters shown by SHOW_PARAM. This is fixed now
Enhancements
New option PRECISION for the commands GET_SURFACE_AT_POS and GET_SURFACES_AT_POS.
New command FILE_SAVE_DIALOG to let the user choose a file name an location.
datecode 2019-09-19-01
Bugfixes
The commands CREATE_MDL_PARAM and CREATE_FEAT_PARAM were failing for reserved parameters like PTC_MATERIAL_NAME even if CATCH_ERROR was enabled. This is fixed now.
The command ADD_MAP_ELEM failed in case of a boolean value was supplied without the use of a variable. This could also be the case when using the stob function. This is fixed now.
The command RETRIEVE_MDL failed to retrieve a family table instance when this is not specified with the generic name, but by the idx file and the generic model is already in session. This is fixed now.
Enhancements
New command GET_DRW_VIEW_MATRIX to read the orientation matrix from a drawing view.
New logical condition IS_INSERT_MODE_ACTIVE to detect if a model is in insert mode.
New command GET_INSERT_MODE_POSITION to detect a reference to the last active feature before the insert mode.
SmartAssembly 6.0 M100
datecode 2019-09-24-01
Bugfixes
The command INSERT_FAMITEM was failing for references since 2019-09-02-01. This is fixed now.
datecode 2019-10-10-01
Bugfixes
The command SUB_PICTURE did not show the transparent color for GIFs when further properties had been set. This issue only occurred with the configuration option IMAGE_GRAPHICS set to GDIPLUS. This is fixed now.
Expanding a graphical user dialog in Y direction stretched the images of a GLOBAL_PICTURE command. This is fixed now.
The option TOOLTIP showed garbled characters for very short texts. This is fixed now.
In rare cases the EXCEL_DISCONNECT command is causing an exception which is shown in a small popup dialog. This is fixed now.
Using variable names starting with WHILE inside a WHILE loops was causing a parsing error. This is fixed now.
The TOOLTIP option did not work for RADIOBUTTON_PARAM. This is fixed now.
Enhancements
New command GET_MDL_SESSION_ID to retrieve the session id of a model. This can be used in relations or for notes referring to a specific model.
New configuration option BRACKET_FUNCTION to specify a tab file with is executed before or after a Creo command was used.
New option ON_PICTURE for USER_INPUT_PARAM in the graphical user interface allows to place the graphical input element on an image.
New command LOAD_CONFIG_OPTIONS to read a configuration option file for the current Creo Parametric session.
datecode 2019-10-24-01
Bugfixes
Using the commands CAPTION, SHOW_URL, INCLUDE and CALL could lead to crashes or undefined behavior in following ELSE_IF, ELSE and END_IF statements. This is fixed now.
The command LINK_SKETCH_MDL did not work correctly for spline geometry. This is fixed now.
The command SUB_PICTURE was putting overlaying pictures without transparency always to the location 100 / 100. This is fixed now.
Testing a surface for convexity or concavity led to a crash for all surface types except for planar, cylindrical, cone and torus. Affected are the logical expressions IS_CONVEX_SURFACE and IS_CONCAVE_SURFACE as well as using the reference types CONVEX_SURFACE and CONCAVE_SURFACE for searching and selecting. This is fixed now.
The command CAPTION was changing the caption line of the user dialog even though it was in an invalid IF statement. This is fixed now.
The command SHOW_URL was showing the Help button in the user dialog even though it was in an invalid IF statement. This is fixed now.
The command ODBC_QUERY truncated strings to 1023 character for ASCII and 511 characters for UNICODE. This is fixed now.
Enhancements
The command SET_DIM_VALUE is now also supporting error catching when the dimension could not be set since it is driven by a relation.
Enable error catching for EXCEL_GET_VALUE, EXCEL_GET_VALUES, EXCEL_GET_VALUE_BUFFER, EXCEL_SET_VALUE, EXCEL_SET_VALUES and EXCEL_SET_VALUE_BUFFER.
datecode 2019-11-06-01
Bugfixes
A single USER_TEXT_BOX statement in the graphical user interface did not show up at all. This is fixed now.
The command CONFIG_HTML returns JSON formatted data without expanding backslashes. This is fixed now.
The commands SET_DRW_LAYER_STATUS and SET_DRW_LAYER_STATUS_EX did not collect all items from the solid layer in case there are multiple solid models in the drawing. This is fixed now.
Enhancements
New command CALC_FEATURE_OUTLINE to calculate the outline of a feature.
New command GET_MDL_TYPE_EX supports also the types of an imported UNITE model.
The existing commands GET_MDL_NAME and GET_MDL_EXTENSION are improved to work with UNITE models.
New command EXCEL_ENABLE_MACROS to enable and disable macros in Excel.
The command SET_ORIENTATION is now also setting the pan/zoom information of the stored view.
New commands GET_MDL_PARAM_DESCRIPTION, GET_FEAT_PARAM_DESCRIPTION, GET_REF_PARAM_DESCRIPTION, SET_MDL_PARAM_DESCRIPTION, SET_FEAT_PARAM_DESCRIPTION and SET_REF_PARAM_DESCRIPTION to read and set the description of a parameter.
The commands SEARCH_MDL_PARAM(S), SEARCH_FEAT_PARAM(S) and SEARCH_REF_PARAM(S) are now distinguishing between an INTEGER and a NOTE parameter. The command GET_PARAM_TYPE with show the type NOTE.
New command REMOVE_ALL_CONSTRAINTS to remove all component constraints, including the interface constraints.
datecode 2020-01-30-01
Bugfixes
In rare situations the command REGISTER_SERVER was causing crashes. This is fixed now.
The error catching for EXCEL_GET_VALUE, EXCEL_GET_VALUES, EXCEL_GET_VALUE_BUFFER, EXCEL_SET_VALUE, EXCEL_SET_VALUES and EXCEL_SET_VALUE_BUFFER which was introduced in 2019-10-14-01 did not work for non-existing named cells. This is fixed now.
Potential crash which running the SmartAssembly dll in the SmartDesignServer environment with enabled LOG_TRAIL functionality. This is fixed now.
The command SEARCH_MDL_REF was showing the file open dialog in case of a merge feature in a family table instance which was retrieved but not yet shown on screen. This is fixed now.
Enhancements
New option INCLUDE_CHILDREN for SET_VARIED_ITEM_STATE to set the state for varied items also for dependent children.
New command SUGGEST_SMT_FIXED_SURFACE to receive a candidate for the fixed surface for an unbend-all or flat-pattern feature.
New command CREATE_SMT_FLAT_PATTERN to create a flat-pattern feature.
New command GET_FILE_TIMESTAMP to retrieve the last modification time stamp of a file. The option USE_UTC allows to retrieve the time stamp as Coordinated Universal Time.
New command GET_XSEC_TYPE to retrieve the type of a cross section.
New commands GET_DRW_VIEW_SECTION_NUM, GET_DRW_VIEW_SECTION_NAME and GET_DRW_VIEW_SECTION_TYPE to get the number of available drawing view sections and determine name and type.
New commands for Google Sheets with similar functionality as for Microsoft Excel: GOOGLEAPI_LOGIN, GOOGLEAPI_LOGOUT, GOOGLEAPI_REGISTER_APPLICATION, GOOGLEAPI_UNREGISTER_APPLICATION, GOOGLESHEETS_NEW_DOCUMENT, GOOGLESHEETS_GET_SHEET_NAME, GOOGLESHEETS_GET_SHEET_NAMES, GOOGLESHEETS_CREATE_SHEET, GOOGLESHEETS_GET_VALUE, GOOGLESHEETS_GET_STRING, GOOGLESHEETS_GET_VALUES, GOOGLESHEETS_GET_STRINGS, GOOGLESHEETS_SET_VALUE, GOOGLESHEETS_SET_VALUES, GOOGLESHEETS_CLEAR_CONTENT, GOOGLESHEETS_GET_ACTIVE_RANGE, GOOGLESHEETS_UPDATE_BUFFER, GOOGLESHEETS_GET_VALUE_BUFFER, GOOGLESHEETS_GET_STRING_BUFFER, GOOGLESHEETS_SET_VALUE_BUFFER, GOOGLESHEETS_CLEAR_BUFFER.
SmartAssembly 6.0 M110
datecode 2020-02-07-01
Bugfixes
When using Creo Analysis while a CONFIG_ELEM dialog shows up, SmartAssembly can become blocked. This is fixed now.
The command GET_ARRAY_ELEM with a negative sub array index was causing a crash. This is fixed now.
The command GET_NC_OPERATION_STEPS failed for the type SAW. This is fixed now.
The command MODIFY_GENERAL_PATTERN did not change the pattern type. This is fixed now.
Enhancements
New commands SET_LINESTOCK_PARAM_EX and SEARCH_LINESTOCK_PARAM_EX to work with multi value line stock parameters.
New command WEBSERVICE_CALL to access REST based services via HTTP and HTTPS.
New commands for working with JSON formated data: JSON_LOAD_DOCUMENT, JSON_INIT_DOCUMENT, JSON_DOCUMENT_TO_STRING, JSON_NEW_DOCUMENT, JSON_SAVE_DOCUMENT, JSON_SET_OBJECT, JSON_SET_ARRAY, JSON_SET_VALUE, JSON_SET_NULL, JSON_GET_TYPE, JSON_GET_VALUE, JSON_GET_OBJECT_MEMBERS, JSON_GET_ARRAY_ELEMS, JSON_GET_ARRAY_SIZE, JSON_GET_NEXT_ARRAY_ELEM, JSON_COMPOSE_PATH.
datecode 2020-02-27-01
Bugfixes
The command SEARCH_FEAT_REF(S) was failing for the types CSYS_AXIS, CSYS_AXIS_X, CSYS_AXIS_Y and CSYS_AXIS_Z in case the coordinate system was defined to follow the surface. This is fixed now.
The command ODBC_GET_TABLES listed for some databases also the system tables. The new options DATABASE_NAME and DATABASE_SCHEMA limit the results.
The command INSERT_FAMITEM with option INSERT_AS_EXT_REF failed when the external reference was from an skeleton. This is fixed now.
USER_TEXT_BOX graphical elements with invalid value have been colored in red, even if they have not been configured as REQUIRED. This is fixed now.
Using SEARCH_FEAT_PARAM in a part, part_copy, asm or asm_copy program can in very rare cases lead to unexpected behavior in the Modify Component functionality in case AUTOMATIC_PARAM_UPDATE is not disabled. This is fixed now.
The linestock parameters MIN_STRAIGHT_LENGTH_END, SHAPE and CORNER_TYPES could not be modified by SET_LINESTOCK_PARAM and SET_LINESTOCK_PARAM_EX. This is fixed now.
User defined lnestock parameters did not receive the correct type. This is fixed now.
The commands SEARCH_MDL_REF and SEARCH_MDL_REFS are failing for UNITE models even if CATCH_ERROR support ewas enabled. This is fixed now.
Enhancements
New option ERASE_FAMINSTANCE for command DELETE_FAMINSTANCE.
New feature types since Wildfire 5.0 are now available the for command GET_FEATURE_TYPE.
datecode 2020-04-08-01
Bugfixes
MODIFY_GTOL_CREO4 did not change the tolerance type. This is fixed now.
The command SHOW_HELP does not show the Help button since 2019-10-24-01. This is fixed now.
The command SET_NC_STEP_TOOL failed in case step and tool had different types. This is fixed now.
Assignment of boolean expressions did not work correctly. This is fixed now.
The graphical user interface did not respond for USER_INPUT_PARAM with the option ON_PICTURE in case the focus was redirected from the edit box to a different window. This is fixed now.
Enhancements
Enable support of UNITE models with long file names.
New command PASSWORD_DIALOG to interrogate login and password information from the user.
New command GET_PROE_DATECODE to retrieve the datecode of the Creo Parametric. Until Creo Parametric 4.0 this is shown in M notation (e.g. M120). Since Creo Parametric 5.0 this is shown in the new notation (e.g. 6.0.4.0).
Adding CATCH_ERROR support to the commands ZOOM_TO_POS and ZOOM_TO_REF.
New commands ACTIVATE_STYLE and GET_ACTIVE_STYLE to activate a style and to figure out which style is active.
New commands SEARCH_CUSTOM_STYLE and SEARCH_CUSTOM_STYLES to search for user defined styles in a model.
New command GET_ZOOM_POS which is calculating zoom and position information based on the current model on the screen. This is the counter part to the ZOOM_TO_POS command.
Adding CATCH_ERROR support to the commands SEARCH_UDF_DIM to catch the case that the dimension does not exist.
Adding CATCH_ERROR support for UDF_EXP_REF, UDF_EXP_PARAM, UDF_EXP_DIM_REF and UDF_EXP_DIM_NAME.
New option INCLUDE_MULTI_CAD for the commands USER_SELECT, USER_SELECT_OPTIONAL, USER_SELECT_MULTIPLE, USER_SELECT_MULTIPLE_OPTIONAL, USER_COLLECT, SEARCH_MDL_REF and SEARCH_MDL_REFS to select or search for UNITE models.
datecode 2020-04-09-01
Bugfixes
In the build 2020-04-08-01 the variable assignment did not work for undefined variables and if the data type did not match. This is fixed now.
datecode 2020-04-22-01
Bugfixes
Also variable assignment in build 2020-04-09-01 does not follow the old the variable assignment did not work for undefined variables and if the data type did not match. This is fixed now.
In some cases the commands GET_GEOMS_FROM_FEATURE and SEARCH_MDL_REF(S) could not find all geometrical elements in an imported feature. This is fixed now.
In some cases the command CONVERT_TO_SMT crashed due to a bug in the thickness calculation. This is fixed now.
The commands INCLUDE and CALL in the graphical user interface did not work for string variables. This is fixed now.
Enhancements
The option ON_PICTURE is now available also for the following commands: CHECKBOX_PARAM, RADIBUTTON_PARAM, SHOW_PARAM, USER_COLLECT, USER_DROP_DOWN, USER_INPUT_PARAM, USER_LIST_BOX, USER_SELECT and USER_TEXT_BOX.
datecode 2020-04-24-01
Bugfixes
In some cases the commands GET_GEOMS_FROM_FEATURE, SEARCH_MDL_REF(S) and SEARCH_FEAT_REF(S) were causing an infinite loop since 2020-04-22-01. This is fixed now.
When the graphical user interface was started after an execution error window showed up on the screen, it was regarded as its parent. In this situation closing the execution error window was also closing the graphical user interface and froze the SmartAssembly ribbon. This is fixed now.
datecode 2020-04-27-01
Bugfixes
Since 2020-04-24-01 an empty GUI was evaluated as state FALSE in the CONFIG_ELEM command. Therefor the processing of the program file was stopped immediately. This is fixed now.
datecode 2020-05-14-01
Bugfixes
Reference descriptions with multiple sub components had not been parsed correctly (e.g. THIS_10_20.3). This is fixed now.
Since 2020-04-24-01 the command CONFIG_ELEM with option AUTO_CLOSE was causing a crash in case the dialog did not show up. This is fixed now.
The command CREATE_PUBLISHED_GEOMETRY did not work for quilts. This is fixed now.
Since 2019-01-25-01 associated drawings have only be accepted when they had the solid model as current drawing model. This interfered with applications which are using family table members. Affected are the commands SET_MDL_NAME and USE_LIBRARY_MDL. This is fixed now.
datecode 2020-05-20-01
Bugfixes
FOR and WHILE loops in an included tab file have been causing issues in rare situations. This is fixed now.
The command ODBC_QUERY for a connected 32 bit ODBC driver failed to query empty strings. This is fixed now.
Enhancements
New option DEFAULT_VALUE for the commands GET_REGISTRY_STRING, GET_REGISTRY_STRINGS, SET_REGISTRY_STRING and SET_REGISTRY_STRINGS.
Enabled CATCH_ERROR support for COPY_FILE_FROM_WS and COPY_FILE_TO_WS.
Enabled CATCH_ERROR support for REMOVE_RELATION, REMOVE_RELATIONS and REMOVE_FEATURE_RELATION.
SmartAssembly 6.0 M120
datecode 2020-05-27-01
Bugfixes
Since 2020-04-24-01 the command CONFIG_ELEM with option AUTO_COMMIT was causing a crash in case the dialog was closed when selecting table content. This is fixed now.
Since 2019-01-25-01 associated drawings have only been accepted when they had the solid model as current drawing model. This interfered with applications which are using simplified representations. Affected are the commands SET_MDL_NAME and USE_LIBRARY_MDL. This is fixed now.
The commands ADD_ANNOTATION_ELEMENT_REF and ADD_ANNOTATION_ELEMENT_REFS did not work for QUILT references. This is fixed now.
In some situations surfaces from imported geometry could not be found by SEARCH_MDL_REFS or GET_GEOMS_FROM_FEATURE. This is fixed now.
datecode 2020-06-03-01
Bugfixes
The command ODBC_QUERY failed for large integer database values which exceeded the limits [-2147483648 .. 2147483647]. In this case the value will now be converted to a string.
Enhancements
New command SHOW_DRW_VIEW_AXIS to show an axis in a drawing view and retrieve its reference.
New option SEARCH_DIRECTION for the command GET_DRW_VIEW_AXIS to specify the search direction for a cross-hair axis.
datecode 2020-06-05-01
Bugfixes
The command CONFIG_HTML sent the wrong MIME types for text based content like css. This is fixed now.
The commands CHECKIN_OBJECT and CHECKIN_OBJECTS could cause a crash when the model was created by a part_copy or asm_copy operation and the template was in the workspace. This is fixed now.
The command USE_LIBRARY_MDL with option part_copy or asm_copy or part_copy / asm_copy programs where copying over existing PDMLink parameters from the template. This was confusing the PDMLink state and influenced the command CHECKIN_OBJECT. This is fixed now.
Enhancements
New options NO_UPDATE and NO_REGEN for the command CREATE_JOINT in order to prevent automatic updates and regenerations when the parent assembly is regenerated manually.
Allow usage of containing feature instead of axis reference for the SHOW_DRW_VIEW_AXIS command.
datecode 2020-06-22-01
Bugfixes
In some situations using the TAB key in ON_PICTURE controls was freezing the application. This is fixed now.
Enhancements
Enabled CATCH_ERROR support for SHOW_DRW_ANNOTATION in case the annotation could not be shown on the drawing.
datecode 2020-06-24-01
Bugfixes
The command SWITCH_TO_MDL did not work for one specific model. This is fixed now.
datecode 2020-06-24-02
Bugfixes
In some cases the command WINWORD_SET_BOOKMARK_TEXT was causing crashes. This is fixed now.
datecode 2020-06-24-03
Bugfixes
In some cases the command ODBC_QUERY retrieves incorrect values for the SQL data types int and bit. This is fixed now.
datecode 2020-10-12-01
Bugfixes
The command GET_COMB_VIEW_PROPS failed to read the orientation in some rare situations. This is fixed now.
Enhancements
New commands CREATE_GENERAL_CSYS, READ_GENERAL_CSYS and MODIFY_GENERAL_CSYS to create, read and modify coordinate systems.
datecode 2020-10-28-01
Bugfixes
The command MODIFY_HOLE failed for bores created with hole files whose names are starting with a number (e.g. 010_ISO.hol). This is fixed now.
datecode 2020-12-01-01
Bugfixes
The command MEASURE_DISTANCE computed wrong results in case the reference to a model had been searched and not selected. This is fixed now.
In some situations surfaces from imported geometry could not be found by SEARCH_MDL_REFS or GET_GEOMS_FROM_FEATURE. This is fixed now.
The FOR options INTERF_MDL, INTERF_QUILT, INTERF_BODY, INTERF_QUILT_SOLID ignored the THIS model for UDF programs. This is fixed now.
The command GROUP_FEATURES was crashing in case all supplied feature were suppressed. This is fixed now.
Since 2020-05-27-01 the command READ_GTOL_CREO4 failed to retrieve the references. This is fixed now.
The commands CREATE_DRW_NOTE and CREATE_DRW_VIEW_NOTE did not include empty lines. This is fixed now.
The commands CHECKIN_OBJECT and CHECKIN_OBJECTS could cause crashes for models with mutual dependency. This is fixed now.
The command USER_COLLECT failed for the type INTENT_SURFACE and did not allow to select intent edges for the type CHAIN_INTENT_EDGE. This is fixed now.
The command SEARCH_DRW_ITEM failed for the type DRAWING_GTOL in some situations. This is fixed now.
The command XML_INIT_DOCUMENT failed in case the content contained markup characters in replaced form (e.g. <). This is fixed now.
The command SET_DRW_ITEM_VIEW failed in case the drawing was not the current model on the screen. This is fixed now.
The command WEBSERVICE_CALL failed if a previous keep-alive connection was closed from the service. This is fixed now.
The FOR loop options OTHER_INSTANCES and ALL_INSTANCES did not work corrected for searched components. This is fixed now.
The command CONVERT_TO_SMT failed to set the correct driving surface reference in case the model was activated with a SWITCH_TO_MDL command. This is fixed now.
The command CONFIG_HTML did not set the correct MIME type for woff/woff2 fonts. This is fixed now.
The command GET_PDM_STATE_EX could not distinguish correctly between DOWNLOADED_MODIFIED and NOT_CHECKED_IN. This is fixed now.
The command SET_REF_NAME was very slow for a model which contained an imported feature with a large number of surfaces and edges. This is fixed now.
The command GET_REF_DEPEND_PARENTS delivered wrong results for a selected component. This is fixed now.
The command FILE_REPLACE_LINE in mode "w+" or "a+" disturbed a following FILE_READ_LINE command. This is fixed now.
The option COMPENGINE_RESTORE_WINDOWS in combination with the notification MDL_SAVE_PRE prevented models from being saved. This is fixed now.
The command READ_DRW_NOTE_EX failed for notes in drawing tables because of the the non implemented NOTE_OPTION.placement_type. This is fixed now by adding the new placement_type NONE.
The command GET_PATTERN_TYPE failed for point patterns. This is fixed now.
The command GET_PATTERN_MEMBER_NUM did not work correctly for embedded features. Also the FOR option ALL_REFS_IN_FEAT was affected. This is fixed now.
Search paths in a Windchill session had been causing frequent checks in the Windchill database for various operations. This is fixed now.
The command CALC_ORIENTATION did not work correctly for the option ORIGIN. This is fixed now.
The command SET_COMB_VIEW_ANNOTATION_VISIBILTY failed in some situations when annotations had been already part of the combined view. This is fixed now.
Enhancements
New options SUSPEND_DEPENDENT and FREEZE_DEPENDENT for command SET_FEATURE_STATE to determine the behavior of dependent components and features.
The command CONVERT_TO_SMT is now creating all the sheetmetal parameters and relations. However until Creo 4.0 most of them will not be associative. For Creo 5.0 and 6.0 all parameters except SMT_THICKNESS are associative. In Creo 7.0 and above also SMT_THICKNESS is driving the part thickness.
New commands GET_FAMINSTANCE_LOCK_STATUS and SET_FAMINSTANCE_LOCK_STATUS to set and detect the lock status of family table instances.
New options for the EXPORT_FILE command: NX and SOLIDWORKS.
New command GET_FEATURE_FORM_TYPE to retrieve the form type of material operation features.
New commands READ_COLOR_PROPS and READ_TEXTURE_PROPS to retrieve color an texture properties from a material appearance file.
New command RESOLVE_PATH to expand environment variables and lib: notation to the full path.
New option USE_INTERNAL_BROWSER for the command CONFIG_HTML allows to use the Creo internal browser.
Enabled CATCH_ERROR support for CREATE_COPY_GEOMETRY in case the feature could not be created.
New logical expression IS_TLA_ACTIVE to detect if the top level assembly on the screen is active.
New option TOOLTIP for SHOW_PARAM on the graphical user interface. Additional the option IMAGE can be used to add an image to the tooltip.
New EXPORT_FILE option WAVEFRONT to export parts or assemblies in the obj format.
New command READ_COMP_INTERFACE to read the definition of a component interface feature.
New functionality for encrypted tab files with an add-on license.
datecode 2020-12-02-01
Bugfixes
The command USE_LIBRARY_MDL did not work correctly in 2020-12-01-01. This is fixed now.
datecode 2020-12-04-01
Bugfixes
The command EXPORT_FILE did not work correctly in 2020-12-01-01 for relative paths. This is fixed now.
datecode 2020-12-09-01
Bugfixes
When clicking on the button Download Library from PDMLink Creo became unresponsive. This is fixed now.
The command SET_COLOR did not work for models in Creo 2.0 before M140 and Creo 3.0 before M030. This is fixed now.
In some situations the FOR option INTERF_MDL was checking sub components of the specified model since 2020-12-01-01. This is fixed now.
datecode 2020-12-23-01
Bugfixes
The commands GET_REF_DEPEND_CHILDREN and GET_REF_DEPEND_CHILDREN_EX reported a reference from a component feature to itself in some situations. This is fixed now.
datecode 2021-01-26-01
Bugfixes
The command GET_PDM_STORAGE was returning NO_PDM since 2020-12-01-01 for models which were neither in session nor in the workspace. This is fixed now.
The commands GET_PDM_STATE_BY_NAME and GET_PDM_STATE_BY_NAME_EX were returning NO_PDM for models which were neither in session nor in the workspace. This is fixed now by the new result COMMONSPACE.
The command SET_TEXTURE_PROPS did not work for textures which were located outside the texture_search_path and therefor contained a path in the name. This is fixed now.
The commands GET_REF_DEPEND_CHILDREN and GET_REF_DEPEND_CHILDREN_EX reported a wrong number of children in some situations. This is fixed now.
Enhancements
New option MODEL_DEPENDENCIES to distinguish model and component dependencies for 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.
SmartAssembly 6.0 M130
datecode 2021-01-31-01
Bugfixes
The command GET_REF_DEPEND_CHILDREN and GET_REF_DEPEND_CHILDREN_EX had been supplying parents instead of children since 2021-01-26-01. This is fixed now.
datecode 2021-04-01-01
Bugfixes
The command REMOVE_NC_TOOL_FROM_HEAD was using the tool_position to address the head number. This is fixed now.
The command READ_NC_STEP was failing because of the unexpected MFG parameters COOLANT_PRESSURE_UNIT, COOLANT_PRESSURE_VALUE, GO_HOME_REGISTER, MACH_COLLISION_STATUS, MACH_COLLISION_STATUS, MACH_COLLISION_STATUS and RETRACT_REF_OFFSET. This is fixed now.
The command SET_ANNOTATION_POS did not work correctly for solid notes which where oriented flat to screen with screen location. This is fixed now.
The command SHOW_DRW_VIEW_DIM was failing for a part dimension in an assembly view. This is fixed now.
The command USE_LIBRARY_MDL failed for the options mfg_copy and mfg_asm_copy since 2020-04-08-01. This is fixed now.
The command GET_SURFACE_NORM did not always return the point which is located on the surface. This is fixed now.
The command READ_GTOL_CREO4 failed for a specific GTOl on a drawing. This is fixed now.
The command SET_DIM_TEXT erased existing prefixes and suffixes. This is fixed now.
The command SET_DRW_REF_VIEW failed for for references based on an assembly while the subcomponent was used in the drawing view. Also the issue only occurred if both models had the same name. The problem exists since 2020-05-27-01 and is fixed now.
Encrypted program files (.tbx) from 2021-01-31-01 could not be executed in older SmartAssembly versions even if no Add-On licenses had been specified. This is fixed now. been used.
Encrypted program files (.tbx) with Add-on licenses did not work reliable for all Add-on names. This is fixed now.
The commands INCLUDE, CALL, CALL_EX and RESOLVE_PATH did not work correctly for a path specified by (*lib://test.tab"). This is fixed now.
The command SET_MDL_NAME with option INCLUDE_DRAWINGS did not rename the drawing in the Windchill common space since 2020-12-01-01. This is fixed now.
The command RETRIEVE_MDL with option INCLUDE_DRAWINGS did not retrieve the drawing from the Windchill common space. This is fixed now.
The command USER_SELECT did not work correctly for the type DATUM_TAG. This is fixed now.
The commands GET_VARIED_ITEMS and SET_VARIED_ITEM_VALUE did not work for varied dimensions in sub components. This is fixed now.
The command EXPORT_FILE with option SHRINKWRAP was causing an error even if the CATCH_ERROR support was enabled. This is fixed now.
The command XML_INIT_DOCUMENT produced wrong results because of accidentally markup translation since 2020-12-01-01. This is also causing issues for SmartDesignServer if any of the following characters is used in its replaced form in the content: &, <, >, ", '. This is fixed now.
The command ADD_ANNOTATION_ELEMENT and SET_ANNOTATION_ELEMENT did not add their annotation references to the references of the created annotation element. This is fixed now.
The command READ_NOTE_EX provided wrong results for notes created flat to screen. This is fixed now.
The command GET_REF_TYPE did not show the correct type for datum tags. This is fixed now.
The command PRINT showed incorrect output for specific GTOL placement references. This is fixed now.
Enhancements
New commands EXCEL_ADD_ROWS and EXCEL_DELETE_ROWS to add and delete rows from and to the active sheet.
New commands EXCEL_ADD_COLUMNS and EXCEL_DELETE_COLUMNS to add and delete columns from and to the active sheet.
New command EXCEL_TO_FOREGROUND to bring the Excel window to the front of the screen.
New command GET_CURVE_TESSELLATION to calculate point coordinates which approximate a curve.
New command GET_CURVE_RATIO_POS to calculate the position based on an offset specified by the ratio.
New command GET_REF_UV_PARAM to calculate the uv position on a surface, edge or curve reference.
New option OUTPUT_ENCODING for the command PLUGIN allows to specify the output encoding.
New commands GET_DIM_PREFIX, GET_DIM_SUFFIX, SET_DIM_PREFIX and SET_DIM_SUFFIX to set and retrieve dimension prefixes and suffixes.
New commands GET_DRW_TOL_STANDARD and SET_DRW_TOL_STANDARD to set and retrieve the tolerance standard of a drawing.
New option OPTIMIZE_NETWORK_TRAFFIC for command ODBC_QUERY to optimized the network traffic.
Enabled CATCH_ERROR support for the commands SET_CONSTRAINT and SET_CONSTRAINTS in case the constraints are invalid.
New command GET_ANNOTATION_REFS to read references of an annotation.
datecode 2021-04-07-01
Bugfixes
The commands CREATE_NOTE_EX, CREATE_NOTE, MODIFY_NOTE_EX and SET_ANNOTATION_POS have been moving 3d notes to the wrong position in specific situations. This is fixed now.
datecode 2021-05-03-01
Bugfixes
The command GET_REF_TYPE did not work for reference dimensions. This is fixed now.
The commands GET_FAMITEM_VALUE and SET_FAMITEM_VALUE have been failing for family table references models. This is caused by a bug in Creo Parametric and fixed since Creo 4.0 M140, Creo 6.0.5.0 and Creo 7.0.1.0. For Creo 5.0 there is no solution available.
The command GET_FAMITEM_SYMBOL was failing for family table reference models. This is fixed now.
When enabling the configuration option USE_MODAL_DIALOG a crash occurred since datecode 2016-02-23-01. This is fixed now.
The command INSERT_FAMITEM with option INSERT_AS_EXT_REF was failing since Creo 4.0 M140, Creo 6.0.5.0 and Creo 7.0.1.0 due to internal changes in the Creo API. This is fixed now.
The command GET_REF_DEPEND_PARENTS_EX did not find relation references since 2021-01-26-01. This is fixed now.
The command CHOOSE_FILE did not work for UNC paths. This is fixed now.
Enhancements
New option MESSAGE_SYMBOL for PRINT to specify the symbol before the message.
New command CLEAR_MESSAGE_AREA to clear the 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.
SmartAssembly 6.0 M140
datecode 2021-05-04-01
Bugfixes
The command USER_INPUT_PARAM in the graphical user interface did not show default string values since 2021-05-03-01. This is fixed now.
datecode 2021-05-04-02
Bugfixes
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.
datecode 2021-05-04-03
Bugfixes
Enabling the configuration option STARTUP_TEMP_MDL and the Windchill password dialog resulted in a mutual block situation. This is fixed now.