Home AutoCad VB Select Point and Return Coördinates
23 | 02 | 2012
Main Menu
Search
Paypal Donation
So we can continue and expand this site
Content View Hits : 469532
Select Point and Return Coördinates PDF Print E-mail
User Rating: / 0
PoorBest 
Tutorials

This code return a coordinate that has been selected on screen.

"Select

View source
Dim returnObj As AcadObject
 
	Dim basePnt As Variant
 
	ThisDrawing.Utility.GetEntity returnObj, basePnt, "Select an object"
 
	MsgBox basePnt(0) & vbNewLine & _
 
	basePnt(1) & vbNewLine & _
 
	basePnt(2)

 

Add comment


Security code
Refresh

Advertising

LOGON
Sponsored Links