Jump to content
Sign in to follow this  
sant0s81

Create groups and the name of the group by Primitive Number

Recommended Posts

Hello,

sry for being such a pain in the ass with stupid questions atm - but I just dont find the right words to search and find what I want.

 

I have a grid, 3*3, sorted so that it starts with ID 0 and ends with ID 8.
Now I would like to use these numbers as relatives in different channels for example.

Also I would like, based on the number of IDs, create for example Groups or UV_Textures - always with the name of the ID.

What would I search for, to get deeper into that topic?

Copy Parameter and paste as Relatives is already amazing and saves a lot of space.
Also using the Edit Parameter to choose file path, create drops downs, etc - love that.

Now I would like to dive deeper into that and my next step is what I asked above.

Could someone lead me into the right direction?

Thx alot! :)

sant0s

Share this post


Link to post
Share on other sites

Partition, Rule:

group_`int(@primnum/4)` will give you groups of every 4 prims

or just

group_`@primnum` will give you groups of individual prim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×