Difference between revisions of "VS:GetProjection"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
(add section and section plus constants)
 
Line 31: Line 31:
 
<return>
 
<return>
 
Projection values:
 
Projection values:
*0: kOrthogonal
+
* 0: Orthogonal
*1: kPerspective
+
* 1: Perspective
*2: kCavalierOblique45
+
* 2: Cavalier Oblique 45
*3: kCavalierOblique30
+
* 3: Cavalier Oblique 30
*4: kCabinetOblique45
+
* 4: Cabinet Oblique 45
*5: kCabinetOblique30
+
* 5: Cabinet Oblique 30
*6: kPlan
+
* 6: Plan
 +
* 7:  Section
 +
* 8:  Section Plus
 
</return>
 
</return>
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<version>
 
<version>
Availability: from VectorWorks13.0
+
Availability: from VectorWorks 13.0
  
 
</version>
 
</version>

Latest revision as of 00:57, 17 February 2016

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Returns the projection index from the specified layer.
FUNCTION GetProjection(
theyLayer  :HANDLE) : INTEGER;
def vs.GetProjection(theyLayer):
    return INTEGER

Parameters

theyLayer HANDLE Layer which the projection is returned for.

Return Value

Projection values:
  • 0: Orthogonal
  • 1: Perspective
  • 2: Cavalier Oblique 45
  • 3: Cavalier Oblique 30
  • 4: Cabinet Oblique 45
  • 5: Cabinet Oblique 30
  • 6: Plan
  • 7: Section
  • 8: Section Plus

Version

Availability: from VectorWorks 13.0

See Also

VS:ActLayer
[[VS:ActLayer]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox