Raytracer05
@raytracer05
New Member
Joined: Feb 15, 2024
Topics: 9 / Replies: 177
Reply
RE: change vray effect ID channel script

I think the problem with you first snippet is the lack of parentheses around the code in the for loop: fn changechannel = ( objs = getCurrentSelecti…

13 years ago
Forum
Reply
RE: mergeMaxFile nodes to array

This is how I’ve done it in the past: ( firstObj = (objects.count)+1 mergeMAXFile “file path here!” if objects.count >= firstObj do ( last…

13 years ago
Forum
Reply
RE: Need help with a script command

“Sphere001” sounds like the Max name of your object. You need to insert a ‘$’ before the name to access it in maxscript. append $Sphere001.modifiers[…

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

Yes, it could be that. Also it will ignore all maps other than bitmapTexture in the diffuse slot.

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

oh,unfortunately, “Add CC map to selected objects:” this is invalid,any one can fix it? Why is it ‘invalid’? Do you get an error message?

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

Thanks for posting your alternative, it’s always useful to see a different approach. My first attempt was to find all bitmapTextures because I starte…

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

denisT: how is about to make it better with the using of replaceinstances? I’m struggling to see how I can use replaceinstances in this case. Ma…

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

I don’t know what I’d been smoking yesterday but it didn’t help my already limited maxscript ability Anyway, I’ve simplified them so they should be …

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

Not a problem, I’m sure many of your posts over on the Chaos forum have been useful to me over the years.

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

This should work for selected objects: –CC Map in diffuse slot of vray materials on SELECTED objects (should get those inside multiMats, blends etc….

13 years ago
Forum
Reply
RE: [REQUEST] Script to put CC Map in any Diffuse Map

What type are the materials, VRay, standard or …?

13 years ago
Forum
Reply
RE: VRay Render Element Properties

Yes case is very useful. There’s a good explanation in the maxscript help. Render elements are no different than any other maxobjects, you can use sh…

13 years ago
Forum
Reply
RE: VRay Render Element Properties

You access VRay render elements in the same way you would standard render elements. remCurrent = maxOps.GetCurRenderElementMgr() for i = 0 to remCur…

13 years ago
Forum
Reply
RE: instance Target Spot

The variable nnl returned by line: maxOps.cloneNodes SelectedOBJ clonetype:#instance newNodes:&nnl is an array. It might be an array with only o…

13 years ago
Forum
Reply
RE: Controller Condition issue

isKindOf also compares the second parameter with the superClass of the first so: isKindOf $ light would return true if you have any kind light selec…

13 years ago
Forum
Page 8 / 13