API and Customization
New Features
- Python API Recording
- On-demand recording of graphical user interface actions in the HyperMesh client.
 - Advanced entity selection capturing.
 - Parametrization of the generated code.
 
 
Enhancements
- Entity constructor now supports any attribute type as a keyword argument (previously limited to floats, integers, and strings).
 - Enhanced Collection class instance methods:
- New filter and intersect methods.
 - You can directly supply an entity object to the contains method.
 
 - CollectionByInteractiveSelection supports defining a user message.
 - Added new entity class method getentitylist to create an empty entity list.
 - Tabular entity attributes are now supported.
 - All attributes returning a list of numerical values now return a NumPy array when queried.
 - Creation of HyperMesh Post Derived Load Cases (DLCs) is now supported.
 - Added new functions providing interactive widgets:
- PlaneByInteractiveSelection - returns a dictionary with plane base and normal coordinates.
 - EntityListByInteractiveSelection - returns a list of entity objects.
 - EntityByInteractiveSelection - returns a single entity object.
 
 - New functions hm_count, imprint_mesh, hm_getactiveplotcontrolmaxvalue, hm_getactiveplotcontrolminvalue, hm_getactiveplotcontrolvalues_bycollection, and hm_getactiveplotcontrolvalues_byentity.
 
Known Issues
- Certain entity attributes are not yet accessible via the Python API. The coverage will be continuously improved over the coming releases.
 
Resolved Issues
- Executing scripts via File > Load or via drag-and-drop works correctly now.
 - All entity subclasses are supported by functions populating a collection or a collectionset object.
 - Passing and empty collection to CollectionByAttached caused a segmentation error. This issue has been resolved.
 - When defining collections of load classes (LoadForce, LoadPressure, and so on), the specified entity class is now correctly respected.
 - Collection objects contain the correct entities when constructed by using a list of entity IDs in a form of a NumPy array.
 - The plane_base and plane_normal argument names have been corrected for all functions using a plane definition as an input argument.
 - CollectionByInteractiveSelection was not working correctly for certain entity classes. This issue has been addressed.