mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-28 05:25:11 +00:00
copied Revit 2024 SDK
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Revit.SDK.Samples.RebarFreeForm.CS
|
||||
Parameter paramCurveId = bar.LookupParameter(AddSharedParams.m_CurveIdName);
|
||||
if (paramCurveId == null)
|
||||
continue;
|
||||
ElementId id = new ElementId(paramCurveId.AsInteger());
|
||||
ElementId id = ElementId.Parse(paramCurveId.AsString());
|
||||
if (id == ElementId.InvalidElementId)
|
||||
continue;
|
||||
if (modifiedIds.Contains(id))// if id of line is in the rebar, then trigger regen
|
||||
|
||||
Reference in New Issue
Block a user