Dynamic Block Array with attributes and numbering sequence for table

Dynamic Block Array with attributes and numbering sequence for table

Anonymous
Not applicable
3,033 Views
7 Replies
Message 1 of 8

Dynamic Block Array with attributes and numbering sequence for table

Anonymous
Not applicable

I am looking to create a custom "table" dynamic block that I am creating from scratch. There will be three defined sections of rows in this block that will number from 1-10. I have created the shape of the table using a dynamic block array and move actions, but I am now having trouble with the information. 

As the array of each section expands, I would like the numbering to sequentially increase (does not need to be editable) and for two attributes to display for each line (that are editable). 

Is what I want possible? If my explanation is not clear, I can answer questions. I have also attached a sample drawing.

 

0 Likes
Accepted solutions (1)
3,034 Views
7 Replies
Replies (7)
Message 2 of 8

ojuris
Advisor
Advisor

about numbering - you want numbering from 1 for each section?

0 Likes
Message 3 of 8

ojuris
Advisor
Advisor

I add both variants

after change table - make REGEN

0 Likes
Message 4 of 8

Anonymous
Not applicable

These were both terrific. Each section beginning with 1 is what I was looking for. It works perfectly for me, but I am curious to know about the block you added. I wasn't able to view any properties on it. How did you go about setting up the automatic numbering after using REGEN?

 

Also, the second half of what I want this table to do is having editable attributes appear for each new line when the array action is triggered. Is this something that can be accomplished?

0 Likes
Message 5 of 8

ojuris
Advisor
Advisor

I make simple block who contain only from attribute. That block I add in your block and for that attribute add field with formula that calculate number.

 

About second question - you can't array attributes because each attribute must have unique tag (name) but arrayed attributes will have same names and block don't operate correctly.

How much rows you need?

Message 6 of 8

Anonymous
Not applicable

What formula did you use to get the sequential numbering and how did you add it to the attribute? I am still learning how to use fields and don't yet understand how to use them fully.

 

I am looking for up to 20 rows for the first section, and 10 rows for the other two sections. If this is not possible with attributes, is there another way or do I need to accept that I'm asking the impossible?

0 Likes
Message 7 of 8

ojuris
Advisor
Advisor
Accepted solution

about formula - add screencast

 

One possibility about attributes is use visibility and double lookup. But if you need 20 10 and 10 rows - it means that you must create 20×10×10=2000 visibilities. I think it's too much.

 

Message 8 of 8

Anonymous
Not applicable

Thank you for adding this screencast. Tremendous help for my understanding of fields..

 

As for my other question about attributes, I may look for an alternative method, seeing as an array of attributes cannot be reasonably done. Thank you for all of your help

0 Likes