User Manual - Page 3978

For AUTOCAD 2011.

Loading ...
Loading ...
Loading ...
Units
Each Recipe Spec has a default unit that applies to the entire XML file. Any
unit-dependent value that appears within the XML file is automatically
converted from the default unit to the current drawing unit when the value
is retrieved from XML.
To specify the default unit, use the following syntax in the root node of the
RecipeSpec.
<?xml version="1.0" encoding="UTF-8"?>
<AecRecipeSpec defaultUnit="mm">
<Recipe idStr="section">
<….. omitted ….>
</Recipe>
</AecRecipeSpec>
The defaultUnit attribute must be one of the values: in, ft, mm, cm, dm, or
m. If no value is speciifed, in is used by default.
In some cases, a simple hard conversion from Metric to Imperial (or vice versa)
is not good enough. For instance, the <GapSpacing> between paver bricks
should be a logical distance for each measurement system instead of an
3922 | Chapter 55 Customizing and Adding New Content for Detail Components
Loading ...
Loading ...
Loading ...