Gutter.AddSegment
Description:
Add segments to the gutter.
Add segments to the gutter.
public override void AddSegment(
Reference targetRef
)
-
targetRefSegment's reference on which want to be added.
-
This exception will be thrown in following cases: 1. Input targetRef is null. 2. Input targetRef is not null but contains nothing.
-
This exception will be thrown in following cases: 1. Input targetRef has already been added into the gutter. 2. Internal code fails to create the segment object. 3. Regeneration fails.
-
This exception will be thrown if the reference is not suitable for creating a gutter as required. The reference allowed is : 1. Model Line 2. Roof's horizontal edges 3. Soffit's horizontal edges 4. Fascia's horizontal edges