existing lisp help

existing lisp help

Draftsman13
Contributor Contributor
914 Views
2 Replies
Message 1 of 3

existing lisp help

Draftsman13
Contributor
Contributor

I am currently operating on ACAD 2010.  I have a dcl-based lisp routine for inputing the length of rafters, based on roof pitch.  When you run the routine, it pulls up a dialog box for user input.  The user selects what type of member (rafter, hip/valley, ridge) and pitch of roof (angle).  Then, the user selects the line and the routine will install the text (length of the rafter) in the middle an at the same rotation as the line.  This routine was written back in 1999, but currently works in my files.  We receive drawing files from a client who uses a light version.  The routine will work in those files, but will ask the user to input the text.  I have tried copying the necessary lines out of their drawings and into one I know will work, but I have the same issue.  I have a VERY basic understanding of lisp code.  I have tried using vlisp to animate the routine as it runs, but cannot see where the code breaks down.  If someone could offer some starting points for me to try?  I don't mind emailing the routine and a couple of drawings (one that works and one that does not).

0 Likes
915 Views
2 Replies
Replies (2)
Message 2 of 3

hmsilva
Mentor
Mentor

Hi Draftsman13,

 

without seeing the code, I would suggest you to inspect the text styles from both dwg's, and see if there are difference in 'Height', in one the height is set, and in the other the height is 0.0?

 

Henrique

EESignature

0 Likes
Message 3 of 3

Draftsman13
Contributor
Contributor

I gave up and hired someone more knowledgeable to fix it for me.  Sometimes it has to be done. 

0 Likes