zero length line

zero length line

Ranjit_Singh
Advisor Advisor
1,560 Views
2 Replies
Message 1 of 3

zero length line

Ranjit_Singh
Advisor
Advisor

Trying to do something very basic through command prompt.

Command: (setq a (getpoint))
(6.30224e+006 2.19639e+006 0.0)

Command: (setq b (polar a (/ pi 8) 0.001))
(6.30224e+006 2.19639e+006 0.0)

Command: (mapcar 'rtos a)
("6302237.91541349" "2196394.40151239" "0.00000000")

Command: (mapcar 'rtos b)
("6302237.91633737" "2196394.40189507" "0.00000000")

Command: LINE

Specify first point: !a
(6.30224e+006 2.19639e+006 0.0)

Specify next point or [Undo]: !b
(6.30224e+006 2.19639e+006 0.0)
Zero length line created at (6302237.91541349, 2196394.40151239, 0.00000000)

Why is it not giving me a really small line of length 0.001.... something. I used rtos to verify that the 2 points a and b do have different co-ordinates, and they do. Then why zero line length? Thanks for all your help.

 

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

hmsilva
Mentor
Mentor
Accepted solution

Use "_NON" before enter !b...

 

Hope this helps,
Henrique

EESignature

Message 3 of 3

3wood
Advisor
Advisor

Did you turned off object snap?

0 Likes