11 Replies Latest reply on Jun 12, 2018 5:17 AM by Artem Taturevych

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

    Gunnar Kistner

      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