copied Revit 2024 SDK

This commit is contained in:
Jeremy Tammik
2023-04-26 14:47:47 +02:00
parent 2ca39e38fd
commit 4d69f3eea5
425 changed files with 344414 additions and 2296 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ namespace Revit.SDK.Samples.Journaling.CS
// Get the level information from the journal
dataValue = GetSpecialData(dataMap, "Level Id"); // get the level id
Autodesk.Revit.DB.ElementId id = new Autodesk.Revit.DB.ElementId(Convert.ToInt32(dataValue)); // get the level by its id
Autodesk.Revit.DB.ElementId id = Autodesk.Revit.DB.ElementId.Parse(dataValue); // get the level by its id
m_createlevel = doc.GetElement(id) as Level;
if (null == m_createlevel) // assert the level is exist