AnsweredAssumed Answered

Initiate point command in a sketch vba

Question asked by Hector Molina on May 15, 2018
Latest reply on May 21, 2018 by Hector Molina

Hello Everyone,

 

Thank you for reading my question, your interest, and help is greatly appreciated. I am new to VBA, new to programming actually, and I am trying to figure things out.

I need to have the user put a sketch point on a face, but have not been successful.

The goal is to create a custom made hole on a part, I have searched the help/web and found good examples of code (Big thanks to all the people who have made their code available to assist others), and have been able to start the macro, pause, and wait for the user to click a face on a part, insert a sketch, and that's as far as I get. At this point I want to start the point command for the user, I figure, why have them click the point icon when I can get that done for them. I can't find a way to do that. All examples I find work by preselecting the face, or plane to sketch on. Even when I record a macro, I have to preselect the face before running it, to get the point in place. Could you please point me in the right direction?

 

Thank you for your help,

 

Hector

Outcomes