2 Replies Latest reply on Sep 7, 2017 9:26 PM by Juhun Lee

    How to get path segments from Body2 Object

    Juhun Lee

      Hello

       

      I am trying to get path segments from a Body2 object... but haven't been able to find any good example for that.

       

      In the end, I want to iterate all segments and grab coordinates of end points of each segment...

       

      Body2 swBody = (Body2) swSel.GetSelectedObject5(1);

      I was able to get a body object like above... but apparently a body object doesn't have a function like GetSketch or GetSegments...

       

      Could anyone please give me some clue to make this happen?

       

      Thanks!

      JH