Entity Layout POSITION
Synopsis
This declaration provides a mechanism for positioning entities in the display window of HASE.
With the POSITION attribute, object_id may not refer neither to an AENTITY nor a CHILD. It it is so, an icon will be displayed
at the position specified without relating entity. The object_id.gif file will be used to draw the icon.
- object_id str - The name of the entity to be positioned. This can be the type
name of an entity defined in the entity library, in which case
the coordinates will be given to all the entities of that type. It can also be the the instance
name of the required entity. The instance name should be the complete hierarchical name.
When specifying a level name from the hierarchy, the instance name, not the type name,
should be used. Each level in the hierarchy should be seperated by a
'.'. Therefore the syntax for a complete hierarchical name is :
top_level_instance_name.next_level_name. ... .last_level_name}.
The position given to an instance overrides the position information of the library component.
- x int - The x coordinate of where to place the top left corner
of the entity's icon. This coordinate is relative to the top left corner of the display window
for top level entities. However it is relative to the upper left corner of the parent entity's icon if
it is not a top level entity.
The x coordinate may also be a string. In that case
the string has to be the name of one of the parameter specified for the
related entity. Then the position of the icon will change according to
the value of the parameter (See example).
- y int - The y coordinate of where to place the top left corner
of the entity's icon. This coordinate is relative to the top left corner of the display window
for top level entities. However it is relative to the upper left corner of the parent entity's icon if
it is not a top level entity.
The y coordinate may also be a string. In that case
the string has to be the name of one of the parameter specified for the
related entity. Then the position of the icon will change according to
the value of the parameter (See example).
- infoX str - Some particular construction (
Mesh1D or MeshnD ) may
require additionnal EL information. Then, the additional information must be provided there.
Maximum three additional information are allowed in the current release.
Example
Memory_Hierarchy.secondary_cache : POSITION (100,50)
Frederic Mallet
Last modified: Tue Nov 20 15:48:04 GMT 2001