AnsweredAssumed Answered

how to determine the start position of an Edge for Refernce Point

Question asked by Gunnar Kistner on Jun 8, 2018
Latest reply on Jun 12, 2018 by Artem Taturevych

Hi,

I'd like to place a Reference Point on a previous selected Edge via InsertReferencePoint(swRefPointAlongCurve, swRefPointAlongCurvePercentage, 10, 1).

The Edge is selected via AddSelectionListObject().

Now I want to set my Reference Point i.E at 10% length of the Edge starting from the Point I get from CurveParamData.StartPoint.

Unfortunately InsertReferencePoint(swRefPointAlongCurve, swRefPointAlongCurvePercentage, 10, 1) sometimes sets the point at 10% from CurveParamData.EndPoint and sometimes from the startpoint. Is there any other possibility to get the correct end at which the Edge is selected for this function?

 

Edit: Example Macro and Part added

Attachments

Outcomes