• No results found

Installation Path Error

In document Title Block Editor Catia Eng v5 (Page 46-49)

9.3 Geometry in the background

Do not place any geometry other geometry than the title frame in the background. Since the macro pastes a background from a template drawing into the current drawing, this geometry will be lost. As a workaround, you can use Details/Dittos. These Details will be placed again by the program. You possibly will have to rearrange the details.

10 Hints and Tips

Hints and tips from users of the title block macro.

10.1 How to use several Notes with one title block entry

If you have text that appears twice like my companies part number it appears once in the title block and once along the border of the drawing. You want the Title Block Program to edit both with one change. This is how you can get CATIA and the Title Block Program to change the text in both places with changing only one space in the entry panel.

CATIA will not allow two texts’s to have the same name if you do it manually by changing the proper- ties. What I have done to get around this is once the part number in the title block properties has been named correctly. I used CATIA’s translate copy option to position it along the border. CATIA will allow this and now you have two texts with the same named properties. Now when you run the Title Block Program and you edit the part number in the entry panel it will change the text in both places. I have given you a part number example but you can do it with any text that appears twice and you only want to edit it once.

10.2 Using the CATIA DS title block macro environment

Some hints for programmer using the macro environment of CATIA to supply Title Block Macros simi- lar to the DS examples. This macro however is designed to be used as a standard macro

(Tools/Macro), it will not work in that environment.

10.2.1 The macro hangs somehow or does nothing

Within the title block macro environment you will not get any errors from the VB environment. Syntax errors, erroneous methods and so on will not be reported.

Develop the macro within the normal Tools/Macro environment.

10.2.2 The published methods are not selectable

If you select the Background logo and you don’t find your methods.

CATIA scans the source first to find the published methods. These methods begin with CATDrw_

If you don’t see your methods, or a pop up with an exclamation mark appears, the code is probably not syntactically ok. To check this, call the macro with the normal Tools/Macro functionality.

10.2.3 I don’t see any macros within the macro environment

Ensure, that the directory for the macros is defined correctly. V5R7 ships as of SP4 with \VBScript\FrameTitleBlock and that will not work!

11 Copyright Notice

Copyright (c) 2004 M. Neukirchen

The following terms apply to all files associated with the software unless explicitly disclaimed in individ- ual files.

The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their au- thors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Gov- ernment shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the soft- ware on behalf of the Department of Defense, the software shall be classified as "Commercial Com- puter Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227- 7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license.

12 Index

3D... 17 areas ... 33 background... 15 basics.cfg... 30 BOM ... 40 built in values ... 36 BWidget ... 8 CADSystem... 33 CALL_GUI_Mode... 30 CATIA... 11 copy... 18 date... 20, 32 default ... 19 entry_width ... 32 global_fields... 30 IBMTextblock.CATScript... 14 language ... 38 messages.cfg... 38 MyBomTable ... 40 NLS ... 38 numActSheet ... 34 NumSheets ... 34 OneLevel ... 41 PartNumber... 40 properties ... 35 revisions... 18 screen_heigh ... 32 screen_width ... 32 scroll ... 33 Server... 8 SheetScale... 34 sInstallDi ... 8 skin.tcl... 38 TD1 ... 12, 37 TD1_compliant... 30 td1_config.cfg ... 37 Teilenummer ... 40

temporary data sets ... 42

title_block_config.tcl ... 30 TK... 8 Tools/Macro... 14 Trace_Mode... 30 Unix ... 8 Windows ... 8 Wish_Command... 8

In document Title Block Editor Catia Eng v5 (Page 46-49)

Related documents