mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-27 21:16:58 +00:00
updated to Revit 2023 SDK
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Revit.SDK.Samples.Reinforcement.CS
|
||||
if (new FilteredElementCollector(m_commandData.Application.ActiveUIDocument.Document)
|
||||
.OfClass(typeof(Rebar))
|
||||
.Cast<Rebar>()
|
||||
.Where(x => x.GetHostId().IntegerValue == m_hostObject.Id.IntegerValue).Count() > 0)
|
||||
.Where(x => x.GetHostId() == m_hostObject.Id).Count() > 0)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user