Didn’t crash for me…
Well you’ve got two ways of doing it, you either restrict the user to having to filter their selection to only Vray Cameras or you let your code do th…
This is if the Object has a Position_Rotate_Scale Controller known as PRS(), The Position_Controller, Rotation_Contoller and Scale_Controller and sub-…
I did not know about the optional ‘all’ parameter of getNodeByName… interesting…
I’m not too bothered by that, I just want to make sure when using later scripts which get objects by name that I don’t have any clashes.
I think this is a way to do it… although this would make anything capitalized become lowercase. –Setup for i = 1 to 100 do ( box name:(“TestBox_” …
But that would also get anything called “Test_Shell” which might be unique so we don’t want to rename it to “_Shell_1203” for example. Again the chal…
…and like I said earlier the case can’t be assumed… #(“_Shell”, “_shell”) we need to make them truly unique.
Aha but the problem is they aren’t all called “_shell” there are other objects with clashing names, and there are too many for us to find manually…
Ok so practical example… Get thousands of objects in with some with intelligent name like, “DOOR” or “WINDOW” and then literally thousands called “_s…
for o in aObjs where matchpattern o.name pattern:m ignoreCase:true do o.name = uniqueName m Unfortunately uniqueName doesn’t have an ‘ignoreCase’ par…
for i = 1 to 100 do ( box name:(“TestBox_” + (random 1 20) as string) ) for i = 1 to 100 do ( box name:(“testbox_” + (random 1 20) as string) ) Fi…
I’ve been hearing a lot of people going from 2014 to 2016 lately. The speed increases in 2016/2017 for viewport alone make the upgrade worth it.