Automatic unique dynamic block ID

Automatic unique dynamic block ID

Anonymous
Not applicable
826 Views
4 Replies
Message 1 of 5

Automatic unique dynamic block ID

Anonymous
Not applicable

Hello,

 

I am in a bit of a corner here 🙂 i have created dynamic window glass block and want to create attribute that generates automatically dynamic block ID , based on height and width. Is that possible? i've tried to to create formula (height+1)*width/1000. For example if H=1000 and W=1000 it gives  ID like that: (1000+1)*1000/1000=1001; and if H=1000 and W=1500, than (1000+1)*1500/1000=1501,5 ID would be 1502. It's too long. Have anyone tried something similar? 

0 Likes
827 Views
4 Replies
Replies (4)
Message 2 of 5

ToanDN
Consultant
Consultant

See attached.  You have to REGEN after changing the size of the window in order for the ID to update.

 

Capture.PNG

0 Likes
Message 3 of 5

Anonymous
Not applicable

Yes i know that, but the my question is not about my way to name blocks, but is there any other way, besides this one, to create unique blocks iDs?

0 Likes
Message 4 of 5

ToanDN
Consultant
Consultant
1000*1000: 1010
1000*1500: 1015
0 Likes
Message 5 of 5

Emmsleys
Alumni
Alumni

Following up on your thread, were you able to find a solution or a workaround?

 

Did any of the posts in the thread help with the issue?

 

Please use the Accept as Solution for those post’s that helped. It may benefit other users who might have a similar question or issue.

 

Thanks for your time.



Sarah Emmsley
Technical Support Specialist

0 Likes