integrate Revit 2025 SDK

This commit is contained in:
Jeremy Tammik
2024-04-11 13:47:20 +02:00
parent e786953544
commit f414362f2b
889 changed files with 26676 additions and 26865 deletions
@@ -51,7 +51,7 @@ namespace Revit.SDK.Samples.ExtensibleStorageUtility.CS
Transaction tErase = new Transaction(document, "Erase EStorage");
tErase.Start();
IList<Schema> schemas = Schema.ListSchemas();
foreach (Schema schema in schemas)
foreach (Schema schema in schemas?.Where(x => x.WriteAccessLevel == AccessLevel.Public))
{
//Note-this will delete storage of this schema in *all* open documents.
document.EraseSchemaAndAllEntities(schema);