VS:CreateVP
.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