See the top rated post in this thread. Click here

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: LISP modification request - inverse

  1. #11
    Administrator Opie's Avatar
    Join Date
    jUSt Here (a lot)
    Login to Give a bone

    Default Re: LISP modification request - inverse

    Quote Originally Posted by SWarnock84 View Post
    It's not that it's reporting "incorrectly". It works, but only reports distances to 2 decimal places no matter what variables are changed. We were hoping to alter the code to report to 4 decimal places for when we do precision work.

    I didn't write the original code, and my knowledge is fairly limited - so I'm hoping someone more experienced can pick out why that may be happening.

    Thus far we have changed the precision values to 4, checked UNITS, LUPREC, and other drawing settings to no effect.
    You have seven instances of the RTOS function in this routine. Five of those instances have a decimal precision of less than your desired number of spaces of four. Changing those five instances on my end provided the results you requested in the original post of this thread.

    I would recommend setting the precision as a variable in this routine and then using that variable name in place of these five instances. This will ease precision changes in the future for those instances.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.

  2. #12
    Join Date
    Login to Give a bone

    Default Re: LISP modification request - inverse

    Ouch - operator error. I guess I missed one somehow? You are correct Opie, and I apologize to all.

    Guess this reinforces why I'm not a coder!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Need a help in modification of lisp. Please update the lisp code as required.
    By brahmanandam.thadikonda762224 in forum AutoLISP
    Replies: 0
    Last Post: 2018-09-20, 04:12 AM
  2. Modification to a lisp (needs to change the lisp code)
    By nanaji130285733687 in forum AutoLISP
    Replies: 3
    Last Post: 2016-11-21, 04:45 AM
  3. Replies: 12
    Last Post: 2006-01-10, 09:38 PM
  4. Please HELP: Need "Inverse of a Matrix" routine
    By bradipos in forum AutoLISP
    Replies: 0
    Last Post: 2005-07-08, 02:40 PM
  5. Inverse mouse for walkthrough
    By overcaffeined1745 in forum Revit Architecture - Wish List
    Replies: 0
    Last Post: 2003-06-10, 11:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts