- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using Revit 2019 API and I want to get the center line curve of the first and the last rebar in a rebar set. When I used the following method:
Rebar.GetCenterlineCurves(bool adjustForSelfIntersection,
bool suppressHooks,
bool suppressBendRadius,
MultiplanarOption multiplanarOption,
int barPositionIndex);
it seems that the parameter "barPositionIndex" has no effect at all. No matter what valid position index of the rebar set I inputted, the curve list I received is the curves of the first bar - the same result of :
RebarShapeDriveAccessor.ComputeDrivingCurve();
How is this possible? Is there anything I missed in the document?
P/s: I found an other way to achieve what I want by translating the first rebar curves along the direction of rebar set though.
Solved! Go to Solution.