Jump to content

Recommended Posts

Posted

Hi all. I am currently overseeing the process of the upgrade from AutoCAD 2007 to 2011 in our office and I am going through the process of turning our old customised drop down menus into the new ribbon style menus, and doign some housekeeping with our lisp files that are no longer required etc. All is going well so far, however I am having problems with one last lisp file that I am trying to create. We have various old ones that would load up Word Documents showing our internal CAD Standards, QMS forms, etc - however these commands are lost somewhere in the middle of one very large lisp file, the majority of which is no longer needed. I have tried taking out all of the unnecessary code form this but am having no luck getting it to load.

 

Although I know the very very basics of a lisp file, I am very new to this so will need someone to give me a hand with this.

 

Can anybody give me EXACTLY what I need to put into the lisp file to get it to open the documents I need, and can you make it obvious to me where I will need to edit it (adding in the custom command word, filepaths, etc). I have found on other websites little bits of code to add in at verious stages but I need the whole thign from start to finish.

 

Any help on this will be much appreciated!

Posted
Hi all. I am currently overseeing the process of the upgrade from AutoCAD 2007 to 2011 in our office and I am going through the process of turning our old customised drop down menus into the new ribbon style menus, and doign some housekeeping with our lisp files that are no longer required etc. All is going well so far, however I am having problems with one last lisp file that I am trying to create. We have various old ones that would load up Word Documents showing our internal CAD Standards, QMS forms, etc - however these commands are lost somewhere in the middle of one very large lisp file, the majority of which is no longer needed. I have tried taking out all of the unnecessary code form this but am having no luck getting it to load.

 

Although I know the very very basics of a lisp file, I am very new to this so will need someone to give me a hand with this.

 

Can anybody give me EXACTLY what I need to put into the lisp file to get it to open the documents I need, and can you make it obvious to me where I will need to edit it (adding in the custom command word, filepaths, etc). I have found on other websites little bits of code to add in at verious stages but I need the whole thign from start to finish.

 

Any help on this will be much appreciated!

 

It would be difficult to give you EXACTLY what you need since we cannot see the this code. I am not sure if you are the Author of the code in question. I would not suggest you post it unless you are the Author or have the Authors permission otherwise you can continue to do a search for snippets. It sounds to me as if this code has many Authors since it contains codes bits from many websites.

Posted

I think the AutoCAD help file is extensible -meaning you can add your own help pages. In the past we had our office standards on the screen just by pressing the F1 key.

Posted
In the past we had our office standards on the screen just by pressing the F1 key.

That's quite an interesting idea.

Posted

The code we already have was written by somebody in our office quite a while ago, although I'm not sure if he wrote it from scratch or nabbed it from somewhere.

 

Forgetting the file that I already have, is there a standard way of starting from scratch? I'd rather just start again with a brand new file than spend ages goofing around with an old knackered one!

Posted (edited)
The code we already have was written by somebody in our office quite a while ago, although I'm not sure if he wrote it from scratch or nabbed it from somewhere.

 

Forgetting the file that I already have, is there a standard way of starting from scratch? I'd rather just start again with a brand new file than spend ages goofing around with an old knackered one!

 

 

You can convert the documents to PDF or leave them as a Word document and use a button on a DCL with simple programming in lisp to open the file at will.

Something similar on this thread: http://www.cadtutor.net/forum/showthread.php?54419-StartApp-Question

 

 

Below is a sample code with a DCL file and a PDF file you can try out. Just edit it to your parameters. The program is call DB.lsp The DCL is called DB.dcl and the PDF is call DB_HELP.pdf.

 

Make sure you have these files together and they are in the ACAD Search Support Path.

 

Type DB to start program.

DB_HELP.pdf

DB.lsp

DB.dcl

Edited by The Buzzard

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...