mdemco Posted January 9, 2009 Posted January 9, 2009 I took a LISP class and a VB class years ago. I just started at a company and there are VB codes linked to tool commands to do simple tasks such as printing out sets of plans. But they dont work. Is there a person or a place where I can send code to have it looked at and see what is going on? Supposedly someone from Autodesk came in a few years ago and set this up. In the code I am trying to plot PDF's of plans and it does the first sheet and then no subsequent sheets. When I debug it takes me to this section of code: Public Sub pauseTimer(PauseTime As Single) '*** Timer for pausing during PDF printing for file copy from c:\pdftemp directory Dim Start As Single Start = Timer ' Set start time. Do While Timer DoEvents ' Yield to other processes Loop End Sub The do While Timer prompt is where the issue lies. From what I can tell this section pauses the program in order to allow plotting of the PDF, but the timer is having an issue so it only does the first sheet and then times out or crashes the AutoCAD program. I am simply not experienced enough to look at this so any help would be appreciated. I can post up the entire code if needed but it is LOOOONG. Quote
borgunit Posted January 13, 2009 Posted January 13, 2009 Maybe just copy the code in a text file and zip it. Quote
Recommended Posts
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.