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: 

PartNewSketchCmd vs AppSketch2DWrapperCmd

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

PartNewSketchCmd vs AppSketch2DWrapperCmd

I am still new at VBA/API programing so please bare with me. I programmed a Macro to create a coil. To get out of the sketch mode I used the "Finish2dSketchCmd" command after using the "CoilFeature". Now that the coil is made I want to get back into the sketch mode to continue modifying my coil. What command should I use to get back into the sketch mode? I found these two commands "PartNewSketchCmd" and "AppSketch2DWrapperCmd". Which one should I use?

Thank you for your time
WailGM
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

You don't need to use those commands to enter and exit sketch mode. There
are formal APIs to do this - Sketch.Edit and Sketch.ExitEdit methods.

Sanjay-

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

Post to forums  

Autodesk Design & Make Report