2

Do I have the possibility to read Extensible Storage from Design Automation? Because when I use the same dll and the same addin file like in desktop Revit, but I am not able to read schema. The Access level set to the vendor and I add to addin file correct vendor id.

On the desktop app, this dll works perfectly, but on the design automation I have the next issue in the report report screencapture

j.doe
  • 35
  • 5
  • Do the `AddInId` and the `VendorId` both match the one in Desktop addin? – Rahul Bhobe Sep 29 '20 at 10:02
  • @RahulBhobe Yup, all the same – j.doe Sep 29 '20 at 10:03
  • What is the [access level](https://www.revitapidocs.com/2016/60600a74-450d-a175-ce3d-12e91fb22cd2.htm)? – Rahul Bhobe Sep 29 '20 at 10:17
  • 1
    @RahulBhobe schemaBuilder.SetReadAccessLevel(AccessLevel.Vendor); schemaBuilder.SetWriteAccessLevel(AccessLevel.Vendor); I had the same behavior on the desktop when I first set wrong vendor id and Revit just remembered it, I fixed only after restarting of the computer – j.doe Sep 29 '20 at 10:21
  • So is the issue resolved now? – Jeremy Tammik Sep 29 '20 at 13:11
  • @JeremyTammik same problem. I use the same dll and addin file, and on pc always all works perfect, but on design automation, I have an error about access to the schema – j.doe Sep 29 '20 at 13:25
  • 1
    Then I would suggest sharing a minimal reproducible case that runs on the desktop and fails in DA4R: https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b – Jeremy Tammik Sep 29 '20 at 13:26
  • @JeremyTammik just to be sure, do you have any restriction about access to extensible storage using DA4R ? – j.doe Sep 29 '20 at 13:28
  • @JeremyTammik I performed the next test. Created an empty Revit file. After that, I initialized extensible storage using the extension and added some data. Next, I Uploaded the file on the bucket. Uploaded the same dll and addin file on DA4R. Tried to read schema. Unsuccessful: `Reading of Entities of this Schema is not allowed to the current add-in`. – j.doe Sep 29 '20 at 15:48
  • Earlier I had the same behavior on the Desktop Revit app. It remembered vendor id, and even when I changed it Revit continued using the old id. It was fixed by itself after restarting pc. – j.doe Sep 29 '20 at 15:48
  • @JeremyTammik do you prefer some specific storage to share reproducible case? And if it possible I don't want to share for all networks, just for specific people. – j.doe Sep 29 '20 at 17:57
  • @j.doe Please create a non-confidential minimal reproducible case that can be shared with all. Use any schema you like, just keep it minimal and fool-proof. According to your description, the schema definition hardly matters. The problem should be reproducible with a single click, more or less. Thank you! – Jeremy Tammik Sep 30 '20 at 09:07
  • By the way, can you try yo set the access level to visible for everybody, just to see whether that works at all? Try to narrow down the problem a bit? – Jeremy Tammik Sep 30 '20 at 09:35
  • Any news? Any change? Any sample forthcoming? – Jeremy Tammik Oct 01 '20 at 16:40

0 Answers0