2017.2 API Programmer's Guide
The 2017.2 API Programmer's Guide
Masking of Solid Surfaces
The masking of individual surfaces of solids has thus far not been supported. To mask a solid surface, the solid must first be deleted, and then individual surfaces can be masked. In addition, user scripts may have come to rely that when a solid is displayed, all of its surfaces are also displayed. However, masking of individual surfaces of solids will be supported starting with the 2018 release. It is important for users to take action to update the logic in their scripts now, so that they will continue to work when the new support is available.
Removal of hm_solverconvert command
This command will be deprecated and removed with the 2018 release. It is important for users to take action to update their scripts to use *solverconvert now, so that they will continue to work when hm_solverconvert is removed.
New Commands
- Composites
- Connectors
- Data Names
- General/Core
- HMASCII
- Optimization
- *opticontrolupdatetopdvparameters
- *opticontrolupdatetoprstparameters
- Template commands
Modified Commands
- General/Core
- *replacentitywithentity - This command used to work independently, but must now be preceded by a call to *replacesetentitydata.
- Connectors
- *CE_ConvertLinksByMark - Added new optional arguments target_link_rule, target_link_state and keep_current_state.
- *CE_MarkUpdateLink - Added new optional arguments keep_current_state, search_uid and replace_uid.
- *CE_UpdateLink - Added new optional arguments target_link_rule, target_link_state and keep_current_state.
- Data Names
- crosssections - Added new data names Section_Type and sectiontypetoggle.
- modules - Added new data names variant_condition and variant_scope.
- opticontrols - Added new data names contol, contoltoggle, restart, restarttoggle, topdisc, topdisctoggle, topdv and topdvtoggle.
- optiresponses - Added new data names dresp1lv, dresp1lvloadstep, dresp1lvopttable, dresp1lvrid, dresp1v, dresp1vrid, dresp2lv, dresp2lvloadstep, dresp2lvopttable, dresp2lvrid, dresp2v, dresp2vrid, dresp2vvopttable and drespvopttable.
- properties - Added new data name laminate.
- General/Core
- hm_collisioninit - Added new optional argument min_overlap.
Removed Commands
- hm_getreplaceentitiesmark - Use hm_getreferencedentitiesmark and *replacesetentitydata instead.