codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  Tolerance object

A geometric tolerance contained in a feature control frame.

VBA class name:

AcadTolerance 

Create using:

ModelSpace.AddTolerance
PaperSpace.AddTolerance
Block.AddTolerance 

Access via:

ModelSpace.Item
PaperSpace.Item
Block.Item
SelectionSet.Item
Group.Item 

Tolerances are influenced by several system variables: DIMCLRD controls the color of the feature control frame; DIMCLRT controls the color of the tolerance text; DIMGAP controls the gap between the feature control frame and the text; DIMTXT controls the size of the tolerance text; and DIMTXSTY controls the style of the tolerance text.

System variables can be set and queried using the SetVariable and GetVariable methods.

To create a tolerance, use the AddTolerance method. To edit or query a tolerance, use the following methods and properties:

Methods

ArrayPolar

ArrayRectangular

Copy

Delete

GetBoundingBox

GetExtensionDictionary

GetXData

Highlight

IntersectWith

Mirror

Mirror3D

Move

Rotate

Rotate3D

ScaleEntity

SetXData

TransformBy

Update

Properties

Application

Arrowhead1Type

DecimalSeparator

DimensionLineColor

DirectionVector

Document

FractionFormat

Handle

HasExtensionDictionary

Hyperlinks

InsertionPoint

Layer

Linetype

LinetypeScale

Lineweight

Normal

ObjectID

ObjectName

OwnerID

PlotStyleName

PrimaryUnitsPrecision

ScaleFactor

StyleName

TextColor

TextHeight

TextString

TextStyle

TrueColor

Visible

Events

Modified  

 

   Comments?