Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inventor vba and sketch mode

1 REPLY 1
Reply
Message 1 of 2
Anonymous
302 Views, 1 Reply

Inventor vba and sketch mode

Does anybody have any vba code that allows me to check if Inventor is in sketch mode. Simply....I have written a vba macro that I DO NOT! want to be run when in sketch mode.
Is there any way of doing this?
Many thanks in advance!!!
1 REPLY 1
Message 2 of 2
joesu
in reply to: Anonymous


If TypeOf oApp.ActiveEditObject Is PlanarSketch Then

Joe
--

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report