Catia V5 Title Block Editor Download

FREE Title Block Editor w Customizable BOM.

FREE Title Block Editor w Customizable BOM.

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. Please visit our website at http://www.solengsol.com/ and download your free copy and see for yourself and hopefully you’ll agree with us it’s the best one available today.
We hope you enjoy SES’s version of the Title Block Editor.
Enjoy:
Catia V5 Title Block Editor Download

CATIA Title Block Editor 443.doc Page 6 1 Preface The title block editor provides an example (it was small in the beginning) for an easy integration of CATIA V5 with other applications. The program is free and can be distributed and used free of charge. The copyright fol-lows the GNU copyright. The program consists of 2 parts. The title block editor provides an example (it was small in the beginning) for an easy integration of CATIA V5 with other applications. The program is free and can be distributed and used free of charge. The copyright follows the GNU copyright. The program consists of 2 parts. CATIA Macro Pack Download. If you do not wish to sign up for my free email course or purchase the VB Scripting for CATIA V5 book and all you want are some useful CATIA macros then you’re in luck! I’ve created a “Macro Pack” where you can conveniently download more than fifty of my macro codes all at once.

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.

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:

Cad title block

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()

Block

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. CATIA V5R16 surface modeling – Mouse CATIA Surface-modeling Tutorial 2A – Import 2D outline drawing into Catia – Build 3D curves based on the imported drawing – Build the upper surfaces of the mouse (by Generative Shape Design) Tutorial 2B – Do the draft analysis to search any undercut portion on the upper surfaces.

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.

Catia V5 Title Block Editor Download

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.

Catia v5 title block editor download

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.

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 Free

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

Title Block Example

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.