TypeError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_25172\1314485426.py in ?()
----> 1 col = hm.CollectionByInteractiveSelection(model=model, entity_class=[ent.Solid, ent.Component, ent.Part], message="coucou")
hm/__init__.py in ?(model, entity_class, message, highlight)
hm/mdi/apis.py in ?(*args, **kwargs)
C:\Program Files\Altair\2025.1\hwdesktop\hw\bin\win64\hmservices.py in ?(self, aclass, message, highlight)
356 def CreateCollectionByInteractiveSelection(self, aclass: "mdi.base.TMDIObject", message:str = "", highlight: bool = False):
--> 357 ret = _hmservices.HMAPIBase_CreateCollectionByInteractiveSelection(self, aclass, message, highlight)
358 from mdi.collection import Collection
359 ret.__class__ = Collection
360 return ret
TypeError: in method 'HMAPIBase_CreateCollectionByInteractiveSelection', argument 2 of type 'hwDescriptor::EntityFullType const &'