Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Profiles an ACAD 2016

Status
Not open for further replies.

transmissiontowers

Structural
Jul 7, 2005
561
I have a new add-on for ACAD that interfaces with GTSTRUDL that adds its own profile. You access ACAD from within GTSTRUDL.

When I go back to use plain ACAD 2016, the CAD profile is still active and my LISP routines are not loaded or when I type the LSP name, the dialog does not open. I can switch Profiles back to my old Profile but even when I close and restart ACAD, my LISP routines are not loaded. I added /p "myoldprofile" to the shortcut on the desktop and the profile seems to be back to normal but the LISP routines are not loaded. I have to go back to Manage and load them one at a time. I see a Script icon next to the manage, but what commands can I add to the SCR file to get my lisp files back? I think it is appload followed by the LSP name, but when I try that, the same dialog box opens and I have to load them up one at a time.

So how can I get the LSP files to load right, or what is the syntax for loading them?

TIA

_____________________________________
I have been called "A storehouse of worthless information" many times.
 
Replies continue below

Recommended for you

Something like:

(DEFUN S::Startup ()
(load"MyMacro.lsp")
)

In the Acad.lsp file
 
I read a little about exporting the profiles as .arg files and they look like regedit commands so I'm guessing that when you switch profiles, the new profile is written to the registry and ACAD picks up settings there. I did look at the acad.lsp and for acad 2016 it looks like it is acad2016.lsp and the note inside say to add the (defun...) to acad2016doc.lsp so I may try that.

There is a big block of commented text at the end that says ---BEGIN SIGNATURE-- followed by several lines of characters so I wonder if I can just open the .LSP file with a text editor and add my (defun..) in it somewhere and not worry about the signature.

_____________________________________
I have been called "A storehouse of worthless information" many times.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor