Genie Name: selection_adorner_auto
Genie Library: sa_misc
System Project: SA_Library
The Selection Adorner Auto Genie (named "selection_adorner_auto") is a Genie that allows you to set the context of the workspace by clicking in the area surrounding a highlighted piece of equipment. The size of the adorner will automatically adjust to the size of the associated piece of equipment.
The border of the adorner is hidden at runtime until an operator points the mouse at the associated piece of equipment. Clicking within the adorner will set the context for the workspace.
Complete the following properties for the Genie in the Genie Properties dialog box.
Select the Genie and double-click on it to view its parameters. The parameters are used as described in the table below:
Parameter |
Description |
---|---|
RefAN |
The AN number of the object you want the adorner to surround. By default, the following function is specified: Adorner_GetAnFromName("..\..\Composite") This will retrieve the AN of an assumed sibling object named "Composite". If required, delete this function and enter the AN for the object you would like to use the adorner with. |
Padding |
If you want to add padding to the adorner, enter the required padding size in pixels. |
IsParentRefAN |
Specifies if the parent AN is used. TRUE = Parent AN is used. FALSE = Parent AN is not used. |
OnClickFunction |
A Cicode function that is executed when an operator clicks on the adorner around a piece of equipment with which the adorner is associated. |
OnRightClickFunction |
A Cicode function that is executed when an operator right-clicks on the adorner around a piece of equipment with which the adorner is associated. . |
Equipment |
The name of the associated piece of equipment that you want use to set the context of the workspace. |
EquipmentSecondary |
The name of the piece of equipment that references any sub-equipment. |
See also
Published June 2018