Automatically incrementing numbers within Attribute definition to a dynamic block

Automatically incrementing numbers within Attribute definition to a dynamic block

CAME7
Contributor Contributor
1,557 Views
4 Replies
Message 1 of 5

Automatically incrementing numbers within Attribute definition to a dynamic block

CAME7
Contributor
Contributor

I have a dynamic block made for a PV Panel that allows me to stretch and modify its size based on the manufacturer's dimensions.

 

In addition, I have set up an attribute definition that allows me to input a number to assign to each panel in numeric order (1, 2, 3, 4 etc) but currently, I have to do this for each panel manually.

 

Can something be assigned to the attribute definition to automate this?

 

I have attached the block in question.

 

Many Thanks

0 Likes
Accepted solutions (1)
1,558 Views
4 Replies
Replies (4)
Message 2 of 5

h_s_walker
Mentor
Mentor

@CAME7 A block properties table will do what you ask. See the attached drawing

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 3 of 5

CAME7
Contributor
Contributor

Thanks for the speedy response

 

Ah! Didn't think of using a visibility block to do this

 

However, the number required could one day be 50 panels and the next be 250 - is there, not a way for it to automatically populate instead of creating each number within the visibility properties

0 Likes
Message 4 of 5

h_s_walker
Mentor
Mentor
Accepted solution

If you put the numbers into an excel file you can then copy the data and paste it straight into the block properties table.

In fact you could split it into groups of 10 using excel. See the image below

Unfortunately I don't have full AutoCad so cannot sort the table. You need to have a user defined column as the first column and I would probably call it number range. Then just paste the data from the excel file into the block properties table. See the image below for an example of the data

hwalker_0-1719587156629.png

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 5 of 5

CAME7
Contributor
Contributor

Brilliant, thanks for your help Howard!