weiyu666 / RevitExportGltf

主要是Revit的二次开发的插件,其中主要是基于Revit2018进行的,实现从Revit中把建筑模型导出来,使用的是GLTF格式的编码。(这个是好用的至少是至今发现上最好用最实用,也是参考然后大改过的 比如解决了Node、纹理丢失、压缩等等问题的项目)
MIT License
100 stars 26 forks source link

cant run in Revit2018 #1

Closed 0mao0 closed 3 years ago

0mao0 commented 3 years ago

Hi Weiyu, Your work looks very promising, but I cant work it out by runnning it in Revit2018. Can you please attch the "*.addin" file?

I did try "*.addin" file as follows:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<RevitAddIns>
  <AddIn Type="Application">
    <Name>RevitExportGltf</Name>
    <FullClassName>RevitExportGltf.Command</FullClassName>
    <Assembly>R2Gltf\RevitExportGltf.dll</Assembly>
    <AddInId>9613FE22-3668-4B78-9A9E-F83341668629</AddInId>
    <VendorId>MIT</VendorId>
    <VendorDescription>MIT</VendorDescription>
  </AddIn>
</RevitAddIns>

the error poped by Revit is RevitExportGltf.Command does not inherit IExternalApplication

looks very confusing.

0mao0 commented 3 years ago

solved, it's not an Application. it's an Command. For those who love this respority, using "*.addin" as follows:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<RevitAddIns>
  <AddIn Type="Command">
    <Name>RevitExportGltf</Name>
    <FullClassName>RevitExportGltf.Command</FullClassName>
    <Assembly>R2Gltf\RevitExportGltf.dll</Assembly>
    <AddInId>9613FE22-3668-4B78-9A9E-F83341668629</AddInId>
    <VendorId>MIT</VendorId>
    <VendorDescription>MIT</VendorDescription>
  </AddIn>
</RevitAddIns>