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 the Blocks folder.
4. Click
![](../../schematics/Creo_Schematics_4.0/images/catalex_create.png)
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
![](../../schematics/Creo_Schematics_4.0/images/dg_tick.png)
.
12. Select property model_name.
13. Edit the
Parameter value to
PUSH_BUTTON and click
![](../../schematics/Creo_Schematics_4.0/images/dg_tick.png)
.
14. Select property obj_type.
15. Set the
Parameter value to
COMPONENT and click
![](../../schematics/Creo_Schematics_4.0/images/dg_tick.png)
.
16. Select parameter name_format.
17. Edit the
Parameter value to
SW-## and click
![](../../schematics/Creo_Schematics_4.0/images/dg_tick.png)
.
18. Click OK. Each time the switch is instanced the value will increment by 1 i.e. SW-01, SW-02 etc.