Hello
I load some model and try to assign entities but get errors :
Mesh2 = s4l.model.Import(r'C:\sintetic data\bones.stl')
see value in python :
Mesh2
(<XCoreModeling.TriangleMesh object at 0x000002199E6FA5B0>,)
so now try to put entity
entities = model.AllEntities()
Mesh2 = entities['Mesh2']
and get this error
File "<string>", line 1, in <module>
File "C:\Program Files\Sim4Life_7.0.1.8169\Python\lib\site-packages\s4l_v1\model__model_impl.py", line 167, in getitem
raise KeyError("%s key is missing" % key)
KeyError: 'Mesh2 key is missing'
i tried to put name but no success