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
@@ -493,7 +493,7 @@ namespace Revit.SDK.Samples.RebarFreeForm.CS
Parameter paramCurveId = bar.LookupParameter(AddSharedParams.m_CurveIdName);
if (paramCurveId == null)
return null;
ElementId id = new ElementId(paramCurveId.AsInteger());
ElementId id = ElementId.Parse(paramCurveId.AsString());
return data.GetDocument().GetElement(id) as CurveElement;
}
/// <summary>