mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-14 08:44:18 +00:00
replaced Revit 2020 SDK by Revit 2021 SDK
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Revit.SDK.Samples.ExtensibleStorageUtility.CS
|
||||
foreach (Schema schema in schemas)
|
||||
{
|
||||
//Note-this will delete storage of this schema in *all* open documents.
|
||||
Schema.EraseSchemaAndAllEntities(schema, true);
|
||||
document.EraseSchemaAndAllEntities(schema);
|
||||
}
|
||||
tErase.Commit();
|
||||
message = "All storage was deleted.";
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ExtensibleStorageUtility</RootNamespace>
|
||||
<AssemblyName>ExtensibleStorageUtility</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user