ObjectDCL Banner

InterfaceMode Property

Description

Defines the mode by which the interface will work, Static, Orbit, or Pan.

Type

This property is an integer. The valid values are:

  • 0 (Passive)
  • 1 (Orbit)
  • 2 (Pan)
  • 3 (Zoom)

Applies For

BlockView, DwgPreview.

Invoking From Old API

Can be passed as "InterfaceMode" 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_GetInterfaceMode MyProject_MyForm_MyControl))

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

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetInterfaceMode MyProject_MyForm_MyControl 2)

(Odcl_Control_SetInterfaceMode "MyProject" "MyForm" "MyControl" 3)