AnsweredAssumed Answered

How to get path segments from Body2 Object

Question asked by Juhun Lee on Sep 7, 2017
Latest reply on Sep 7, 2017 by 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

 

Outcomes