Jump to content

Recommended Posts

Posted

I am using AutoCAD 2023.  I have a LISP named PUTPT that was created in 1994.  It is no longer working efficiently, but I'm struggling with how to repair or recreate it.

It is being using to manually input elevation points to a 2D drawing (engineer survey of a foundation).  Once these points are added to the drawing, they are converted to variance amounts using another LISP which is working fine.

The PUTPT LISP works fine until I get to the part of the LIPS that adds the elevation value.  I add the value and then is brings up the DATA dialogue box and the value has to be entered again, basically negating the efficiency of using the LISP.  Below is the description of the LISP.

 

This routine places the block "data" in the drawing
; and prompts you for the elevation.  You are allowed 
; to enter an initial fudge factor which will be applied
; to the elevation.  A <cr> at the insertion prompt 
; kills the program.
;

 

I've tried bypassing the LISP and just using the DATA block but it adds too many steps to the process and the font of the elevation is too large.   I've attached the file for the LISP.  If anyone has any ideas of how to fix this so I can enter the elevation value and bypass the DATA dialogue box or any ideas on how to streamline the process of adding the elevation point to my drawings, I would be very grateful.

PUTPT.LSP

Posted (edited)

Looks like your inserting a block "data" with an attribute. It might have more then one now? can you attach the block?

 

--edit

might just need to set attdia to 0  ?

(setvar 'attdia 0)

 

 

Edited by mhupp
  • 2 months later...
Posted

Thank you so much!!! mhupp, that appears to have fixed my problem.  You are the best!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...