User Manual - Page 3977

For AUTOCAD 2011.

Loading ...
Loading ...
Loading ...
The dbTable reference will use the value as the column name within the size
table for the current component. Consider the following two examples.
<Data>
<Item idStr="block">
<AcadBlockProps>
<BlockName dwgLib="dwgs/AecDtlLib_BlockTest.dwg">Jimbo</Block
Name>
<Scale>6.0</Scale>
</AcadBlockProps>
<AcadEntityProps>
<Layer>DOOR</Layer>
</AcadEntityProps>
</Item>
</Data>
In the first case, the <Scale> and <Layer> values have been specified literally.
This component, regardless of what row was selected in the database, will
have a scale factor of 6.0. Likewise, regardless of what Layer Key style is current
within AutoCAD Architecture, this component will go on the DOOR layer
(not the layer assigned to the LayerKey DOOR).
<Data>
<Item idStr="block">
<AcadBlockProps>
<BlockName dwgLib="dwgs/AecDtlLib_BlockTest.dwg">Jimbo</Block
Name>
<Scale ref="dbTable">SCALE</Scale>
</AcadBlockProps>
<AcadEntityProps>
<Layer ref="layerKey">DOOR</Layer>
</AcadEntityProps>
</Item>
</Data>
In this example, references were used to look up the values dynamically. The
<Scale> will be set to the value in the SCALE column of the current row in
the components size table. Likewise, the reference DOOR is the Layer Key
to use to look up the Layer, not the actual Layer name itself. There is also a
reference of type control, which lets you use the idStr of a control defined
within the Recipe. The value of that control is then used as the actual value
of the Element.
Recipe Specifications | 3921
Loading ...
Loading ...
Loading ...