Prod.: Engine, ver.: 6007, ID: 60000039, Wish : New Property : Support Measurement and INSUNITS variable.

Wish : New Property : Support Measurement and INSUNITS variable.

Article60000039
TypeWish
ProductEngine
Version6007
Date Added3/1/2007
FixedYes [6/26/2007]
Submitted byKarl Ammann
Keywords

Subject

New Property : Support Measurement and INSUNITS variable.

Summary

New Property : Support Measurement and INSUNITS variable.

Solution

In version 6008 we added a new property in vdDocument object named InsUnits. This property is an extra property for units to specify the drawing's Units regarding "real world units". This property is used when a drawing is inserted in another drawing. If a drawing in millimeters is inserted in a drawing with meters the objects of the insertable drawing will be scaled in order to fit the new drawing.

20 Valid values:

public enum InsUnitsEnum
{
Unspecified  :Unit with no scale factor .
Inches : Unit with no scale factor 0.0254 to meters.
Feet : Unit with no scale factor 0.3048 to meters.
Miles : Unit with no scale factor 1609.3440 to meters.
Millimeters : Unit with no scale factor 0.001 to meters.
Centimeters :Unit with no scale factor 0.01 to meters.
Meters : Unit with no scale factor 1 to meters.
Kilometers : Unit with no scale factor 1000 to meters.
Microinches :Unit with no scale factor 25.4e-9 to meters.
Mils :Unit with no scale factor 25.4e-6 to meters.
Yards:Unit with no scale factor 0.9144 to meters.
Angstroms :Unit with no scale factor 1.0e-10 to meters.
Nanometers :Unit with no scale factor 1.0e-9 to meters.
Microns : Unit with no scale factor 1.0e-6 to meters.
Decimeters : Unit with no scale factor 0.1 to meters.
Dekameters :Unit with no scale factor 10 to meters.
Hectometers : Unit with no scale factor 100 to meters.
Gigameters : Unit with no scale factor 1.0e+10 to meters.
Astronomical_Units : Unit with no scale factor 149.597871e+9 to meters.
Light_Years : Unit with no scale factor 9.460730e+15 to meters.
Parsecs: Unit with no scale factor 3.0856776e+16 to meters.
}