Re: Disabling CAV display?

2014-05-09 Thread Stefan Kubicek
Hi Matt, I didn't know about "CurrentVertexColor", thx for that! Here's what I ended up with in the mean time: for oObj in Application.Selection: try: for oMat in oObj.Materials: Application.SetInstanceDataValue(oObj.FullName, oMat.FullName + ".CAV", "None") except: pass Co

Re: Disabling CAV display?

2014-05-09 Thread Stefan Kubicek
Hi Matt, I didn't know about "CurrentVertexColor", thx for that! Here's what I ended up with in the mean time: for oObj in Application.Selection: try: for oMat in oObj.Materials: Application.SetInstanceDataValue(oObj.FullName, oMat.FullName + ".CAV", "None") except: pass Co

RE: Disabling CAV display?

2014-05-08 Thread Matt Lind
If you need to disable CAV display for a viewport (instead of per object), you can do so via the display options. (Display >) Display Options > Vertex Color > Never show (use material) An alternate method for removing the current vertex color for an object in scripting: // JScript var oObjec

Re: Disabling CAV display?

2014-05-06 Thread Stefan Kubicek
Ah great,a punch in the crown jewels just when I needed it. I could've sworn I tried both None and "None" Thx Vladimir. Oh I see now. Application.SetInstanceDataValue("cone", "Sources.Materials.DefaultLib.Scene_Material.CAV", None) <- this won't work as you have >to supply a string value

Re: Disabling CAV display?

2014-05-06 Thread Vladimir Jankijevic
Oh I see now. Application.SetInstanceDataValue("cone", "Sources.Materials.DefaultLib.Scene_Material.CAV", None) <- this won't work as you have to supply a string value Application.SetInstanceDataValue("cone", "Sources.Materials.DefaultLib.Scene_Material.CAV", "None") <- this will work however! che

Re: Disabling CAV display?

2014-05-06 Thread Vladimir Jankijevic
objects Material -> OpenGL Tab -> Vertex Color Display Property group. just select the field and type 'None' into it ( or anything you like ). BANG! cheers vladimir On Tue, May 6, 2014 at 6:37 AM, Stefan Kubicek wrote: > Hi everybody, > > I've been scratching my head over this ever since I fir

Disabling CAV display?

2014-05-06 Thread Stefan Kubicek
Hi everybody, I've been scratching my head over this ever since I first touched vertex colors in Softimage. Feel free to lough in case I'm missing something entirely obvious... I have a poly object with an additional CAV property with some painted vertex colors (the default "Color" CAV prop