After creating a new standard class, rules must be implemented. The code so far can be compiled and the built assembly can successfully be loaded as an area calculation standard into AutoCAD Architecture 2024 toolset 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.