You are on page 1of 16

USER MANUAL

MedirUtil
AIRBUS ESPAÑA S.L.

Title
MedirUtil
User Manual

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España SL. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 1 de/of 16


USER MANUAL
MedirUtil
REGISTRO DE REVISIONES/RECORD OF REVISIONS

Revisión/Issue Preparado/Prepared Aprobado/Approved


Motivo de Modificación / Change Reason
Fecha/Date Firma/Signature Firma/Signature

A Angel
Gerardo Fernández /
Veredas Oscar
04-Oct-07 López-Hontanar

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 2 de/of 16


USER MANUAL
MedirUtil
INDICE / CONTENTS

1. UTILITY.........................................................................................................................................4

2. INSTALLATION............................................................................................................................4

2.1 System requirements:.............................................................................................................4

2.2 Macros existing within this macro.........................................................................................5


2.2.1 Main....................................................................................................................................5
2.2.2 Others (C_Aux, Stock, Process_Tree, etc…).....................................................................5

3. OPERATION.................................................................................................................................6

3.1 Initial checks ............................................................................................................................6


3.1.1 CATParts requirements......................................................................................................7

3.2 Selection of files ......................................................................................................................7


3.2.1 Types of elements and statuses.........................................................................................9
3.2.2 Right-hand button menu.....................................................................................................9

3.3 Acquisition of dimensions....................................................................................................10


3.3.1 List of parts to be measures .............................................................................................10
3.3.2 Step 1. Open New Window ..............................................................................................10
3.3.3 Step 2. Creates Rough Stock...........................................................................................11
3.3.4 Step 3. Analyze Rough Stock...........................................................................................12
3.3.5 Step 4. Validate Measurements .......................................................................................12

3.4 Reloading of data ..................................................................................................................14

3.5 Application of data ................................................................................................................14

3.6 Measurement criteria ............................................................................................................14

3.7 Report .....................................................................................................................................15

4. TREATMENT OF ERRORS........................................................................................................16

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 3 de/of 16


USER MANUAL
MedirUtil

1. UTILITY
The utility of this macro is to facilitate the task of procuring the parts that make up a jig. Use of
the utility can mean savings of up to 80% in the time required to perform this task.

The objective sought is to obtain the dimensions of the measurable parts (1) of a Jig, Group or
Assembly and automatically insert the properties corresponding to their Thickness/Diameter, Width
and Length (see table) in the case of elements so requiring.

Dimension Thickness/Diameter Width Length


Property in English THICKNESS/DIAMETER WIDTH LENGTH
Propiedad en Español ESP_DIAM ANCHO LARGO

(1) Most of the parts of a jig may be measured using this macro, the exceptions being reflected in section 3.6
“Measurement criteria”

2. INSTALLATION
To install the macros, the file provided with the extension.catvba should be copied to the folder
in which storage is to be carried out. Then, select Tool → Macro → Macros… from CATIA.

In the window displayed, click on the button

Another window will be displayed:

In “Library type”, select VBA projects 1 (figure) and click on the button Add existing library.

An explorer window will be opened, from where the file provided (.CATVBA) should be searched
for in the folder in which it has been copied.

Subsequently, when Close is clicked on, the macros will appear in the list and may be executed.

2.1 System requirements

For the correct operation of this macro, the data-processing system should fulfill the following:

1
It is possible that the “VBA projects” option is not shown as being available in Library type; this may be due to the VBA libraries not being
correctly installed in CATIA. This may easily be checked on the menu ToolsÆMacro, looking to see whether the last option, “Visual Basic
Editor”, appears as being deactivated. In this case the VBA libraries must be reinstalled for PesoUTIL to operate.

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 4 de/of 16


USER MANUAL
MedirUtil

- When executing this macro the option Load Referenced Documents


should be activated in Tools Æ Options Æ General
- It is necessary for the system to have the following shared Visual Basic libraries installed
and registered:
o COMCTL32.OCX
o COMCT332.OCX

• Help: To register libraries, the following command may be written in Start


Æ Execute (Administrator privileges are necessary).
REGSVR32 [route + name_library]

If registration is performed correctly, the system will generate the following


message:

2.2 Macros existing within this macro

2.2.1 Main

This is the main macro executed in MedirUtil.

2.2.2 Others (C_Aux, Stock, Process_Tree, etc…)

These macros that appear in the library have no direct use and are used by the Main macro.
These macros cannot be executed by the user, who will obtain the following error if this is attempted:

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 5 de/of 16


USER MANUAL
MedirUtil

3. OPERATION
MedirUtil obtains the dimensions of Thickness/Diameter, Width and Length of CATParts (Except
AX, LTR, NCU and those created with Structural Parts) on the basis of the stock created by the
CATIA tool “Rough Stock”. To execute it, a CATProduct file must first be open and active in CATIA.
If the document that is active is of another type, or if there is no document open, MedirUtil will
not operate.
The root CATProduct may be a Jig, a Group or an Assembly. The user may select whichever
he prefers since this does not alter the final result.

On initiating, MedirUtil will show a warnings


table.

On acceptance, the normal operation of


MedirUtil begins. This may be summarized in
five main points:

1. Initial checks
2. Selection of files
3. Measuring of parts
4. Validation of data
5. Application of data
6. Report

3.1 Initial checks

MedirUtil will run through all the CATIA files contained in the active CATProduct, taking note of
the necessary data and of the errors encountered that prevent the calculation of dimensions.

IMPORTANT: In most cases, file processing will be speeded up enormously if all the files are
previously loaded in Design Mode, although this is not an essential requirement for the
operation of MedirUtil .

If an error is dicovered, the erroneous parts will appear in the main window coloured red. If an
erroneous part is clicked on, the error that prevents it from being processed by MedirUtil will be
identified.

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 6 de/of 16


USER MANUAL
MedirUtil
3.1.1 CATParts requirements

The requirements to be met by a CATPart for processing by MedirUtil are as follows:


- Possession of the Properties indicated below:

Property in English MATERIAL THICKNESS/DIAMETER WIDTH LENGTH


Property in Spanish
MATERIAL_NORMAL ESP_DIAM ANCHO LARGO
(Only for old jigs)

- Not being designed with several Bodies. (See APC-029, chapters 5 and 12)
- Having the MATERIAL property filled in as per AING-101. This is not obligatory, but very
convenient, since with this datum MedirUtil contrasts data with the material tables and
displays help shortening and simplifying the task.

3.2 Selection of files

Following the previous checks, MedirUtil


will display the main operating window from
where the user may carry out all the actions.

This window consists of a tree structure


similar to that of CATIA, in which all the files
to be processed are displayed, i.e., those
whose dimensions may be obtained.

On the right are the buttons with the


different actions that may be performed.

The tree is made up of several nodes,


represented similarly to in the case of CATIA,
but with certain differences, as indicated
below.

Elements instantiated several times in


CATIA will be represented once only on the
MedirUtil tree in order to save space. Different
information on the element represented may
be found in each node:

Color

Selection Dimensions
Icon Position
box (Thickness x Width x Length

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 7 de/of 16


USER MANUAL
MedirUtil
- Selection box: this allows the element to be selected for MedirUtil to obtain its measures.
Elements selected will be shown in bold.

- Icon: indicates the type of element. A list of the types of elements is shown in the following
figure. A more complete description may be found in section 3.2.1 “Types of elements and
statuses”.

- Position of the part: this is shown when the Instance Description field is filled in. If this is not
the case, the Part Number will be shown. In case of Group or Jig Products, and since these
these items should not have the Instance Description filled in, their Part Number will be shown.

- Dimensions: these appear in brackets in the following order: Thickness/Diameter x Width x


Length. These may be the dimensions the part had before executing MedirUtil or those recently
obtained.
If nothing appears, it means that this item has nothing in Properties in reference to its
dimensions.
In the case of parts for which only certain dimensions are procured, the empty ones will appear
with two hyphens (--), for example “60x--x150”.

- The color indicates the status of the element. The list of possible statuses is shown below:

Section 3.2.1 “Types of elements and statuses” shows a brief description of each type of
element recognized by MedirUtil, along with the different statuses of these items.

By means of the selection box the user may choose the files for which the dimensions are to
be calculated. Note that erroneous elements cannot be selected for calculation.

The user has available several quick selection buttons:

This button is used to select all the elements whose dimensions can be
calculated using MedirUtil, regardless of whether they already have values noted
or blank.

This button is used to select those elements that can be calculated by MedirUtil
and that have nothing noted as regards dimensions.

This button clears the current selection.

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 8 de/of 16


USER MANUAL
MedirUtil
3.2.1 Types of elements and statuses

These are the different types of elements recognized by MedirUtil:


Represents any CATIA CATProduct. As in CATIA, other
elements may be associated with this node.

Represents any CATIA CATPart whose dimensions may be


obtained by MedirUtil.

The following colors will be used by MedirUtil for representation depending on the status of the
element:

This is an element that does not yet have dimensions but that
fulfils all the requirements. MedirUtil will process this element
if the selection box is marked.

This element does not fulfil the requirements for acquisition of


its dimensions.
See section 3.1.1 “CATParts requirements”.
By clicking on the part selection box, information will be
displayed on the error.

This element has just been processed by MedirUtil. Its


dimensions will be shown in brackets in the following order:
“(Thickess/Diameter x Width x Length)”.
Nevertheless, the user may re-calculate them if he so wishes,
or modify them manually.

This element already had dimensions specified in Properties


before MedirUtil was executed. These dimensions may be
re-calculated is this is selected.

This definition may be consulted at any time by clicking on the help button in the upper
right-hand corner of the tree in the main window.

3.2.2 Right-hand button menu

There is a contextual menu that may be activated by clicking with the


right-hand mouse button on any of the elements in the tree. The options
on this menu are as follows:

Highlight in CATIA: Selects all the instances of the element in


CATIA for easy location.

Manually edit: This will open a window in which the


user may manually input the material and/or
dimensions of the element. This is of use in the
case of parts that cannot be calculated for whatever

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 9 de/of 16


USER MANUAL
MedirUtil
reason. It may also be used when the user wishes to correct the material and/or any of the
dimensions calculated by MedirUtil .
The macro will register the data internally and use them from hereon, but will not take them to
the CATPart until is selected.

3.3 Acquisition of dimensions

By clicking on the button we get MedirUtil to initiate the process of capturing the
dimensions of selected parts.

This process is performed semi-automatically, following a procedure in which the user should
intervene at certain times for the acquisition of measures to be correct.

The procedure is as follows:

3.3.1 List of parts to be measured

As a starting point, MedirUtil will show the user a window


with the elements that have been selected and whose
dimensions are to be acquired.

The list shows the Part Number of the part alongside the
field “Processed”. Initially blank, the “Processed” field will take
the value “OK” or “NO” on completion of the execution,
depending on whether the part has been processed or not.

By clicking on the button, a repetitive process will be started in which


measurements will be performed part by part. This process, which consists of four steps, will be
repeated once for each part until all have been processed.
Once they have been processed, or if the process is cancelled half way through, the window will
be displayed again with the list of parts, now with the field “Processed” filled in, clearly displaying the
result.

The four steps are shown below, as they will be presented for a part.

3.3.2 Step 1. Open New Window

Once the button has been clicked on,


the window “Measure part” will appear, remaining
present throughout the entire process of measuring a
specific part.

The Part Number of the part being measured will


appear in the yellow box. Beneath this, in green boxes,
may be seen the Designation and Material, if they are
filled in in CATIA.

Below there are several buttons:

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 10 de/of 16


USER MANUAL
MedirUtil

This button has no function in this step, as a result of which it will be shown inactive.
It will be used in Step 4. Validate Measures.

This button may be used to terminate the measuring process and will re-open the
window “List of parts to be measuredr”. Here the parts that have been processed may be seen and
the decision may be taken to continue measuring or return to the main window of MedirUtil .

This button serves to skip the part and go on to the next. If the user sees that the part
cannot be measured correctly with MedirUtil (see section 3.6 “Measuring criteria”), he can use this
button to skip it and thus not have to cancel the measuring process. The skipped part will be shown
in the “List of parts to be measured” window with the value “NO” in the “Processed” field.

This is the button used to advance in the measuring process. Clicking on this
button causes CATIA to open the part in a new window, where its dimensions will be measured. On
opening the part in a new window, there will be a much clearer view of it, allowing the measurement
to be performed more conveniently. Once this button has been clicked on, we go on to the next step
in the measuring procedure.

3.3.3 Step 2. Creates Rough Stock

Once the part has been opened, the “Measure part”


window we will change the button that has just been
clicked on for another, which will allow the next step in
the measuring procedure to be performed.

By clicking now on the button, the


CATIA tool “Creates Rough Stock” will be initiated,
allowing for generation of the stock of material enclosing
the Part.

The tool “Creates Rough Stock” is used in the CATIA


module “Generative Shape Design” and in others. It has
the following icon ( ).

When the “Creates Rough Stock” button is clicked on,


this tool is started up automatically and the “Rough Stock
Creation” window is shown. By means of this tool the
user should generate the stock of material, net, adapted
to the part. This is accomplished by selecting the
PartBody and, if necessary, by orienting the stock by
clicking on select and one side of the part.

At this point the intervention of the user is decisive,


since the stock created must be verified to correctly
enclose the part, on the criterion of the user. Once the
stock has been created, we can go on to the next step.

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 11 de/of 16


USER MANUAL
MedirUtil
3.3.4 Step 3. Analyze Rough Stock

In the previous step, when the button “Creates


Rough Stock” is clicked on, this changes automatically to
the next step. Now the button shows:

This button should be clicked on


only when the stock has been created for the part. By
clicking, the programme will analyze the stock, taking its
measures and automatically eliminating it such that
execution of the process will not leave remains of the
geometry in the parts.

If for any reason the stock has not been created, or cannot be detected, the user will be given
the opportunity to re-create it, returning to step 2.
To accomplish this, click on , as a result of which the following message will
be shown:

If No is selected, the dimensions may be input manually in the next step.

3.3.5 Step 4. Validate Measures

Finally, the user should validate the measures just


performed on the stock, applying the corresponding
allowances if necessary.

Several new fields may now be seen in the window,


which will be used to validate the measures.

NET Measures: Shown here will be the three boxes


corresponding to Thickness/Diameter, Width and Length, as
measured on the stock, with an accuracy of one decimal
place. These measures are informative only, since the
definitive measures that will be noted on the part appear
below.

Measures for PROCUREMENT: These are the


measures that will be noted on the part. They appear in the
Thickess/Diameter, Width and Length boxes, where the user
may modify the stock data as he wishes.
Initially, these boxes will show the same value as the net measures.
By clicking on the text See allowances application standards a window will be opened with
the rules contained in AING-142 and governing this issue.

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 12 de/of 16


USER MANUAL
MedirUtil

This button is now shown activated. By clicking on it, it is


possible to select the Shape of the Material corresponding to the current part
from a scroll menu.

When this is done, MedirUtil will search among the materials of AING-101 for
those corresponding to the available data on the part, and will perform the
following:
1. Display of the possible thickness(es) for the part accoring to AING-101. The user will
select the appropriate one.
2. Deactivation, if appropriate, of the Width box of “Measures for PROCUREMENT”, since
for certain parts this datum is left blank.
3. For profiles and tubes, changing of the DESIGNATION if not correct accoriding to AING-
142, Chapter on Procurement.

Once the measures that the user considers to be correct have been input, the
designer will click on this button to declare them valid and the macro will save them for this part.
The part will be closed in CATIA and the measuring process will begin with the next.

When there are no more parts to be processed, the


window with the List of parts will be shown again, now
indicating which have been processed and which have not.

By clicking on the “Finished” button, the process will be


considered completed and the main window of MedirUtil will
be displayed again. The recently calculated measures will
be shown in blue.

MedirUtil window with recently calculated parts (in blue).

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 13 de/of 16


USER MANUAL
MedirUtil
3.4 Reload data

By clicking on the button it is possible to read the data again from CATIA. In this way
the user can correct erroneous parts as they goes without the need to re-execute the macro.

3.5 Application of data

By clicking on the button the dimensions obtained


by MedirUtil can be dumped in CATIA, written in the Properties
appropriate to each part.

MedirUtil will previously show a window in which the user


may check which elements of CATIA are to be updated. By
clicking on the “Accept” button the operation will definitively be
performed.

Once the data have been applied in CATIA, the user should
save the files, if he so wishes, in order for the changes to be
definitively registered. It is recommended that Save
Management in the CATIA menu File be used.

3.6 Measurement criteria


Given that the dimensions of parts will be obtained by creating the stock of material surrounding
them, the user should consider when this method is valid for the part being measured, since there
are parts that do not accept this criterion for calculation of their procurement dimensions.
Without getting involved in an extensive study of the variety of parts that might not be valid for
measurement using MedirUtil, certain common examples are given below in order to show the user
certain parts for which the process performed by MedirUtil is typically not valid.

Profiles extruded around a curve.


Consider the part shown in the figure, which
has been obtained from a round bar of a
certain length, applying a 180º bend. In this
case the stock calculated by MedirUtil is not
valid for procurement.

Parts obtained by bending sheet, since


in this case what should be procured is the
sheet developed, not the stock proposed by
MedirUtil.

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 14 de/of 16


USER MANUAL
MedirUtil
3.7 Report

By clicking on the button it is possible to obtain a complete report in HTML format with
the results of executing MedirUtil .
The report is generated in HTML format and displayed automatically in Internet Explorer. If for
any reason Internet Explorer does not open when clicking on the “Report” button, the HTML file
should be opened manually.
This is saved by default in the temporary folder of the system with a name similar to the
following: Report MedirUTIL - 26-09-07 131834.html.
Consequently, in order for the report to be generated and saved correctly, the user should have
access to reading and writing to the system temporary folder.
Access may be gained to this folder by writing %TEMP% on the address bar of Windows
Explorer and clicking on [Enter]. The address bar is available in the Windows Explorer menu:
SeeÆToolbarsÆAddress bar.

Example of report generated by MedirUtil

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 15 de/of 16


USER MANUAL
MedirUtil

4. TREATMENT OF ERRORS
For a series of different circumstances, MedirUtil may encounter errors during operation. In
order to resolve these situations, MedirUtil is prepared to manage whatever unexpected errors
might occur, automatically generating an error report in the system temporary folder.

Whenever an error occurs that cannot be resolved by


MedirUtil, the following warning window will be displayed and the
error will then be registered in the errors report. Access may be
gained to the temporary folder of the system by writing %TEMP%
on the Address Bar of Windows Explorer. Send this file to your
Airbus España contact for us to correct it as soon as possible.
The information contained in this file is generic in nature and may be consulted by the user. It does
not contain data identifying your company.

In response to this type of errors, MedirUtil offers the possibility of attempting to continue
execution. The user may choose either of these two options, although from AIRBUS-E it is
recommended that execution is not continued, since both the data calculated and the data in the
reports may not be reliable.

© AIRBUS España S.L. 2007. Todos los derechos reservados. Documento confidencial.
© AIRBUS España S.L. 2007. All rights reserved. Confidential and proprietary information.

Edición/Issue: A Fecha/Date: Oct 2007 Pág./Page 16 de/of 16