Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
INSUNITS
Syntax
C++
OdDb::UnitsValue INSUNITS;
Type
OdDb::UnitsValue
Initial value
OdDb::kUnitsInches | OdDb::kUnitsMillimeters
Read-Only
No
Saved In
Database
Versions
2000+

 

INSUNITS specifies the drawing units used in the automatic scaling of blocks, Xrefs, and images inserted into or attached to this database. 

 

Name
Value
Description
OdDb::kUnitsUndefined
0
Undefined
OdDb::kUnitsInches
1
Inches
OdDb::kUnitsFeet
2
Feet
OdDb::kUnitsMiles
3
Miles
OdDb::kUnitsMillimeters
4
Millimeters
OdDb::kUnitsCentimeters
5
Centimeters
OdDb::kUnitsMeters
6
Meters
OdDb::kUnitsKilometers
7
Kilometers
OdDb::kUnitsMicroinches
8
Microinches
OdDb::kUnitsMils
9
Mils
OdDb::kUnitsYards
10
Yards
OdDb::kUnitsAngstroms
11
Angstroms
OdDb::kUnitsNanometers
12
Nanometers
OdDb::kUnitsMicrons
13
Microns
OdDb::kUnitsDecimeters
14
Decimeters
OdDb::kUnitsDekameters
15
Dekameters
OdDb::kUnitsHectometers
16
Hectometers
OdDb::kUnitsGigameters
17
Gigameters
OdDb::kUnitsAstronomical
18
Astronomical
OdDb::kUnitsLightYears
19
LightYears
OdDb::kUnitsParsecs
20
Parsecs
OdDb::kUnitsUSSurveyFeet
21
US Survey Feet
OdDb::kUnitsUSSurveyInch
22
US Survey Inch
OdDb::kUnitsUSSurveyYard
23
US Survey Yard
OdDb::kUnitsUSSurveyMile
24
US Survey Mile

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbDatabase::getINSUNITS()
OdDbDatabase::setINSUNITS()

 

File: SysVarDefs.h 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.