ilogic change size of active sheet

ilogic change size of active sheet

tkch.ndq
Participant Participant
935 Views
4 Replies
Message 1 of 5

ilogic change size of active sheet

tkch.ndq
Participant
Participant

Hi everyone, wish you all have good day.

 

I am beginner with ilogic Inventor and have an issue need your help if possible.

I only use sheet size: A0, A1, A2, A3, A4

I've created 5 title blocks with name: A0-TTBL, A1-TTBL, A2-TTBL, A3-TTBL, A4-TTBL

I've created 5 dimension styles with name: A0-DST, A1-DST, A2-DST, A3-DST, A4-DST

I've created 5 Leader styles with name: A0-LD, A1-LD, A2-LD, A3-LD, A4-LD

I've created 5 View Annotation styles with name: A0-VA, A1-VA, A2-VA, A3-VA, A4-VA

I'd like to click on itrigger when I need to change size of active sheet on IDW file then with a list A0, A1, A2, A3, A4 that I can choose the sheet size.

The default template is A3 sheet size with: title block A3-TTBL with dim style A3-DST with leader style A3-LD with View annotation style A3-AV

Is there any ilogic that can help me so when I change size of active sheet to other sizes then title block + dimension style + leader style + view annotation style are changed automatically too?

Please help me.

 

Thanks so much in advance!

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

SharkDesign
Mentor
Mentor

Your sheet size looks pretty simple

 

ActiveSheet.ChangeSize("A3", moveBorderItems := True)

 

Not sure about changing all the active styles though 

  Inventor Certified Professional
0 Likes
Message 3 of 5

SharkDesign
Mentor
Mentor
Accepted solution

By the way, the Inventor customisation forum is the best place for iLogic questions. 

  Inventor Certified Professional
0 Likes
Message 4 of 5

tkch.ndq
Participant
Participant

Thank you very much for your help but as I told before, I am beginner so I cannot make a complete code. That's why I don't know how to use the code you gave. By the way, I don't need to change boder, I'd like to change title block, dimstyle, leader and view annotation.

0 Likes
Message 5 of 5

tkch.ndq
Participant
Participant

Thank you very much for your guide, I posted this issue on Inventor Customization forum.

0 Likes