1 Apr 01:19
Re: A few mayavi2 how-to questions
I've been using the helpful script recorder (using 3.1.0 in WinXP) but many changes aren't recorded - for example, the cut_plane implicit_plane state that I was asking about. I've resorted a fair bit to inserting "print dir(object)" statements in the code, exploring the class heirarchy using iPython and a fair bit of guessing at the names of trait attributes. Gary Prabhu Ramachandran wrote: > I guess you've found the answers now. Here is one tip: if you have > 3.1.0 you can do all of the scripting by using the recorder feature and > cut/pasting that code from the recorded script and then mlab-ifying it > if needed. I.e. do your work interactively with the recorder turned on > and then edit the generated code to suit your needs. -- -- Gary Ruben Postgraduate student School of Physics, Monash University e. gary.ruben@... ph. +61 3 99020766
However, I don't see in the list above this item:
4. Strictly read-only labels, others columns editable.
> I didn't try with the ArrayEditor, just my simple use case, so please
> let me know how it works for you.
It's perfect!
RSS Feed