Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

dbroad
en respuesta a: Anonymous

Seems like your test is acting correctly. The yellow line is non-parallel. See command log. The bottom right line is off but not enough to trigger your parallel test.

 

Command: (rtos (vla-get-angle(vlax-ename->vla-object(car(entsel)))) 2 14)
Select object: "0.00000000000000" ;reference line
Command: (rtos (vla-get-angle(vlax-ename->vla-object(car(entsel)))) 2 14)
Select object: "3.14159265358979" ;top left red test line
Command: (rtos (vla-get-angle(vlax-ename->vla-object(car(entsel)))) 2 14)
Select object: "3.14159265358975" ;top right yellow test line
Command: (rtos (vla-get-angle(vlax-ename->vla-object(car(entsel)))) 2 14)
Select object: "3.14159265358979" ;bottom left red test line
Command: (rtos (vla-get-angle(vlax-ename->vla-object(car(entsel)))) 2 14)
Select object: "3.14159265358984" ;bottom right red test line

 

Architect, Registered NC, VA, SC, & GA.