User Manual - Page 3246

For AUTOCAD 2011.

Loading ...
Loading ...
Loading ...
area calculation standard into AutoCAD Architecture and be applied to space
objects in a drawing. However, no offsets will be created, because no rules
have been set up yet.
There are 4 different types of offset rules that can be combined to define an
area calculation standard. A rule can be applied to one or more offset types
(net, usable, and gross) in the implementation of
AecSpaceOffsetStandard.InitRules(). For each rule type there is a base class that
the implementation of a custom rule needs to derive from. All of these base
classes are derived from one common abstract base class, so it is recommended
to view that class first.
AecSpaceOffsetBaseRule Abstract Base Class
The AecSpaceOffsetBaseRule public abstract base class is a member of the
namespace Autodesk.Aec.SpaceOffsetRulesManager and the base class for all rule
classes.
Void AecSpaceOffsetBaseRule.RegisterType(System.Type type) Method
The only method the AecSpaceOffsetBaseRule base class implements is void
RegisterType(System.Type type). This method defines functionality that is required
for all specific rule types. This method is used to register object types for which
a specific rule implementation needs to be called by AutoCAD Architecture.
The following sections contain some examples for the usage of this method.
If a rule implementation needs to be called for all object types, you do not
need to call the RegisterType method for all of them. Instead, you can make
one call to RegisterType(Autodesk.Aec.SpaceOffsetRulesManager.kAllTypes).
Reference: AecSpaceOffsetBaseRule Class
namespace Autodesk.Aec.SpaceOffsetRulesManager
{
public abstract class AecSpaceOffsetBaseRule
{
protected AecSpaceOffsetBaseRule();
protected void RegisterType(Type type);
}
}
3190 | Chapter 39 Spaces
Loading ...
Loading ...
Loading ...