getting points on drawing with VBA

getting points on drawing with VBA

Anonymous
Not applicable
655 Views
3 Replies
Message 1 of 4

getting points on drawing with VBA

Anonymous
Not applicable

Hi everyone,

 

I'm a new member on Autodesk and honestly, I'm not really experienced with VBA.

Here's the situation: From a drawing in AutoCad 2009, I want to use VBA as an interface user and I want to be able to get all coordinates from specific points that have been already drawn. So let's say you open Autocad, then open and launch VBA and in one click for exemple, it will automatically get all points that I need in X, Y and Z positions. Then, I'll be able to do something else with these points afterward. Don't think I haven't tried anything yet, I've been looking a long time and I can do some stuff like drawing a line in 3D, but that's not really what I'm looking for.

 

thx for your help!

0 Likes
656 Views
3 Replies
Replies (3)
Message 2 of 4

Hallex
Advisor
Advisor

Try this quick example

See explanations about selection in the Help file

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
0 Likes
Message 3 of 4

Anonymous
Not applicable

Thx a lot hallex, this is really helpful, that's something I can start to work on.

0 Likes
Message 4 of 4

Hallex
Advisor
Advisor

Happy codingSmiley Happy

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
0 Likes