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: 

Draw Lines with the End User

0 REPLIES 0
Reply
Message 1 of 1
colli123
172 Views, 0 Replies

Draw Lines with the End User

Hello Community!

I'm looking for possibility to draw lines by using the end-user.
In the end the programm should do the exact same thing as the sketchLine Button in Inventor.
One way would be, to simulate a mouse click on the sketchLine button:

oCommandMgr.ControlDefinitions.Item("SketchLineCmd")
oControlDef.Execute()

 But I'm looking for way to get the processes that the sketchLine button in Inventor performs into a code.
I assume that you have to guide the end-user and his inputs with events, but i don't now how.
I was looking for similiar examples in the API Help and in the internet, but i couldn't find any until now.
Does someone have an idea how to get that into code?

Best regards

Colli

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report