I am trying to set up a .bundle folder to load a series of plugins I've designed for AutoCAD. One of these plugins is a .dvb file so in the PackageContents.xml I have the following XML code
我正在尝试设置一个.bundle文件夹来加载我为AutoCAD设计的一系列插件。其中一个插件是.dvb文件,所以在PackageContents.xml中我有以下XML代码
<ComponentEntry AppName = "" Version = "2014.1" ModuleName = "./Contents/Windows/WindowsDoors.dvb" AppDescription = "" PerDocument ="True" LoadOnAutoCADStartup="True">
<Commands>
<Command Local="CSC" Global="CAD_STANDARD_CREATOR" />
<Command Local="CSB" Global="CAD_STANDARD_BLOCK" />
<Command Local="CSP" Global="CAD_STANDARD_PATH" />
</Commands>
</ComponentEntry>
When I start AutoCAD and try to run the corresponding plugin the command line tells me
当我启动AutoCAD并尝试运行相应的插件时,命令行告诉我
Command: -vbarun
Macro name: RunMeWindowDoor
Macro not found.
It appears that AutoCAD is not finding the Macro even though I'm telling the XML file to load it in and I can't figure out what the cause of the error is.
看来AutoCAD没有找到宏,即使我告诉XML文件加载它,我也无法弄清楚错误的原因是什么。
1 个解决方案
#1
1
As Far as I know the AutoLoader does not support dvb Files.
据我所知,AutoLoader不支持dvb文件。
See the Whitepaper Autoloader quote:
请参阅白皮书Autoloader报价:
The AutoCAD Autoloader currently processes and recognizes these settings:
AutoCAD Autoloader当前处理并识别这些设置:
“Bundle“,“ARX“,“Lisp“,“CompiledLisp“,“Dbx“,“.NET“,“Cui“,“CuiX“,“Mnu“ and “Dependency“ “Dependency” is used where you have a module that should NOT be processed by AutoCAD. An example would be say a licensing DLL, or maybe a resource DLL.
“Bundle”,“ARX”,“Lisp”,“CompiledLisp”,“Dbx”,“.NET”,“Cui”,“CuiX”,“Mnu”和“依赖”“依赖”用于有模块的地方不应由AutoCAD处理。一个例子是许可DLL,或者可能是资源DLL。
You could Write an LSP that loads the dvb, and place that LSP file in the Autoloader, that might do the trick.
您可以编写一个加载dvb的LSP,并将该LSP文件放在Autoloader中,这可能会起到作用。
(defun C:CSC ()
(vl-vbaload "WindowsDoors.dvb")
(vl-vbarun "WindowsDoors.dvb!CAD_STANDARD_CREATOR")
)
etc.
等等
Kind Regards,
亲切的问候,
Alain van Gaalen
Alain van Gaalen
#1
1
As Far as I know the AutoLoader does not support dvb Files.
据我所知,AutoLoader不支持dvb文件。
See the Whitepaper Autoloader quote:
请参阅白皮书Autoloader报价:
The AutoCAD Autoloader currently processes and recognizes these settings:
AutoCAD Autoloader当前处理并识别这些设置:
“Bundle“,“ARX“,“Lisp“,“CompiledLisp“,“Dbx“,“.NET“,“Cui“,“CuiX“,“Mnu“ and “Dependency“ “Dependency” is used where you have a module that should NOT be processed by AutoCAD. An example would be say a licensing DLL, or maybe a resource DLL.
“Bundle”,“ARX”,“Lisp”,“CompiledLisp”,“Dbx”,“.NET”,“Cui”,“CuiX”,“Mnu”和“依赖”“依赖”用于有模块的地方不应由AutoCAD处理。一个例子是许可DLL,或者可能是资源DLL。
You could Write an LSP that loads the dvb, and place that LSP file in the Autoloader, that might do the trick.
您可以编写一个加载dvb的LSP,并将该LSP文件放在Autoloader中,这可能会起到作用。
(defun C:CSC ()
(vl-vbaload "WindowsDoors.dvb")
(vl-vbarun "WindowsDoors.dvb!CAD_STANDARD_CREATOR")
)
etc.
等等
Kind Regards,
亲切的问候,
Alain van Gaalen
Alain van Gaalen