AnsweredAssumed Answered

Add right button click option to menu

Question asked by Eric Snyder on Aug 2, 2018
Latest reply on Aug 3, 2018 by Eric Snyder

Is there a way to add a right button custom option to the mouse menu with vb.net and the Solidworks API? I want to add a custom set of options written in VB.NET that do certain things. For instance, I want to be able to check the feature tree for sketches with a name containing a certain string and check that sketch to make sure there are no sketch entities that are splines. I know how to do the code to do the checking but I only know how to do it with a windows form application.

 

Example:

My current right button click when I have a model open:

 

I want to add an option called "Sharpline" that has sub options that appears above "Edit Scene".

 

Sharpline

- Check for this

- Do that

- A third option

 

How?

 

Alternately, add a custom menu that does the same thing.

Outcomes