PDA

View Full Version : newbie question: need help on interpreting documentation for modelEditor


Blue Bird
08-26-2003, 03:26 PM
Let me start by admitting that I¡¯m an absolute beginner to MEL (however I do have a bit of experience in C). So naturally when I¡¯m stuck the first thing I do is read and then reread the relevant help files, but I still found the description for modelEditor confusing.

modelEditor [flags] [editorName]

-wos/wireframeOnShaded boolean

Sets whether the model panel will draw the wireframe on all shaded objects (if true) or only for active objects (if false).

I¡¯m interested in the last part where it says only for active objects (if false), but a MEL command such as modelEditor -e -wos 0 modelPanel4; (note the boolean 0 after -wos) will turn off wireframe on shaded for all objects in modelPanel4. So I¡¯m wondering how to use modelEditor properly so I can toggle wireframe on shaded on and off on a per object basis.

I¡¯ll be really appreciated if you can help. Thankx!

Blue Bird

P.S. I¡¯m doing this because I found toggling x ray and wireframe on shaded on and off on a per object basis is far more useful than toggling them on and off for all object (via Shading > Shading Options) while I¡¯m modelling, but the toggle scripts I found on Highend3D will not let me do it a per object basis. So I¡¯ve decided to get my feet wet in MEL and so far I¡¯ve already worked out a script for toggling x ray using displaySurface. Therefore it¡¯s just a matter of getting the wireframe to appear.

GDC
08-26-2003, 04:30 PM
I think your misreading the docs.


Sets whether the model panel will draw the wireframe on all shaded objects (if true) or only for active objects (if false).


If set to true all objects draw their wrieframe, whether they are selected or not (active). If you set this flag to false only the objects that are selected (active) show wireframe with shading.
( The green wireframe that shows an object is selected)

I'm not sure you can do this on a per object basis, can you?!?

--g

CGTalk Moderation
01-15-2006, 11:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.