mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-30 14:19:24 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -379,7 +379,7 @@ namespace Revit.SDK.Samples.GenericModelCreation.CS
|
||||
/// <summary>
|
||||
/// Get element by its id
|
||||
/// </summary>
|
||||
private T GetElement<T>(int eid) where T : Autodesk.Revit.DB.Element
|
||||
private T GetElement<T>(long eid) where T : Autodesk.Revit.DB.Element
|
||||
{
|
||||
Autodesk.Revit.DB.ElementId elementId = new ElementId(eid);
|
||||
return m_familyDocument.GetElement(elementId) as T;
|
||||
|
||||
Reference in New Issue
Block a user