How to use lisp in PTCAD
LISP or Autolisp language program is great for automating tasks in PTCAD.
User can think how to reduce time of repeat action in drafting process ?
How to automate routine commands ?
In PTCAD , user can load LISP program to run as this steps
How to Use LISP in PTCAD
Open PTCAD
Go to
Tools
→Load Application
Select your
.lsp
fileType your custom command in the command line
Done!
STEPS in details
1. open NOTEPAD then put this code and save as hello.lsp
This sample use Hello PTCAD prgram
(defun c:HPT () ; command name to run program
(princ "Hello, PTCAD\n")
(princ "Hello, PTCAD\n")
(princ "Hello, PTCAD\n")
)
2.Start PTCAD and use command to load application
select file hello.lsp
No comments:
Post a Comment