User Manual - Page 3244

For AUTOCAD 2011.

Loading ...
Loading ...
Loading ...
AecSpaceOffsetStandard.InitCurrentDatabase(). Since this is not an
abstract method of the base class, it can be implemented, but is
not mandatory, as opposed to the InitRules() method. It can be
used by an area calculation standard to initialize the current
drawing with additional data that the rules might require, such
as classification definitions or zone styles. If implemented,
AutoCAD Architecture will call that implementation every time
the standard is assigned to a drawing. The usage of that method
is described in an example in Advanced: Using Classifications in
Area Calculation Standards on page 3207.
public class AecSpaceOffsetStandardSample : AecSpaceOff
setStandard
{
public AecSpaceOffsetStandardSample ()
{
// set the name of the standard
SetName("Basic");
}
// must be overriden
protected override void InitRules()
{
}
// can be overriden
protected override void InitDatabase(Database* database)
{
// ...init database with classification definitions
or zone styles, etc...
}
}
3188 | Chapter 39 Spaces
Loading ...
Loading ...
Loading ...