|
This scenario explains how to publish
parameters. The scenario described below is divided into the following
steps:
- Add parameters to the
Screw.2 document and publish its Diameter, Depth, and Volume
parameters. Repeat the same operations with the second CATPart file.
|
- Create a CATProduct file and import
Screw.2.
|
- In the context of the Bolt
product, insert the Nut part that imports the Depth and the Diameter
parameters by selecting the publication MyDepth
and MyDiameter of Screw.2.
|
|
|
|
A publication has a name and
references a geometry or parameters inside the product (or one of its
sub-products).
The publication of parameters can be
used when:
- Defining an import of
parameters between two parts (similar to the import of geometry).
- Defining relations at the
assembly level between parameters (similar to constraints).
- You want to support operations performed on a Product
(Replace, ...).
|
|
|
Before
you start, make sure that the Keep link with selected object
check box is selected (Tools>Options>Infrastructure>Part
Infrastructure>General). |
|
-
Open the
KwrScrew.CATPart document.
-
Add parameters to the part.
-
Publish the MyVolume, MyDepth, and
MyDiameter parameters.
To do so, select Tools>Publication and
select the MyVolume, MyDepth, and
MyDiameter parameters in the specifications tree. Click
OK. The published parameters appear in the specifications
tree below the Publication node. Close the file. |
|
-
Open the
KwrScrew2.CATPart and repeat the steps listed above (steps 1 to 3
included). The part is identical to the one below. Close the file.
-
Create a CATProduct file. Select Insert>Existing
Component... and click the root of the specifications tree. The
File selection box is displayed. Select the KwrScrew.CATPart
file and click Open. The screw is imported.
-
Select Insert>Existing Component..., select
the
Kwrnut.CATPart file and click Open. The nut part is
inserted.
-
Double-click the inner circle of the nut, the Hole
Definition window is displayed.
-
Double-click, then right-click the Screw.2 component in
the specifications tree and select Components>Replace Component....
The File Selection window opens. Select the KwrScrew2.CATPart
file and click Open.
-
Click Yes when prompted to replace all
instances with the same reference as the selected product. Update the nut
part: the parameters are recomputed.
|
|
Non-Initialized Parameter: A Non-Initialized parameter owns an
internal value set by default. It is an initial default value assigned
to a parameter which is unaltered (undisturbed) by the user. For example, Zero is non-initialized
value (default value) for numeric type of parameters.
Initialized Parameter: Any value assigned to a parameter
explicitly by user by altering the default value assigned to a parameter
(disturbing the default value) is an Initialized
parameter. An initialized value cannot be made Non-Initialized by
assigning the default values.When rerouting (replacing) a publication
between parameters that are non-initialized, the external parameter will
be able to recognize
that the rerouting (replacing) has no impact on the publication. In this case, there is no de-synchronization.
However this is not the case with parameters which are initialized.
VPM cannot recognize this particular case and therefore shows a
potential impact in both cases. |