trouble reading entity schema

trouble reading entity schema

Anonymous
Not applicable
1,157 Views
5 Replies
Message 1 of 6

trouble reading entity schema

Anonymous
Not applicable

I seem to be having some trouble getting access to the entity schema I created.

 

About 7 years ago, I created an app that reads & writes a schema to the project info element. A year later I created another app that only reads this schema. Now I am updating the second app and I find with Revit 2019 it can no longer read the schema. I keep getting the error "Schema not available to this application" but in the schema builder the read\write access is set to vendor. The name, guid and vendor id are set the same in both apps. I can still get the schema with the latest version of the app that created it, it's just the second app that can't.

 

Is this a bug in the most recent API's?

0 Likes
Accepted solutions (1)
1,158 Views
5 Replies
Replies (5)
Message 2 of 6

jeremytammik
Autodesk
Autodesk

Can you possibly provide a minimal reproducible case for us to pass on to the development team for analysis?

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 6

Anonymous
Not applicable
Accepted solution

Never mind. I figured it out.

 

I had loaded my app through the wonderful add-in manager you created. So the schema thought it was the add-in Manager that was trying to access my schema. Everything works properly if I load my app with the manifest file without ever having loaded the app through the manager.

0 Likes
Message 4 of 6

jeremytammik
Autodesk
Autodesk

Good to hear you got it sorted! Well done. Thank you for letting us know. What a relief  🙂



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 5 of 6

cwaluga
Advocate
Advocate

You can try to change the vendor/addin identification in the AddInManager .addin file to yours. I do this with Revit Lookup to snoop my extensible storage.

Message 6 of 6

jeremytammik
Autodesk
Autodesk

That's a very simple and very cool idea! Thank you!

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes