API and Customization

New Features

Python API
  • Compose Debugger Access from Within HyperMesh (Windows Only for 2025.1).
    • Debugging of Python scripts using Compose is now possible from within HyperMesh.
    • This feature is currently available on Windows only.
    Note: This feature will launch an instance of Compose; therefore, use of this functionality requires a Compose 2025.1 installation be present, in addition to the HyperMesh installation.
  • New collection method get_values() to query an attribute value across all the entities in the collection. Returns all the data in the form of a Python list (for string attributes) or a Numpy array (for numerical attributes). In conjunction with this, the set_items() method has been renamed to set_values().
  • New model methods parametrize_byentity() and parametrize_bycollection() to assign parameter entities to entity attributes.
Python Recording
  • New option to link argument values to HyperMesh parameter entities.
  • New option to replace hard-coded collection/entity/entity list definitions with interactive selection functions.
  • New output settings - include header comments and use list comprehension for entity lists.
  • New code destination option - you can now automatically generate a Pulse Task from the recorded code.
  • You can control the name of the generated Python function.

Enhancements

Python Recording
  • The mechanism capturing the Advanced Selection now supports “reverse”, “by attached”, “by adjacent”, and “attached faces”.
  • The definition of the model object has been moved outside of the recorded function to provide more flexibility when parametrizing the code.
  • The generated code now includes a call to the recorded function, so upon copy-pasting the code into the console the code can be executed immediately.
  • Output settings are now stored between recording sessions.
  • Column width can be reset using right-click option “Reset Column Width”.
  • If not visible, Python Console will be automatically displayed upon generating the recorded code.

Resolved Issues

Python API
  • By default, the FilterByAttribute supports all entity attributes of type string, float, or integer.
  • Attributes defined as invisible (not visible in the Entity Editor) or non-editable (not editable in the Entity Editor) are now exposed as attributes of entity objects.
  • Entity attributes activesuppressed, outputsuppressed, and moduleid are not exposed for all entities.
  • Attribute solvername is now accessible for Set entity class objects.
  • Issue with model.hm_getcog() incorrectly processing the supplied collection object has been resolved.
  • Issue with node collections returning cumulative content when used within a loop has been resolved.