Anuncios

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

leeminardi
en respuesta a: Anonymous

You are welcome.

Somehow the line in the code above :

 

  (setq dv (/ (* dv 180) 3.xxx-xxxxxxxx))

was not what I copied into my post.  That line should read:

 (setq dv (/ (* dv 180) 3.xxx-xxxxxxxx))

It converts the angle value from radians to degrees.  The code in the attached program GetDims.lsp is correct.

 

lee.minardi