VS:CreateVP: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (1 revision)
 
(add comment)
(One intermediate revision by one other user not shown)
Line 29: Line 29:
</lineList>
</lineList>
</params>
</params>
-----------------------------------------------------------------------------------------------------------
<remark>
([[User:Orso.b.schmid|Orso]], 2015.02.25):
This invariably creates a VP with scale 1:1, view top-plan and all layers and classes set to invisible.
</remark>


-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<version>
<version>
Availability: from VectorWorks11.0
Availability: from VectorWorks 11.0


</version>
</version>

Revision as of 06:33, 25 February 2015

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

Description

Creates a viewport object. The specified parent handle may only be a layer or a group contained within a layer, nested or otherwise.

FUNCTION CreateVP(
parentHandle :HANDLE) : HANDLE;
def vs.CreateVP(parentHandle):
    return HANDLE

Parameters

parentHandle HANDLE

Remarks

(Orso, 2015.02.25):

This invariably creates a VP with scale 1:1, view top-plan and all layers and classes set to invisible.

Version

Availability: from VectorWorks 11.0