updated to Revit 2023 SDK

This commit is contained in:
Jeremy Tammik
2022-04-07 09:12:58 +02:00
parent e3434c5200
commit ab02648986
342 changed files with 6496 additions and 3140 deletions
@@ -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;