A program to recognize and reward our most engaged community members
I have a local coordinate system in my model, and I need to assign this system as the displacement coordinate system to a node. Please help with the Python API for this.
Thank you
Sudhir
using the new Python Recorder in 2025.0 i got this:
import hm import hm.entities as ent
def run(): from hm.mdi import apis model = apis.HmModelDebug()
model.setreviewtransparentmode(mode=0) collection = hm.Collection(model, hm.FilterByEnumeration(ent.Node, ids=[2, 4])) system_entity = ent.System(model, 2) # [TIP]: systemsetanalysis is deprecated. model.systemsetanalysis(collection=collection, system_entity=system_entity) model.setreviewtransparentmode(mode=1) model.setreviewtransparentmode(mode=0)
Thank you for your response, Adriano.