mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-28 13:27:52 +00:00
integrate Revit 2025 SDK
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// (C) Copyright 2003-2019 by Autodesk, Inc.
|
||||
// (C) Copyright 2003-2023 by Autodesk, Inc.
|
||||
//
|
||||
// Permission to use, copy, modify, and distribute this software in
|
||||
// object code form for any purpose and without fee is hereby granted,
|
||||
@@ -165,7 +165,7 @@ namespace Revit.SDK.Samples.MaterialProperties.CS
|
||||
if (!Init())
|
||||
{
|
||||
// there must be exactly one beam, column or brace selected
|
||||
TaskDialog.Show("Revit", "You should select only one beam, structural column or brace.");
|
||||
Autodesk.Revit.UI.TaskDialog.Show("Revit", "You should select only one beam, structural column or brace.");
|
||||
return Autodesk.Revit.UI.Result.Failed;
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace Revit.SDK.Samples.MaterialProperties.CS
|
||||
}
|
||||
catch
|
||||
{
|
||||
TaskDialog.Show("Revit", "Sorry that your command failed.");
|
||||
Autodesk.Revit.UI.TaskDialog.Show("Revit", "Sorry that your command failed.");
|
||||
return Autodesk.Revit.UI.Result.Failed;
|
||||
}
|
||||
documentTransaction.Commit();
|
||||
|
||||
Reference in New Issue
Block a user