User Manual - Page 3242

For AUTOCAD 2011.

Loading ...
Loading ...
Loading ...
Adding the AecSpaceOffsetStandard.InitRules() method
7 After registering the area calculation standard plug-in name, you
must add the new AecSpaceOffsetStandardSample.InitRules() method
to your class. The method will override the abstract
AecSpaceOffsetStandard.InitRules() interface. AutoCAD Architecture
will call that interface to register all individual offset rules you
are going to implement. As this method is abstract, it must be
implemented by your custom standard class. See the following
example for instructions:
public class AecSpaceOffsetStandardSample : AecSpaceOff
setStandard
{
public AecSpaceOffsetStandardSample ()
{
SetName("Basic");
}
protected override void InitRules()
{
// register rules
}
}
Registering rules with InitRules()
8 The rule objects of the standard must be registered with the 3
different offset boundaries (net, usable, and gross). The
AecSpaceOffsetStandard base class has 3 containers for these rule
3186 | Chapter 39 Spaces
Loading ...
Loading ...
Loading ...