How to Needed: Compiling a LISP Main Program and Separate Support Files

Is it possible to compile both a main LISP program and LISP-specific file extensions that serve to provide key settings?

If not, what changes are required to compile the freely-available LISP program?

Specifics

In this case, it is an oldie but goodie, LayerCreator.lsp, that depends on a .lyr extension as a text-based support file or files (if various layer schemes are required) to hold key layer property variable and user-based settings.

Concern

I do not want our users to change the support file (.lyr) variables that represent company standard layers.

Attached

Main program & setup files (LayerCreator.zip)

Program readme & two .lyr files (Ascent Layers.zip)

Thanks,

Clint

Comments

  • If your running all your code off a server then you can lock the file edit to only certain users, whilst all others have read access. All our company stuff was on a server so only one version of a program existed.

    In Acad you can make a VLX file which maybe can have your LYR files. Look up the help about making a BRX file similar to a VLX.

  • OK. We run off the cloud: No server.

    I will explore BRX.

  • BRX uses a different programming language. For LISP in BricsCAD you can compile files to .DES format. It includes the option of including related resource files.

    see https://developer.bricsys.com/bricscad/help/en_US/CurVer/DevRef/source/DEScoderLISPencryption.htm

    You can access the option to do this from BLADE

    Jason Bourhill

    CAD Concepts Ltd

    cadconcepts.co.nz

  • Jason,

    I have since tried this DEScoder LISP encryption and it met my needs. Plus, it was easy to understand and operate. Thanks Jason!

    This user-friendly theme runs through all things BricsCAD, including the CUSTOMIZE environment. I feel it is a great way to corelate all aspects of customization in one dialog box. I quickly understood and am now applying customization loaded as a partial CUI how to introduce custom commands like never before.

    Being less than adventurous/confident by nature, I never dared to try this type of activity for the years operating the other major CAD package. I felt I didn't focus as much as on CUIX mods as their approach made it all seem too fuzzy and not put together nearly as well.

    Regards,

    Clint