Units property

Sets or returns  the native units of measure for the block.

Syntax

integerVariable = object.Units

object.Units = <integer>

Where:

     integerVariable is a variable (or the constant itself) represents the AcInsertUnits.

     object is the Block object.

 

 

Insert Units Constant

Index Value

 

Insert Units Constant

Index Value

acInsertUnitsUnitless

0

 

acInsertUnitsAngstroms

11

acInsertUnitsInches

1

 

acInsertUnitsNanometers

12

acInsertUnitsFeet

2

 

acInsertUnitsMicrons

13

acInsertUnitsMiles

3

 

acInsertUnitsDecimeters

14

acInsertUnitsMillimeters

4

 

acInsertUnitsDecameters

15

acInsertUnitsCentimeters

5

 

acInsertUnitsHectometers

16

acInsertUnitsMeters

6

 

acInsertUnitsGigameters

17

acInsertUnitsKilometers

7

 

acInsertUnitsAstronomicalUnits

18

acInsertUnitsMicroinches

8

 

acInsertUnitsLightYears

19

acInsertUnitsMils

9

 

acInsertUnitsParsecs

20

acInsertUnitsYards

10

 

 

 

 

 

 


© Bricsys NV. All rights reserved.