Page 1 of 1

How to access parameters from a "GeometryProcedural"

Posted: Fri Oct 19, 2012 10:49 am
by liquidlight

I'd like to create an animation sequence with MaxwellParticles, but I can't find a way to access the "FileName" parameter to fill it with RealFlow BIN file paths. Maybe I've overseen something. Here's what I want to do:
Code: Select all
- Identify GeometryProcedural object
- Get BIN file names and loop through them
- Write BIN file names into "FileName" parameter of MaxwellParticles > Sequence
- Save new MXS file
So far I've been able to get everything to work except writing the file names to the "FileName" parameter. In RF there are "getParameter" and "setParameter()" commands that grant access to actually any parameter, so I wonder if there's something comparable in MR's Python SDK?

Thanks for the help.

EDIT (2013-03-06):
I've been able to fix it myself. I worked with various SDKs in the past, but I've never seen something like the Maxwell Python SDK. I'm not really surprised that even the Maxwell devs sometimes refuse to answers Python-related questions.