RVTDocs.com

IRebarUpdateServer.TrimExtendCurves

Method
Description:
This function is supposed to trim or extend curves that were obtained from calling GenerateCurves(). Also in this function can be set new constraints for start and end handles.
Remarks:

This function is called in the regeneration context when at least one data in trimExtendData parameter was changed. It is called immediately after GenerateCurves() and only if GenerateCurves() returns true.

If new constraints were created for start or end handle, a new regeneration will take place and the new constraints will become the rebar's actual constraints.

If new curves will be added by calling TrimExtendData.AddBarGeometry(), the existing curves in Rebar element will be replaced with these curves. It will not add curves to the existing ones.

Syntax
Parameters
Parameter Type Description
trimExtendData RebarTrimExtendData Use the members of this class to access the inputs and define any trim/extend actions to be taken for bars in the free form rebar.
Return Value
Type Description
Boolean Returns true if the trim/extend was successful, false otherwise.