Drawing Spatial Objects using commands
You can also start to draw and place objects by typing commands into LEGION Model Builder. Once you have entered a command, follow the instructions on the Output Bar. Most instructions can be carried out by typing coordinates into the Command bar or clicking into the workspace with the mouse.
This procedure describes how to draw an Exit but for a comprehensive list of LEGION Model Builder commands, including all objects, see the "Appendix: LEGION Simulator".
To draw an Exit using a command:
-
Type exit and press
Enter.
The Output Bar prompts you with: "From point:"
- Type x and y coordinates for the starting point of the Exit’s geometry (x,y) and press Enter.
-
Repeat step 2 for the finishing position of the exit.
You are prompted to choose between using a side of the object as the Focal Segment or drawing the segment manually.
-
To use a side of the object as the Focal Segment, press
Enter and go to step 5.
If you want to draw the segment manually, type n, press Enter, type the x and y coordinates for the segment and press Enter again. When you have done so, an arrow showing the direction in which Entities will cross the Focal Segment is displayed. Now go to step 7.
- Move your cursor over one of the sides of the object (the side will be highlighted in green).
-
Click on the highlighted side you want to use as the segment. If
you don’t want to use the whole length of the selected side as the segment,
hold down the <Shift> key and move your cursor along the side of the
object to the desired length of the segment and click.
An arrow showing the direction in which Entities will cross the Focal Segment is displayed.
-
To accept the direction, press
Enter, to reverse the direction of the arrow,
type
n and press
Enter.
The ‘Edit Exit’ dialog box is displayed.
- Enter a name for the object, or choose a name from the drop-down list of imported objects (if appropriate), and set any required parameters. See Setting the parameters of Spatial Objects .