Jump to content

Recommended Posts

Posted

Hi, I have been searching online and I cannot find a way of compiling a lisp file into a FAS file. does anyone know when they can recommend it? I only use Autocad LT so don't have access to full AutoCAD.

 

Many thanks

Posted

I think 2024 is the only version of LT that can use lisp.

Posted

Yes, I use the latest version of LT and it has lisp but not vslide editor and I can’t find a way to compile.

Posted (edited)

If Fas works then you may have to ask nicely some one to make your FAS files you can process via a lisp multiple Lsp files in a few seconds.

 

(vla-sendcommand (vla-get-activedocument (vlax-get-acad-object)) "Vlide ")
(setq loads (list "Lisp11" "lisp22" "lisp33"))
(setq loc1 "D:\\Alan\\Lisp\\")
(setq loc2 "D:\\Alan\\compiled")
(foreach lisp loads
(vlisp-compile 'st (strcat loc1 lisp ".lsp") (strcat loc2 lisp ".fas"))
)

 

 

Edited by BIGAL
Posted

Thanks, and yes that would work. I just thought that there would be a standalone version I could utilise and be in control but having searched all day doesn’t seem to be one. I am currently using visual studio to write/edit code. 

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