VS:CreateVP: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
(add comment)
m (Transfer Orso to _c_)
 
Line 32: Line 32:
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<remark>
<remark>
([[User:Orso.b.schmid|Orso]], 2015.02.25):  
([[User:CBM-c-|_c_]], 2015.02.25): This invariably creates a VP with scale 1:1, view top-plan and all layers and classes set to invisible.  
This invariably creates a VP with scale 1:1, view top-plan and all layers and classes set to invisible.  
</remark>
</remark>



Latest revision as of 05:53, 30 December 2020

.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

(_c_, 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