User Manual - Page 3263

For AUTOCAD 2011.

Loading ...
Loading ...
Loading ...
Advanced: Using Classifications in Area Calculation Standards
A common way of implementing a standard is to define offsets between spaces
depending on their classifications. Even though you can do this with the area
calculation standard API described in the previous sections and through usage
of the available .NET API from AutoCAD Architecture, the
Autodesk.Aec.SpaceOffsetRulesManager.AecSpaceOffsetClassification class provides
some functionality to make the handling of classifications for offset
calculations easier.
Definition of Classifications in Resource Assembly
Since classification names are displayed to the user in AutoCAD Architecture,
their names should be localized. The API to use classifications within area
calculations pays respect to that through the usage of resources to define the
classification names of the classification set of a standard. Before your can
apply and use classifications in your custom area calculation standard, you
need to define them in a resource file that you need to add to your existing
project (alternatively, you could create a resource-only assembly that is
referenced). Please refer to the help of your development environment or the
MSDN Online Library for information about creating string resources. It is
assumed that the reader of this appendix is able to create and build a project
that contains localized strings. Within this example, a resource file that
Implementing Offset Rules | 3207
Loading ...
Loading ...
Loading ...