Handles allow users to edit the value of the selected object's attributes in the 3D view. They are created by adding a
@Handle annotation to an attribute.
The handles are positioned so that they are always visible, whichever camera angle is used.
Handles can be turned on and off in the 3D View toolbar under View Settings:
You can also enable handles in.
If the mouse cursor is placed over a handle, CityEngine highlights both the attribute in the inspector, and the associated scope in the view.
Small handles, or handles attached to small parts of the model are sometimes now shown. To show these handles, press the command key (OS X) or control (PC / Linux).
There are several different types of handles for editing different types of attributes, such as linear distances, angles, Boolean switches, multiple choice or colors. They are manipulated by dragging, or clicking, the colored (orange) elements.
Linear handles adjust distance attributes. They are edited by dragging the colored markers. When dragging the handle, the value of the attribute is shown. If the value of the attribute is different to the length of the linear handle, the length of the handle is shown in parenthesis.
Some linear handles can be dragged from either end. These handles have two colored arrows:
Move handles adjust position or offset attributes. They are similar to linear handles, however the length of the move handles is always constant, and dragging one end also moves the opposite end by the same amount.
Rotational handles adjust angle attributes. They are edited by dragging the colored sphere.
Toggle handles adjust Boolean (on/off) attributes. They are edited by clicking the colored square, or dragging the square up and down.
Selector handles edit multiple choice values. They are edited by clicking the colored circle, or by dragging in a clockwise or anticlockwise direction around the circle.
Color handles edit color attributes. The are edited by clicking and dragging on the colored triangle. When a drag starts, the hue circle appears. Dragging within (or outside) the hue circle adjusts the hue, while dragging inside the trangle adjusts the saturation and brightness. The selected color is shown by a circle within the triangle.
Alternately, clicking the triangle, and dragging to a swatch selects that color.
The range of handles may be limited by the rule (using a @Range annotation). In this case the values of the handles are constrained when editing.
Information about writing the annotations that create handles can be found here.
Copyright ©2008-2017 Esri R&D Center Zurich. All rights reserved.