ADD LINE WITH ONE POINT AND PICK THE OTHER POINT IN THE SCREEN

ADD LINE WITH ONE POINT AND PICK THE OTHER POINT IN THE SCREEN

a0503809662
Contributor Contributor
756 Views
2 Replies
Message 1 of 3

ADD LINE WITH ONE POINT AND PICK THE OTHER POINT IN THE SCREEN

a0503809662
Contributor
Contributor

Iam a beginner with VBA ,and I would like to draw a line withe one point and pick the other on the screen

but i want to see a hidden line when move the mouse .

 

Thanks in advance.

0 Likes
Accepted solutions (1)
757 Views
2 Replies
Replies (2)
Message 2 of 3

Ed__Jobe
Mentor
Mentor
Accepted solution

For the second point, use the GetPoint method. From the help on that page:

"If the Point parameter is provided, AutoCAD draws a rubber-band line from Point to the current crosshair position."

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 3

a0503809662
Contributor
Contributor

THANK YOU

0 Likes