VS:LinearDim

From Vectorworks Developer
Jump to: navigation, search

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

Description

Procedure LinearDim creates a linear dimension in a VectorWorks document.

Bit code values for dimension flags can be found in the VectorScript Appendix.

Linear Dimension

PROCEDURE LinearDim(
startPtX,startPtY  :REAL;
endPtX,endPtY  :REAL;
offsetDistance  :REAL;
dimType  :INTEGER;
arrow  :INTEGER;
textFlag  :INTEGER;
textOffset  :REAL);
def vs.LinearDim(startPt, endPt, offsetDistance, dimType, arrow, textFlag, textOffset):
    return None

Parameters

startPt REAL X-Y coordinates of dimension start point.
endPt REAL X-Y coordinates of dimension end point.
offsetDistance REAL Offset distance of dimension line from object.
dimType INTEGER Dimension type flag.
arrow INTEGER Arrowhead style flag.
textFlag INTEGER Text style flag.
textOffset REAL Dimension text offset distance.

Example

VectorScript

LinearDim(-2",2",1",2",-3",0,771,770,0.75);

Python


Version

Availability: from All Versions
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox