ObjectDCL Banner

Value Property

Description

This property contains the value on the control.

Type

This property is a real number. The value units are degrees.

Applies For

AngleSlider.

Invoking From Old API

Can be passed as "Value" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetValue MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetValue "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetValue MyProject_MyForm_MyControl 0.5)

(Odcl_Control_SetValue "MyProject" "MyForm" "MyControl" 0.0)