Displays all members of the AecSpaceOffsetInfo base class.
The AecSpaceOffsetInfo class is used to describe an offset as a result of the application of a bounding adjacency rule. It is returned by the implementation of the Apply methods of that class that is called by AutoCAD Architecture 2024 toolset when the software needs to calculate the boundary offsets of a space according to the standard this rule is assigned to.
You define an offset with 2 properties, the type and the value. The type defines where on the bounding object the offset is to align, such as the adjacent face of the wall. The value defines an additional offset distance from that alignment, where positive is away from the space under consideration. For example, you can define an offset that is aligned with the center of the wall, which is then offset an additional 1" toward the opposite face.
namespace Autodesk.Aec.SpaceOffsetRulesManager {public class AecSpaceOffsetInfo {}public static AecSpaceOffsetInfo kNoChange; public static AecSpaceOffsetInfo kOffsetToAdjacent; public static AecSpaceOffsetInfo kOffsetToCenter; public static AecSpaceOffsetInfo kOffsetToOpposite; public AecSpaceOffsetInfo(AecSpaceOffsetType type); public AecSpaceOffsetInfo(AecSpaceOffsetType type, double value); public AecSpaceOffsetType OffsetType { get; set; } public double OffsetValue { get; set; } }}
The Autodesk.Aec.SpaceOffsetRulesManager.AecSpaceOffsetType enumeration type can be one of the following values:
Value | Description |
---|---|
Adjacent | Defines an offset to the inside of the bounding object (usually this equals no offset at all) |
Center | Defines an offset to the center of the bounding object |
Opposite | Defines an offset to the opposite side of the bounding object |
NoChange | Will not change any offsets already applied |