API and Customization
Enhancements
- Python API
- The implicit conversion of HyperMesh data type arguments has been improved and now supports the following types: hwDoubleList, hwDoubleList2, hwTriple, hwIntList2, hwIntList, hwBoolList, hwMatrix44, EntityList, EntityList2, hwStringList. For these argument types, you can directly supply a native Python list as the argument value.
- Tabular attributes are now supported and can be queried or modified.
- HyperMesh functions return a Python error in case of failure with a proper error message. Previously, the error was only captured in the returned status object and the Python code would proceed further.
- Performance has been improved when creating an entity collection from a list of IDs.
- Additional 10 query commands and 40 modify commands have been added to Python API as model instance methods.
Resolved Issues
- Python API
- Segmentation error caused by passing a non-active model object to CollectionByInteractiveSelection is resolved.
- CollectionByDisplayed and CollectionByInteractiveSelection now return correct collection when working with Load classes (LoadAcceleration, LoadConstraint, LoadFlux, and so on).
- Iterating over a collection and printing the entity object lead to the application freezing.
- Entity class constructors returned an error when supplying an existing entity name or a name identical to the default name used by HyperMesh.
- Incorrect size of a collection of surfaces from a collection of components created straight after running certain HyperMesh functions.