User Manual - Page 3254

For AUTOCAD 2011.

Loading ...
Loading ...
Loading ...
bounding object for 2 spaces at interior walls and an offset to the outside of
the wall if there is no adjacent space.
public class BoundingAdjacencyRuleGross : AecBoundingAdjacencyRule
{
public BoundingAdjacencyRuleGross()
{
}
public override AecSpaceOffsetInfo Apply(ObjectId idSpace, Ob
jectId idObject, ObjectId idAdjSpace)
{
if (idAdjSpace.IsNull)
{
// If there is no adjacent space (exterior wall), keep the
'Opposite' offset
return new AecSpaceOffsetInfo(AecSpaceOffsetType.Opposite);
}
else
{
// If there is an adjacent space (interior wall), its center
return new AecSpaceOffsetInfo(AecSpaceOffsetType.Center);
}
}
}
3198 | Chapter 39 Spaces
Loading ...
Loading ...
Loading ...