Skip to content

Latest commit

 

History

History
66 lines (56 loc) · 1.61 KB

File metadata and controls

66 lines (56 loc) · 1.61 KB

DoubleTolerance

Description

Procedure DoubleTolerance is used with dimensioning procedures to define a tolerance for the most recently created dimension.

PROCEDURE DoubleTolerance(
				showVal     : BOOLEAN;
				boxText     : BOOLEAN;
				leader      : STRING;
				trailer     : STRING;
				topDistance : REAL;
				botDistance : REAL);
def vs.DoubleTolerance(showVal, boxText, leader, trailer, topDistance, botDistance):
    return None

Parameters

Name Type Description
showVal BOOLEAN Dimension text display flag.
boxText BOOLEAN Boxed text display flag.
leader STRING Dimension leader text string.
trailer STRING Dimension trailer text string.
topDistance REAL Tolerance value text string.
botDistance REAL Tolerance value text string.

Examples

VectorScript

LinearDim(-2",2",1",2",-3",0,771,771,0.75);
DoubleTolerance(True,False,'est. ','',1/16",1/16");
{defines a dimension with a double tolerance}

Python

vs.LinearDim(-2,2,1,2,-3,0,771,771,0.75)
vs.DoubleTolerance(True,False,'est. ','',1/16,1/16)
DoubleTolerance(TRUE, FALSE, 'Example', 'Example', 1.0, 2.0);
import vs

# Procedure DoubleTolerance is used with dimensioning procedures to define a
# tolerance for the most recently created dimension.
showVal = True
boxText = 'Example text'
leader = 'Example'
trailer = 'Example'
topDistance = 1.0
botDistance = 1.0

vs.DoubleTolerance(showVal, boxText, leader, trailer, topDistance, botDistance)

Version

Availability: from MiniCAD4.0

Category