With Resource table
You can instantiate a template using a resource table.
- Double-click the type you have created and click Sequence Combination to create a sequence of operations.
- Click Bind Object . This operation is used to search for the destination of the instantiated engineering template.
- Click Bind Object . This operation is used to valuate the first input of the template. Note that you can also use a Bind a Publication or a Bind a Parameter operation depending on the input type.
- Click Bind Object . This operation is used to valuate the second input of the template. Note that you can also use a Bind a Publication or a Bind a Parameter operation depending on the input type.
- Click Bind Object . This operation is used to valuate the third input of the template. Note that you can also use a Bind a Publication or a Bind a Parameter operation depending on the input type.
- Double-click the Bind a PLMComponent.1 operation
in the tree and enter
ExtObj
in the Relative Name field. Click OKto validate. - Click Instantiate Engineering Template .
- Double-click InstantiatePLMTemplate.1 in the tree. The Instantiate Engineering Template editor opens.
- Click resource table input
and click .... The Resource table opens.
- Click .... The Resource table opens.
- Select an Engineering Template from the list or click Add a new resource item. A new line is displayed in the table. Double-click the Resource cell. The Select an Engineering Template for item "Resouce1" appears. Type the name of the Engineering Template and click Search. Select the Engineering Template in the list and click OK. The Engineering Template is added to the Resource cell. Click OK twice to validate.
- Click the Destination field in the Instantiation context area and click the output link of the Bind a PLMComponent.1 operation in the tree.
- Add three input attributes identical
to those defined on your Engineering Template and click OK
when done.
- In the Defined inputs and parameters area, click Add. The InstantiatePLMTemplate.1 editor opens.
- Type the name of the attribute, Input1.
- Select Pointer in the Parameter type scrolling list and click OK when done.
- In the Defined inputs and parameters area, click Add. The InstantiatePLMTemplate.1 editor opens.
- Type the name of the attribute, Input2.
- Select Pointer in the Parameter type scrolling list and click OK when done.
- In the Defined inputs and parameters area, click Add. The InstantiatePLMTemplate.1 editor opens.
- Type the name of the attribute, Input3.
- Select Pointer in the Parameter type scrolling list and click OK when done.
- Expand the BindObject operations nodes.
- Right-click the Input1 variable located below the InstantiatePLMTemplate.1 operation in the tree, select Input2 object > Link To and click the output Link of the second Bind a component operation.
- Right-click the Input2 variable located below the InstantiatePLMTemplate.1 operation in the tree, select Input2 object > Link To and click the output Link of the third Bind a component operation.
- Right-click the Input1 variable located below the InstantiatePLMTemplate.1 operation in the tree, select Input2 object > Link To and click the output Link of the fourth Bind a component operation.