CATIA gives its users the possibility to use a VBscript macro to generate Title Blocks automatically adjusted to any drawing format. A few macros are provided by default. Users can customize frames and title blocks by either modifying one the default title block macros or by creating their own macros.
EBook Download BOOK EXCERPT: The CATIA V5-6R2018: Generative Drafting (ANSI) learning guide enables you to use the generative capabilities of CATIA V5 to create an ANSI drawing from a 3D solid Part. This course is appropriate for new CATIA V5 users. Download DS Catia V5, Free Paintshop Pro, Microsoft Expression Encoder 4 Pro, Serial Key For Autodesk Inventor 2018. Cheap DS Catia V5, Worknc V24 Torrent, Lynda.com - Running A Design Business: Designer-Client Agreements Product Key, Default Folder X Crack Free Download (Win & Mac). Here at SES we read the CATIA forums and from time to time people write in asking about title block and BOM creation so we felt it was about time that we gave away our version of Michael Neukirchen’s Title Block Editor.
The default macros are stored in the install_root/intel_a/VBScript/FrameTitleBlock directory and have a .CATScript
extension. We can specify another location in the Tools > Options > Mechanical Design > Drafting > Layout
tab.
A macro is comprised of Sub
procedures and functions. When the Insert Frame and Title Block dialog box is displayed, it will show a set of actions predefined in the macro. Those actions are Sub
procedures prefixed using CATDrw_
.
For instance, the Creation action looks like this:
Contents
CATInit()
When creating the Title Block, the first thing to do is activate the sheet and the view calling the CATInit()
function. This function will initialize the dialog and create main objects. A simplified version of this function can be a Sub
procedure with just the following:
CATCreateReference()
The next step is to create the frame’s overall dimensions and reference point. The default offset value is of 10 mm, while for sheets bigger than a DIN A2, this values grows to 20 mm. The reference point will tell other title block macros that there’s already a title block created. The reference text will also be used to check if the macro can make some actions like delete, update or resize on the existing Title Block.
CATFrame()
The frame —which is composed of a border, some centring marks, letters and a ruler— will enclose the drafts that we create from our products and assemblies.
The CATFrameStandard Sub
procedure defines the length between two horizontal/vertical marks Cst_
, computes the number of centring marks Nb_CM_
, and computes the maximum Ruler
lenght. The spacing values are divisors of the ISO A series paper size standard.
Once some basic lengths have been defined, the CATFrameBorder Sub
procedure draws the border while the CATCentringMark Sub
procedure generates the centring marks and the CATFrameText Sub
procedure writes the numbers and letters —starting from Chr(65), corresponding to capital letter A— in the frame.
The CATFrameRuler Sub
procedure creates a small ruler at the bottom of the document to use as a reference for sizes. The bigger marks in the ruler are spaced at intervals of 5 cm while the smaller marks are spaced at intervals of 1 cm.
CATCreateTitleBlockFrame()
This is one of the most interesting Sub
procedures in the Title Block’s creation process in terms of customization. In this procedure we create all the blocks that will contain our own information and information about the product such as title, scale, drawer, supervisor, weight, part number, etc.
Cad Title Block
The different blocks are 2D lines created using the CreateLine
function, which accepts a set of coordinates —line start and line end— and the name of the line.
The columns and rows have been defined assisted by constants Col
and Row
taking the lower-right corner of the frame as the reference point:
CATTitleBlockText()
Now that we have the blocks, it’s time to fill them with content. The CATTitleBlockText Sub
procedure will do most of the job for us. This procedure we can use to define our own names to display, like the name of the company who owns the drawing. It’s also where we can change the displayed texts in case we want the title block in Spanish or German.
Catia V5 Title Block Editor Download Pc
The texts are placed inside the blocks with the CreateTextAF
function which gets as arguments a string with the caption we want to write, the coordinates of the anchor position, and the font size.
Examples
Catia V5 Title Block Editor Download
I took the Drawing_TitleBlock_Sample2.CATScript
file and edited some lines in the CATTitleBlockText Sub
procedure to display the name of this blog and my own name as the drawer of the draft.