|
This scenario explains how to use relations
based on publications at the product level. The scenario described below is
divided into the following steps:
- Add a parameter to the KwrScrew.CATPart
called Screw_Volume, add a formula to calculate the volume of the
screw and publish the Screw_Volume parameter.
|
- Add a parameter to the KwrScrew1.CATPart
called Screw_Volume, add a formula to calculate the volume of the
screw and publish the Screw_Volume parameter.
|
- Create a CATProduct file called Bolt and import
the KwrScrew.CATPart
|
|
- In the context of the Bolt
product, create a formula calculating the bolt volume based on the
screw and the nut publications.
|
|
|
|
Before
you start, make sure that the Keep link with selected object
check box is selected (Tools>Options>Infrastructure>Part
Infrastructure>General). |
|
Note
that this function can be used with:
|
|
-
Open the
KwrNewScrew.CATPart document.
-
Add a Volume parameter to the part.
-
Publish the Screw_Volume parameter.
To do so, select Tools>Publication and
click the Screw_Volume parameter under the Parameters
node in the specification tree. Click OK. The published
parameter appears in the specifications tree below the Publication
node. Save your file and close it. |
|
-
Open the
KwrNewScrew1.CATPart and repeat the steps listed above (steps 1 to 3
included). The part is identical to the one below. Save your file and
close it.
-
Create a CATProduct file named KwrBolt.CATProduct.
-
Click the Root product and select Insert>Existing
Component.... The File selection box is displayed.
Select the KwrNewScrew.CATPart file and click Open. The screw
is imported.
-
Select Insert>Existing Component..., select
the
KwrNewnut.CATPart file and click Open. The nut part is
inserted.
-
Add a Bolt_Volume parameter to the product to compute the
volume of the bolt.
-
Replace the screw to compute a new volume: Double-click,
then right-click the Screw.2 component in the specification tree and
select Components>Replace Component.... The File
Selection window opens. Select the KwrNewScrew1.CATPart file and
click Open.
-
Click Yes and OK in the Impacts on
Replace window. The new screw is inserted and the bolt volume is updated.
|