Custom drawing template

Nikola Nikola Svetić, NS

Custom drawing template

Hello all,

We use a custom drawing templates for standardized paper formats (A0, A1, A2...).

They are saved as a drawing file type, and used in the way that drawing file is opened and model views are transferred into it.

The problem is when the drawing from A3 should be replaced to A4 format. How can it be done in a quick way?

Is there a better way to use standardized drawings (tables and stuff)?

We use a Smartteam PLM system.

 

Thank you in advance!

Best regards,

 

Nikola

Josh Bender

RE: Custom drawing template
(in response to Nikola Nikola Svetić, NS)

Nikola,

Can you explain more what you mean? Do you mean how updating sheet size does not auto-adjust the sheet background as shown?

Attachments

  • 2021-05-10_10-11-44.jpg (152.8k)

Little Cthulhu

RE: Custom drawing template
(in response to Josh Bender)

If your talking about titleblock then CATIA supposes you to write CATScript that rebuilds titleblock based on current sheet format and drawing standard.

Nikola Nikola Svetić, NS

RE: Custom drawing template
(in response to Little Cthulhu)

Thanks for the answer Little Cthulhu.

That means I have to reprogram the whole custom template into a script.

I was afraid that might be the only way, is there a reference to some script that already exists so I can reconfigure it perhaps?

 

If not, I will try to do it myself as good as I can.

 

Thank you in advance!

Nikola Nikola Svetić, NS

RE: Custom drawing template
(in response to Josh Bender)

Hi Josh,

 

Yes I would like to explain it as good as I can, I am not a frequent CATIA user so my knowledge about software options are limited.

 

We use the pre-defined drawing file, let’s say Drawing_Customer1_A4.

 

Then I start creating a drawing from a 3D model into the drawing I have opened (Drawing_Customer1_A4).

 

After a while I understand I have mistaken the number of views and I can not fit my whole model drawing on the A4 size and need to open bigger sheet (the other drawing file) “Drawing_Customer1_A3”. So I assume I cannot just transfer the whole drawings to another file as they are linked to the 3D model, but have to start over and generate views on the new “A3” pre-defined drawing sheet.

 

Is it simpler to create a script in VBA that could create a template with commands (scripted code to create tables, revision sheets and so) on the empty A3 drawing?

 

We have a lot of different customers who demand a specific drawing sheet styles and looks (bigger or larger table, different arrangement of elements etc.). So for each customer we have a different template saved as a drawing file.

 

Where should I start to create a programmed drawing file? Are there any guidelines existing? What is the common practice for such template organization?

Little Cthulhu

RE: Custom drawing template
(in response to Nikola Nikola Svetić, NS)

I'm afraid the only guidelines are the sample scripts provided with CATIA. 

We've managed to build some infrastructure that allows us to separate titleblock scripts for different projects while keeping shared code. But it required good knowledge of VBScript (CATScript) and some CAA extensions for convenience.

To sum up this is a big task and CATIA supposes you invest some effort in coding it.

Josh Bender

RE: Custom drawing template
(in response to Nikola Nikola Svetić, NS)

Nikola,

You have said something that I don't understand:

"After a while I understand I have mistaken the number of views and I can not fit my whole model drawing on the A4 size and need to open bigger sheet (the other drawing file) “Drawing_Customer1_A3”. So I assume I cannot just transfer the whole drawings to another file as they are linked to the 3D model, but have to start over and generate views on the new “A3” pre-defined drawing sheet."

 

You should be able to copy views from one drawing to another while maintaining the links to the 3D models. You should not have to start over. Each view that you create contains the link to the original part or product and can be copied into any other sheet.

Nikola Nikola Svetić, NS

RE: Custom drawing template
(in response to Josh Bender)

Thank you both Josh and Little Cthulhu for your fast response and constructive answers!

Oh I did not know that, I assumed it had to start over because of the ENOVIA PLM system (Smartteam).

I will try to find the sample data and build a simple VB script so I can learn the process.