Raytracer05
@raytracer05
New Member
Joined: Feb 15, 2024
Topics: 9 / Replies: 177
Reply
RE: Is getPoint in curveControl Broken?

Sorry I should have mentioned that I’m using Max 2012. Anyway, thanks for looking. now i have to fix 5-7 tools because of that. When you say ‘fix’…

13 years ago
Forum
Topic
Forum
Replies: 5
Views: 18
Reply
RE: change vray effect ID channel script

by the way… what is a reason to not select hidden nodes? but if there is any, you have to check the isHiddenInVpt property which better reflects the n…

13 years ago
Forum
Reply
RE: change vray effect ID channel script

I don’t know exactly how the OP is using this. My reasoning was if a node has a multisub material applied it could get added to objARR more than once …

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Thanks (again) for your input Denis. I hadn’t really thought about situations like the one in your example. I only tested it on the scene I’m working …

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Wow that’s spot on! (and totally past my ability!!) I can’t claim to understand it, but I know it will work perfectly in my script! Thank you so much …

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Amended to include renderable shapes and exclude hidden geometry: objARR = #() vrmArr = for vrm in getClassInstances vrayMtl where (vrm.effect_id == …

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Here’s a faster way… objARR = #() vrmArr = for vrm in getClassInstances vrayMtl where (vrm.effect_id == 0 or vrm.override_effect_id == false) collect…

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Ok, I haven’t tested this much and it seems a bit slow in the large scene I’m working in: objARR = #() for obj in objects where obj.isHidden == false…

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Maybe you don’t want to select hidden objects… objARR = for obj in objects where ((obj.isHidden == false and isKindOf obj.material VRayMtl) and (obj…

13 years ago
Forum
Reply
RE: change vray effect ID channel script

ok, this will select all objects that have a VRay material where either effect_id is 0 or override_effect_id is off (false). objARR = for obj in obj…

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Hi, I not sure what you’re trying to do exactly. Scene objects themselves don’t have the property effect_id, they may have a material applied to them…

13 years ago
Forum
Reply
RE: change vray effect ID channel script

TSK group plc, it’s a design and build company.

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Thanks. I’ll definitely have a look when it’s finished. We use VRay mostly here.

13 years ago
Forum
Reply
RE: change vray effect ID channel script

Here’s a way to find ALL VRay materials on selected objects. It should find those inside VRayBlend, VRayOverride, etc. not just multimaterial. fn cha…

13 years ago
Forum
Page 7 / 13