[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Modified Offset Command
Tip# 2051 By Jason Longmire On 01-Aug-2005
Rated By 1 users Downloaded : 472
Categories : Dimension, Misc. User Tools, Programmer's Tools
Software type : AutoCAD
Rename File To : Tip2051: oi.lsp
Accepts input in feet and inches, then converts to millimeters for use in the Offset command

Converting to Millimeters
Modified Offset Command (Tip #2051) from Jason Longmire is a simple function that accepts input in feet and inches, and then converts to millimeters for use in the Offset command. This is a classic example of a function that was coded to quickly solve a problem at hand. Just load the LSP file and type OI to get it started. The conversion of inches to millimeters is performed with a simple multiplier to the distance value input. Harry thanks Jason for sharing his tip and beckons readers to take a look at the Visual LISP (CVUNIT) function for similar conversion requirements.



Average Rating:

User comments