ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
RRRon Ron18/04/2024

Hi, i want to press the green tick via api, after using the function  "FeatEditDef".

my work arround is using  " SendKeys ("{ENTER}") ".    

What is the right way to do it?

Option Explicit Dim swApp As SldWorks.SldWorks Dim myFeature As SldWorks.Feature Dim Part As SldWorks.ModelDoc2 Dim myRefPlane As SldWorks.RefPlane Dim boolstatus As Boolean Sub main() Set swApp = Application.SldWorks Set Part = swApp.ActiveDoc