You can set the library insertion mode as Public or Private. This impacts the visibility
of the library outside the current
module.
Open a product that has a Simulation
Logic (or a State Logic library containing a block).
In the block contextual menu, select Insert > Module.
The Position dialog box appears.
Select Before and click
OK.
The module is inserted before the block,
that means that the module elements can be visible
from the block elements.

Select the module and add a library
.
The dialog box Position is displayed.
Click OK.
Select an existing library (see
Inserting Libraries).
In the Library Definition dialog box, set the Insertion Mode
to Private Alias.

Click OK.

Double-click the Instances
node in the tree. The Block Properties dialog
box appears.
Select Add Block and
review the list of available blocks. aBlock
is not listed. An element of a private library is not
visible outside its module.
To change the type (Public/Private) double-click the library in the specification tree.
The Module Properties dialog box appears.

Select the Public Library check box, and, if needed, change the library name.
Click OK.
Repeat steps 9-10. aBlock
is now visible in the list of the block.
