Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start Sketcher Workbench using macro

Status
Not open for further replies.

NaWin55

Mechanical
Mar 21, 2020
97
0
0
IN
is there any way to start sketcher workbench and let the user to sketch
and when the user exits the sketcher the macro should detect the sketch and create pad or pocket


 
Replies continue below

Recommended for you

@Little Cthulhu
Thanks for the replay
But i didnt get your answer
what i want is when i click on create button in userform caita should enter sketch bench and user will sketch something when they exit the sketcher the macro should detect the sketch drawn by user and perform some operation on it
 
ok now i can enter sketch workbench using macro
how do i detect the sketch created by the user after exiting the sketcher workbench
 
Use WinAPI function named "SetTimer" and set a callback that would check CATIA's current workbench and specification tree. You have to put some effort and I don't think it's worth the trouble.
 
Status
Not open for further replies.
Back
Top