Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Assign range of object ID
show user profile  zeefusion
Hi guys,

Does anyone know of a script to assign a set range of object ID's via the object properties? I have a script that randomly assigns a range but the issue with this is that it duplicates. I need to assign 72 different materials to 72 objects.

Thanks,
read 376 times
1/15/2015 1:49:21 PM (last edit: 1/15/2015 1:49:21 PM)
show user profile  FX
I use EffectsChannelSet


http://3d-kstudio.com/product/trackscripts/#EffectsChannelSet

It has a "Unique ID's" option, could do what your asking ?
read 356 times
1/15/2015 6:47:14 PM (last edit: 1/15/2015 6:47:14 PM)
show user profile  zeefusion
No it doesn't work :( It duplicates some of the ID's.
read 346 times
1/15/2015 9:59:27 PM (last edit: 1/15/2015 9:59:27 PM)
show user profile  FX
Just tested it..it works perfectly, the Unique ID's overrides the randomise.

I'm just used to hitting ctlr + a before a render, click, click, done.:)

edit: sorry I was typing as you posted....worked for me, I made 72 spheres and it gave each one it's own ID.
read 345 times
1/15/2015 10:01:33 PM (last edit: 1/15/2015 10:09:28 PM)
show user profile  FX
The only other ones I know of are Joker Martini's ID Tool...

http://jokermartini.com/object-ids/


...and Soulburns iDSetter...

http://www.neilblevins.com/cg_tools/soulburnscripts/soulburnscripts.htm

"Takes all selected objects and applies a material modifier, modifies their object ID, or modifies their User Defined Properties to either a random ID between the high and low value, or a sequential set of IDs based on selection order."


Shirley one of these will do it. :)

read 338 times
1/15/2015 10:15:02 PM (last edit: 1/15/2015 10:17:37 PM)
show user profile  zeefusion
Hmm EffectChannelSet when I set it to unique the start and end is greyed out. Maybe I am using it incorrectly?
read 332 times
1/15/2015 10:25:49 PM (last edit: 1/15/2015 10:25:49 PM)
show user profile  FX
Yup, it's greyed out because if you set start or end, that limits the ID's and it will duplicate if the number of objects is more than the range...I think.....it's contradictory....a random ID generator that sets Unique iD's for each object....never really thought about it.... I just use it by habit and assume it assigns unique ids for whatever I have selected.




read 327 times
1/15/2015 11:04:17 PM (last edit: 1/15/2015 11:04:17 PM)
show user profile  zeefusion
I used Joker Martini's, thanks!
read 314 times
1/16/2015 1:19:44 AM (last edit: 1/16/2015 1:19:44 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org