VS:GetArrayDimensions

From Vectorworks Developer
Jump to: navigation, search

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


Description

Returns the dimensions of the specified array.
PROCEDURE GetArrayDimensions(
arrayname  :ARRAY;
VAR rowStart  :INTEGER;
VAR rowEnd  :INTEGER;
VAR columnStart  :INTEGER;
VAR columnEnd  :INTEGER);
def vs.GetArrayDimensions(arrayname):
    return (rowStart, rowEnd, columnStart, columnEnd)

Parameters

arrayname ARRAY Name of array.
rowStart INTEGER Start row value.
rowEnd INTEGER End row value.
columnStart INTEGER Start column value.
columnEnd INTEGER End column value.

Remarks

Works for both regular and dynamic arrays. Returns 0 for column dimensions of the array is 1-dimensional.

Version

Availability: from VectorWorks9.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox