AnsweredAssumed Answered

Macro to divide selected segment with equalsegment

Question asked by Al Beau on Jan 25, 2018
Latest reply on Dec 21, 2018 by Jure Košir

I'm not quite sure how to use the API for a process. I have a sketch open and I want the user to have a spline sketch entity selected and the api will use the equalsegment applied with user input on the number of sketch segments along the path. I'm not sure how to get the current sketch entity selected for this problem. The API has a vast amount of information and I was hoping someone could guide me in the right direction.



Equalsegment tool for the spline

2017 SOLIDWORKS API Help - EqualSegment Method (ISketchSegment)


Useritemselect? Just want to use the line