- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
There is a nice post for reading All Assembly Codes, Key and Description:
This gives the basic information for accessing the AssemblyCodeTable.
With the help of RevitLookup I found a way to read the FileName of the loaded Assembly Code File:
Dim MyAssemblyCodeTable As AssemblyCodeTable = AssemblyCodeTable.GetAssemblyCodeTable(MyDoc)
Dim MyExternalResourceReference As ExternalResourceReference = MyAssemblyCodeTable.GetExternalResourceReference(ExternalResourceTypes.BuiltInExternalResourceTypes.AssemblyCodeTable)
Dim FilePath As String = MyExternalResourceReference.InSessionPath
This works for me!
But how can I change the Assembly Code File with the Revit API? In case I want to load another file?
Thanks in Advance,
Chris Hanschen
LKSVDD architecten
The Netherlands
Solved! Go to Solution.