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
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
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
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
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
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
6 matches
Mail list logo