|
4m
楼主 |
发表于 2010-9-21 20:21:45
|
只看该作者
如果是第一次安装插件 只要在revit。ini(记事本编辑)文件后面加上
[ExternalApplications]
EACount=1
EAClassName1=EA1.Class1
EAAssembly1=D:\EA1\bin\Debug\EA1.dll
这是上面几行的解释
• EACount - Set the EACount property to the total number of external applications available.
• EAClassName# - The EAClassName property is used to provide the application object name
that supports the IExternalApplication interface described earlier in this chapter.
• For .NET objects it is the full class name (with the namespace), such as
MyNamespace.MyClass.
• The # identifies the application number such as EAClassName1.
• EAAssembly - The EAAssembly property is used for .NET based objects only.
• This property identifies the Assembly path containing the .NET application object.
• The path can be relative to the Revit installation directory or fully qualified.
• The # identifies the application number such as EAAssembly1. The application number must
match the application number used for the EAClassName property.
• In the previous example, the Assembly has the fully qualified path
D:\EA1\bin\Debug\EA1.dll. |
|