Configuring Blocks
A block is an artifact that can contain a fixed number of ports. Each port can accept connections. A block artifact can have different shape representations for different diagram types.
1. On the
Diagramming tab
Explorers group, click
Catalog Explorer.
2. In the Catalog Explorer dialog box, choose Blocks from the Type drop down list.
3. Select a folder Blocks.
4. Click
to create a new block.
5. Select the newly created block.
6. Right-click Properties.
7. In the Block Properties dialog box, edit the name to Push Button Switch.
8. Click Add.
9. In the Parameter selector dialog box, select def_internal_len and obj_type and click OK.
10. In the Block Properties dialog box, select parameter def_internal_len.
11. Edit the
Parameter value to
0 and click
.
12. Select property model_name.
13. Edit the
Parameter value to
PUSH_BUTTON and click
.
14. Select property obj_type.
15. Edit the
Parameter value to
COMPONENT and click
.
16. Select parameter name_format.
17. Edit the
Parameter value to
SW-## and click
.
18. Click OK. Each time the switch is instanced the value will increment by 1 i.e. SW-01, SW-02 etc.