INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Changing Profiles an ACAD 2016

Changing Profiles an ACAD 2016

(OP)
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.

RE: Changing Profiles an ACAD 2016

Something like:

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

In the Acad.lsp file

RE: Changing Profiles an ACAD 2016

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close