mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-08-17 10:59:05 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -62,7 +62,7 @@ namespace Revit.SDK.Samples.UIAPI.CS
|
||||
|
||||
try
|
||||
{
|
||||
PreviewModel form = new PreviewModel(commandData.Application.Application, new ElementId(-1));
|
||||
PreviewModel form = new PreviewModel(commandData.Application.Application, ElementId.InvalidElementId);
|
||||
form.ShowDialog();
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user