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: 

Equivalent of ACAD GetPoint method

1 REPLY 1
Reply
Message 1 of 2
noort123
357 Views, 1 Reply

Equivalent of ACAD GetPoint method

Hello

In ACAD VBA i can just point to a "mouse /input" driven coord in 2D by i.e.

varPoint = ThisDrawing.Utility.GetPoint(, "Give the insertion point of MyBlock in the drawing.")

How can i easily do something similar in a view of an iDW - by means of IV VBA?


Thanks
JJ_Delft
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: noort123

Unfortunately it's currently not as simple. Get get a mouse click you need
to use the InteractionEvents object and handle MouseEvents. It's not rocket
science, but compared to the single line GetPoint function, there's a lot
more work. The problem is that InteractionEvents and MouseEvents was
designed to do a lot more than just get a mouse click. It's just that you
pay a price that extra functionality in some additional complexity.
--
Brian Ekins
Inventor API Product Designer
http://blogs.autodesk.com/modthemachine

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

Post to forums  

Autodesk Design & Make Report