 |
This task shows how to insert a drawing into a part
template and how it is updated at instantiation. The scenario is divided
into the following steps:
- Creating a drawing from an existing part
|
- Creating the part template
|
- Instantiating the part template and updates the generated
drawing.
|
|
 |
Note that the documents that can be added to part and
assembly templates must belong to one of the following types:
|
 |
Before performing this scenario, make sure that the Keep link with
selected object is checked (Tools>Options...>Infrastructure>Part
Infrastructure>General). See the Quick
Reference topic for a comprehensive list of the interactions that can
be performed on document templates. |
 |
-
Open the
PktPadtoInstantiate.CATPart file.
-
From the Start>Mechanical Design menu, access
the Drafting workbench. The New Drawing Creation
Window is displayed.
-
Select the All views configuration and click
OK.
-
The drawing corresponding to the pad is generated.
-
Save your drawing and close the file. Click
here to see the generated drawing.
-
Go back to the PktPadtoInstantiate.CATPart file to create
a part template.
-
Open the
PktProduct.CATProduct file.
-
From the Start>Knowledgeware menu, access the
Product Knowledge Template workbench (if need be).
-
Click the Instantiate From Document icon ( )
and select the
PktPadtoInstantiate_result.CATPart containing the document template.
Click Open. The Insert Object dialog box is
displayed.
-
Expand the PartBody\Pad.1
node in the specification tree, select Sketch.1, and make the appropriate
selections in the opening Replace Viewer window (see graphic
below). Click Close when done.
-
Select Sketch.2 in the geometry or in the specification
tree.
-
Click Parameters and enter 10mm in the
Pad_Width field and 90 in the Pad_Length field.
-
Click Close and OK to validate. A
message is fired indicating that the external document was regenerated.
Click OK. The document template was instantiated. (see picture
below).
-
From the Window menu, access the generated .CATDrawing
file. Right-click CATDrawing2 in the left part of the window and select
Update Selection. The drawing is updated and matches the new
product.
|