PDA

View Full Version : Help with Dynamic Blocks please.



andymjones
31st Jul 2008, 10:01 am
I am trying to create a revision block that will set the position depending on how many lines there are.

Currently I use separate blocks for 1 line, 2 line, 3 line etc.

Is there a way that I can create a dynamic block to do this task.

lpseifert
31st Jul 2008, 12:37 pm
Yes, create a dynamic block that has all 5 lines (text/attributes) in the revision block, add a Visibility Parameter and Visibility States; e.g. Rev 1 would include line 1, Rev 2 would include line 1 & line 2 etc.

andymjones
31st Jul 2008, 02:26 pm
I have done that and thank you, however is there a way where I could use Mtext and the bottom line adjusts automatically according to the number of lines within that Mtext. The attribute way works well but I want it to be idiot proof.

lpseifert
31st Jul 2008, 02:33 pm
Multi-Line Attribute maybe?

andymjones
31st Jul 2008, 03:14 pm
It works to an extent. How can I get it so that the vertical lines and the bottom line are also added/move with the text.

lpseifert
31st Jul 2008, 03:24 pm
Maybe you should try using a Table.

andymjones
31st Jul 2008, 03:38 pm
I think you are right. Tables seem to be working more efficiently. Thanks.