Sketch Trim, Extend & Split finction

Sketch Trim, Extend & Split finction

m.den.ouden
Advocate Advocate
405 Views
1 Reply
Message 1 of 2

Sketch Trim, Extend & Split finction

m.den.ouden
Advocate
Advocate

Hello,

 

Can someone tell me where I can find the trim, extend and split function for sketches. 

406 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

Hi @m.den.ouden.  I don't think there are currently methods defined within the Inventor API that are exposed to us for those three tasks yet.  There are commands for them that can be executed, which will start the manual edit mode for those tasks, as long as you are already in the edit mode of a sketch when it is executed.

Those command names are:

"SketchTrimCmd" for the Trim tool

"SketchExtendCmd" for the Extend tool

"SketchSplitCmd" for the Split tool

One way to execute them is like this:

ThisApplication.CommandManager.ControlDefinitions.Item("SketchTrimCmd").Execute

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.

If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡 or you can Explore My CONTRIBUTIONS

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes