[转]How to load an AutoLISP program
2016-10-26 09:53
232 查看
Type
appload at the command prompt (In AutoCAD 2012, you can go to Manage tab>Applications panel>Load Application.). This will display the Load/Unload Applications dialog box.
Other info:
This is a guest post by Sanjay Kulkarni, an AutoCAD programmer.
This post describes the method to load an AutoLISP program in an open drawing.
An AutoLISP program runs inside (in the same workspace of) an open drawing. Therefore it is necessary to load the program in each individual drawing you want to use the program in. You can load a program into a drawing at any time.
Once you load the program in a drawing, it remains loaded into that specific drawing until the drawing is closed. This means that you can use the functions in the program multiple times once you load the program.
The flip side is that you can’t unload an AutoLISP program once you load it except by closing the drawing.
appload at the command prompt (In AutoCAD 2012, you can go to Manage tab>Applications panel>Load Application.). This will display the Load/Unload Applications dialog box.
Other info:
This is a guest post by Sanjay Kulkarni, an AutoCAD programmer.
This post describes the method to load an AutoLISP program in an open drawing.
Some basic & fundamental information before we move to the procedure
An AutoLISP program runs inside (in the same workspace of) an open drawing. Therefore it is necessary to load the program in each individual drawing you want to use the program in. You can load a program into a drawing at any time.Once you load the program in a drawing, it remains loaded into that specific drawing until the drawing is closed. This means that you can use the functions in the program multiple times once you load the program.
The flip side is that you can’t unload an AutoLISP program once you load it except by closing the drawing.
相关文章推荐
- How to Run a Program as an Administrator in Windows 7
- ASP.NET: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. on Win7 64bit
- How to create an installer for your Python program
- <<DEITEL - Python How to Program 2002>>Special attributes of an object of a class.0.0.0.3
- An attempt was made to load a program with an incorrect format” even when the platforms are the same
- How to Run a Program as an Administrator in Windows 7
- A good blog about how to write an Hadoop MapReduce program in Python
- how to use a SQLite database in a standalone program with an HTML interface and VBScript as the programming language
- (C#) System.BadImageFormatException: An attempt was made to load a program with an incorrect format.
- How to compile a TCL script into an EXE program
- BadImageFormatException or An attempt was made to load a program with an incorrect format
- 解决An attempt was made to load a program with an incorrect format.问题
- How_to_build_an_ARM/DSP_Hello_World_program_on_the_DaVinci_EVM 续
- How to load an url image
- ASP.NET 解决An attempt was made to load a program with an incorrect format.问题
- Could not load file or assembly ... An attempt was made to load a program with an incorrect format.
- An attempt was made to load a program with an incorrect format
- How to load a dll resource dialog box at an application Dialog box (怎么在一个应用程序对话框动态加载DLL里的资源对话框)
- Could not load file or assembly An attempt was made to load a program with an incorrect format.
- How_to_build_an_ARM/DSP_Hello_World_program_on_the_DaVinci_EVM