Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.6

Description

Description:Returns the information about the section that is currently displayed in a Dialogs PlanView control.

Syntax

Syntax:planGetView control
Parameters:
  • control: Control - PlanView control.
Return Value:Array - In the format [object, section, position, zoom]:
  • object: Object - Object whose plans is displayed.
  • section: String - Name of the currently displayed section.
  • position: Array - Section-relative coordinates for center of section [x,y].
  • zoom: Number - Current zoom factor.

Examples

Examples:
_info = planGetView _ctrl

Additional Information

See also: planSetView, planViewSection
Multiplayer: 
Problems:V3.6: There is a slight discrepancy between the y-values planGetView reads, and the ones needed in planSetView, to recreate the exact same view (the actual difference depends on the current pan and zoom values).

Notes