Akash_SAK Posted February 10 Posted February 10 what if ? In our setup, we have access only to the .pgp (Program Parameters) file and do not have permission to load or execute AutoLISP (.lsp) files. As you may be aware, .pgp files are limited to defining command aliases only and cannot execute command logic, options or automation. For reference, below is the AutoLISP command we are currently using in standard AutoCAD: (Defun C:QD () (Command "LENGTHEN" "DELTA" pause) ) This LISP command: Launches the LENGTHEN command Automatically selects the DELTA option Pauses for user input However, when restricted to .pgp files, the closest possible format is only an alias, such as: D, *DIMLINEAR (example only) Unfortunately, .pgp files cannot replicate AutoLISP behavior, meaning they cannot pass command options (e.g., DELTA) and cannot include pauses or logic and can only map a shortcut to an existing command. As a result, the above LISP logic cannot be converted or replicated using .pgp alone. The only feasible workaround in a .pgp-only environment is to map a shortcut directly to the base command (e.g., LENGTHEN), after which options must be entered manually by the user. I wanted to highlight this limitation so expectations can be aligned accordingly. Please let me know if macro-based solutions (CUI macros) or additional permissions can be considered within the OEM environment. Thanks in advance for the understanding and support. Quote
BIGAL Posted Tuesday at 11:02 PM Posted Tuesday at 11:02 PM "OEM environment." If you are using a OEM version then a possible way to run other lisp programs is to go back to the developer who could add your lisps to their package then they should work. 1 Quote
Akash_SAK Posted Thursday at 07:06 AM Author Posted Thursday at 07:06 AM Thankyou Bigal for the information and may i know that where would be the autocad Lisp package file is available on PC ? Quote
BIGAL Posted Thursday at 11:12 PM Posted Thursday at 11:12 PM (edited) You need to understand what is a OEM version it is used by software providers as a means to get an Autocad but with their software as the essential item. Refering to OEM document "Deliver products with scaled feature sets at scaled price points and provide an AutoCAD-based platform that cannot be customized or extended by end users." So any outside program lisp or .NET etc can not be ran by you. But you can add programs using the OEM key that is held by the software developer. You would have to go back to them to add. What program did you buy ? Edited Thursday at 11:13 PM by BIGAL 1 Quote
Akash_SAK Posted 7 hours ago Author Posted 7 hours ago Thanks Bigal for the info , I have CADS-RC lite program i have seen that the product has the access of using lisps and parameter files but i couldn't have any idea to add those packages in this product. Quote
SLW210 Posted 3 hours ago Posted 3 hours ago I do not see anything specific stating the Lite version can do LISP. But, just in case, here is the manual for regular CADS RC. https://rebarcad.com/wp-content/uploads/2025/09/Lisp_Programming_Interface_Guide.pdf I also moved your thread to a new topic Use LISP with CADS RC Lite in AutoLISP, Visual LISP & DCL Forum Quote
Recommended Posts
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.