yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #26054
Re: [Question #698346]: Why VTKExporter does not work?
Question #698346 on Yade changed:
https://answers.launchpad.net/yade/+question/698346
Status: Open => Needs information
Jan Stránský requested more information:
Thanks for clarification
> in terminal
why not in a script? Terminal itself has its own "gotchas"..
a complete example is still missing, please provide actual code (MWE).
Before, please make it minimal (M=minimal in MWE). E.g. most of the imports is unrelated to the problem.
Also a note:
> for b in O.bodies:
> ClumpVtkData.exportSpheres(ids='all', what={('color','b.shape.color')})
does not make sense, you do not want to export all spheres for b in O.bodies, do it just once (otherwise you export the same file again and again for all bodies)
The result is OK, just the export is executed not-necessarily
Cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.