
#Will bricscad load lisp in support folder code
lsp file from the acad.lsp, and the function will be defined & evaluated. Welcome to BricsCAD The next step in the settings dialog would be to add your support folders to the Files search path, which is found within Settings / Program Options / Files: As a rule, I never hard code any paths unless absolutely necessary. lsp file, and then, on a new line following the code (in the same file), place the function call, i.e. I would suggest copying the code for my Add Support Paths Function into its own. Lastly, the Registry-based DemandLoad mechanism has been extended to support Lisp and VBA files. You can also use the BricsCAD Appload dialog (shown below) to store a list of lisp/BRX/VBA/NET files that can be loaded at startup. CAD-based LISP programming languages, included with AutoCAD and BricsCAD. This is a safe way to call things such as the (command) function. The primary differences when porting your apps will be a few minor setup steps, command line structure, and possibly file locations. Your code loads and runs, and the functionality is identical. The key point is that the function will need to be defined before the function call is evaluated - that is, the defun expression will need to be evaluated before the call to the function is evaluated. DOSLib is a library of LISP-callable functions that provide functionality not. You can chose between a new or the old IDE for editing lisp-files, the same dialog shown by AllenJessup for Civil 3D 2021 shows up in AutoCAD 2022, and setting this option to the old interface, restarting AutoCAD one time, brings you to this: If this does not work for you then you might be on AutoCAD LT as pendean guessed, or something else. When you’re ready to start migrating, you’ll find that there are virtually no differences in BricsCAD LISP versus OtherLISP. Voila, the associated LISP file gets loaded as if it was being demand loaded from the registry. However, I don't see those folders when I re-open CAD. MyApp.18.arx will look for and load MyApp.vlx in the same directory), then create demand load registry settings to load the renamed LspLoad module.

The acad.lsp file contains your "Function Call", and I am defining the folders I wish to add within the call. I copied the entire "Function Description" code into it's own. WLToolbar is a part of WLTool.cui and it is loaded automaticaly from LISP file onstart.lsp saved in. I am trying to run your LM:sfsp+ function via acad.lsp. I haven't programmed in 14 years, and even at that, it was an introduction to C++ - needless to say I'm a bit out of it. I am trying to utilize your Add & Remove Support File Search Paths - but I am having some difficulty.
