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!
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
I'll do that in the meantime