IsoSurface mesh
-
Hello everyone,
I'm trying to create a mesh from an iso-surface without relying on its name to access it. When I use the following code:
mesh = iso_surface_viewer.raw.CreateTriangleMeshFromIsoSurface()
The mesh variable returns None, although the mesh itself is successfully created.
Currently, I'm accessing the created mesh by doing something like this:
ents = model.AllEntities() ISO_shell = ents['E(x,y,z,f0) - Iso-Surface Viewer (200.000000 V/m) 1']
Is there a way to directly reference or store the created mesh in a variable, without having to query all entities by name afterward? Any tips or best practices would be greatly appreciated!
Thanks in advance for your help!
-