VS:CreateVP

From Vectorworks Developer
Revision as of 06:33, 25 February 2015 by CBM-c- (talk | contribs) (add comment)
Jump to navigation Jump to search

.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