|
This scenario explains how to create a
persistent and associative link between a measure created using the
Measure Item or Measure Between command and a parameter.
- Measure Item allows you to get the length of a curve
(edge, line, curve), radius or angle depending on the parameter
magnitude.
|
- Measure Between allows you to get the minimal distance
or angle between two elements, depending on the parameter magnitude.
|
|
|
This link can be created only if the Keep
measure option is checked in the Measure Item and
Measure Between dialog boxes (if not the result is copied as a simple
value.) |
|
- No formula is created when using the Measure Item or the
Measure Between commands.
- The icon located on the right of the editor field is a measure
between or item icon. Note that you will be able to edit the
measure.
|
|
- The parameters located below the Parameters node are directly linked
to the measures.
- You can invert the sign of the parameter using the
Invert value command in the Measure Item or Measure Between
window. The sign concerns only the valuated parameters and not the
parameter of the measure.
|
|
- To have an associative link, you must make an associative measure. If
you select the Picking point mode and the Measure between
function, the measure will not be associative. As a result, there will be
no associative geometry.
- When a measure is not associative, the value is displayed in the
value field.
- Even in the case of an associative measure, if you only want to get
the result of the measure, unselect the Keep measure check
box.
- To create a "smart" customization, click Customize... in
the Measure Item dialog box to see the properties the system can detect
for the various types of item you can select.
|
|
-
Open the
KwrPlaneWing.CATPart file. The following image is displayed.
Using the Measure Item... command
-
Add a parameter of Length type.
|
Click the Formula icon ().
The Formulas dialog box is displayed. |
|
From the New parameter of type scrolling
list, select Length and click New parameter of type.
Length.1 is displayed in the Edit name or value of
the current parameter field. |
|
Right-click the value field of Length.1
and select Measure Item.... The Measure Item
dialog box is displayed. |
|
|
Make sure the Keep measure option is
checked in the Measure Item dialog box. |
|
In the specification tree, expand the Sketch.1
node, and click Spline.2. The selected item is highlighted in the
geometry and its measure is displayed in green. |
|
|
|
Click OK in the Measure Item
dialog box and OK in the Formulas dialog box. A new
parameter is added below the Parameters node and below the Measure
node. The Length.1 parameter is now linked to the result of the
measure. |
|
Using the Measure Between... command
-
Add a parameter of Angle type.
|
Click the Formula icon ().
The Formulas dialog box is displayed. |
|
From the New parameter of type scrolling
list, select Angle and click New parameter of type.
Angle.1 is displayed in the Edit name or value of
the current parameter field. |
|
Right-click the value field of Angle.1
and select Measure Between.... The Measure Between
dialog box is displayed. |
|
|
From the Selection 2 mode scrolling
list, select the Edge only option. |
|
In the specification tree, select Plane xy then
select the geometry as shown below. |
|
The selected items are highlighted in the geometry
and the measure is displayed in green. |
|
|
|
Click OK in the Measure Between
dialog box and OK in the Formulas dialog box. An angle
parameter is added below the Parameters node and the measure is
displayed below the Measure node. |
|
|
|
Click
here to display the result sample. |
|
|
Note that:
|
- To remove the link to the measure, right-click the measure item
in the specification tree and select measure object->Remove
the link with measure.
|
|