×
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!
  • Students Click Here

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

Students Click Here

Jobs

(Update) DWGEditor & Load Lisp on startup

(Update) DWGEditor & Load Lisp on startup

(Update) DWGEditor & Load Lisp on startup

(OP)
In response to closed thread559-107337: DWGEditor & Load Lisp on startup by brrian, a possible solution.

I was trying to solve this same issue and the vague helpfile wasn't much help. After reading the above closed thread I tried the following and it's working.

Create a text file call dwgeditor.lsp and put it in your ...../solidworks/dwgeditor directory.

This file can contain all of the lisp routines you want in one place.

Or you can have it load individual other .lsp files with statements like this:

(LOAD "file") with "file" being the name of the file you want to load ie file.lsp

RE: (Update) DWGEditor & Load Lisp on startup

I was trying to load the all fonts and line types in DWG editor and couldn't work.(How DWG editor can load all lines and fonts while it is starting?)

cwdaniel,

Can you please post a sample text file to explain the lisp routines?

Thanks

RE: (Update) DWGEditor & Load Lisp on startup

(OP)
I'm not sure what's involved with loading fonts and line types, but here's a sample of some of the lisp routines I'm loading:

(defun c:o  () (command "offset"))
(defun c:pe () (command "pedit"))
(defun c:pl () (command "pline"))
(defun c:po () (command "polygon"))
(defun c:r  () (command "redraw"))
(defun c:re () (command "regen"))
(defun c:rec () (command "rectang"))

I'm a really old school autocad user and I prefer to use keyboard shortcuts for a lot of commands, rather than the hieroglyphic icons that are mostly a mystery to me. The above lisp turns basic commands into 1, 2 or 3 letter keystrokes. For me it's much faster hunting and pecking with the mouse.
 

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