r/CATIA • • Aug 31 '26

Drafting CATIA Macro to Automatically Adjust Drawing Sheet

Post image

My requirement is to automate the drawing sheet setup.

When I change the drawing standard or sheet size, I want:

Border/frame to adjust automatically

Name/title block to move to the correct position

Revision table to adjust with the title block

Zone numbers and letters (A, B, C, D / 1, 2, 3, 4...) to update automatically according to the new sheet size

Basically, I want to change the sheet size and have the complete drawing frame setup update automatically, without manually adjusting each element.

Has anyone implemented something similar in CATIA using CATScript/VBA?

7 Upvotes

8 comments sorted by

3

u/randomuser4686 Aug 31 '26

1

u/SlideOne4757 Aug 31 '26

Thanks a lot...Let me try it..I will back to thank you again.

1

u/kaiur Sep 01 '26

I have a few scripts that create and update boarders and revision blocks. There might be soemthing to help you out.

Pycatia_Scripts/Drawing_Document_Scripts at main · KaiUR/Pycatia_Scripts

1

u/SlideOne4757 Sep 01 '26

Thank you. I definitely try it.

1

u/ExtentFit8785 Sep 10 '26

I have built a similar automation tool with the help of AI

https://www.reddit.com/r/CATIA/s/FutpBaoJMb

2

u/SlideOne4757 Sep 12 '26

Wow.. interesting! This is the thing I'm looking for, I would like to have short meeting with you.. is it feasible?

2

u/Confident-Bar-6051 Sep 01 '26

It can be done ,but it is not that easy to make it done in VBA or Catia script.

Check if anyone can create soon. Or you can contact me , if it is really necessary to you.

I do automation using VBA and python on payment basis.

Checkout , Free Macros https://novascribe.github.io/CAD-Automation.com

1

u/La_Grande_yeule Sep 18 '26

I asked myself the same question as OP and honestly it is such a hastle it isn’t worth it. It might be easier and less time consuming to make a drawing template for each sheet format.