i-drop multiple styles in one drop
The example above shows an i-drop package that downloads one
Style (plus of course dependent styles in the same download
drawing).
But what if you wanted to create a package that downloaded
numerous styles at once. You might want to does this, for example,
if you want to make available all the standard office styles in
one easy download from the office intranet.
Well fortunately this is accounted for, and all that is
required are additional <aecStyle
name="??"
type="??">
elements for every Style you wish to see downloaded.
Once again remember that you do not need to include styles that
will already be downloaded as a dependency of another. For example
if wall style "My WallStyle 01" refers to Endcap Style
"My EndcapStyle 01" you only need to include the former
in the XML package for both to be downloaded.
<?xml version="1.0"?>
<package>
<!-- if you
want to validate against the schema, uncomment the next line and
remove the previous one -->
<!-- package
xmlns="x-schema:idrop.xdr"
-->
<proxy
defaultsrc="cwall.jpg">
<caption>My
Caption</caption>
</proxy>
<dataset>
<datasrc
clipformat="CF_IDROP.AEC">
<datafile/>
<aecStyles
xmlns:xlink="http://www.w3.org/1999/xlink">
<aecStyle
name="CWall01"
type="AecDbCurtainWallStyle">
<URL
xlink:title="Sample Curtain
Wall" xlink:href="cwall.dwg"/>
</aecStyle>
<aecStyle
name="Wall01"
type="AecDbWallStyle">
<URL
xlink:title="Sample Wall"
xlink:href="wall.dwg"/>
</aecStyle>
<aecStyle
name="Door01"
type="AecDbDoorStyle">
<URL
xlink:title="Sample Door"
xlink:href="doors.dwg"/>
</aecStyle>
</aecStyles>
</datasrc>
</dataset>
</package>
The above example has a few interesting characteristics:
- Not all Style Types are the same.
It is possible to include Styles of any type, so long as the
Style Manager supports them.
- Each Style comes from a different source drawing.
It is entirely up to you whether the Styles are located in one
or multiple drawings.