Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I'm looking a way to get the center point of Rebar from a Rebar Shape (i remark this point in the picture).
In my project, i did:
protected XYZ GetRebarOrigin(Rebar rebar)
{
IList<Curve> curves = rebar.GetShapeDrivenAccessor().ComputeDrivingCurves();
if (curves != null && curves.Count > 0)
return curves.First().GetEndPoint(0);
return null;
}
but it isn't point that i want to get. What do i do to get this point?
Thank you!
Solved! Go to Solution.