![]() To ensure compatibility, append the code in case there is an existing S::STARTUP function. If the S::STARTUP function is defined like this, problems could arise if other applications use the S::STARTUP function as well (for example, a third-party plug-in). With the same example, the acad.lsp file would look like this: ![]() If the AutoLISP routines are not in the AutoCAD support paths, include the full path within the acad.lsp file. Use either "/" or "\\" as path delimiters. If wall.lsp and stair.lsp are in the AutoCAD search path, they will automatically load. Create an acad.lsp file that contains the following lines of code and place it in the AutoCAD support paths. If a special function S::STARTUP is defined in theįor example, there are two AutoLISP routines named stair.lsp and wall.lsp to be loaded each time AutoCAD is run. ![]()
0 Comments
Leave a Reply. |