i have attached current status of this lisp please help me some one to make my requirement (i have attached what i want to make)
please help me
@ctpgamage wrote:
i have attached current status of this lisp please help me some one to make my requirement (i have attached what i want to make)
please help me
Hi ctpgamage,
try the attached code.
Hope that helps
Henrique
@stevesfr wrote:
what controls the size of the arrowhead in the xyz.lsp program ?
In XYZ.lsp, the arrowhead size is defined in current dimension style (DIMASZ System Variable), and the code will add a leader with all default values, if you need to change some value, you'll need to set the property you want with the desired value.
To set a new arrowhead size try
(vla-put-verticaltextposition lead acvertcentered)
(vla-put-ArrowheadSize lead 3.0);; <<<<<
(vla-update lead)
Hope that helps
Henrique
Your XYZ.lsp is wrong, it is showing the x value as north and the y value as east, they should be reversed.
It is a very handy tool, although I do not know how to correct it.
@joedints wrote:
Your XYZ.lsp is wrong, it is showing the x value as north and the y value as east, they should be reversed.
....
I was going to ask whether you were in the World Coordinate System, but I downloaded it and tried it, and you're correct. Change these lines:
....
tstr (strcat (strcat "N=" (rtos (car pt1) 2 4))
(strcat "\\PE=" (rtos (cadr pt1) 2 4))
....
to reverse the X (car) and Y (cadr) coordinates:
....
tstr (strcat (strcat "N=" (rtos (cadr pt1) 2 4))
(strcat "\\PE=" (rtos (car pt1) 2 4))
....