mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-20 10:58:32 +00:00
replaced Revit 2020 SDK by Revit 2021 SDK
This commit is contained in:
@@ -26,7 +26,7 @@ using Autodesk.AdvanceSteel.CADAccess;
|
||||
using Autodesk.Revit.DB.Steel;
|
||||
using Autodesk.AdvanceSteel.Geometry;
|
||||
using Autodesk.AdvanceSteel.Modelling;
|
||||
using RvtDwgAddon;
|
||||
using Autodesk.SteelConnectionsDB;
|
||||
using Autodesk.Revit.DB;
|
||||
using Autodesk.Revit.UI;
|
||||
using System.Collections.Generic;
|
||||
@@ -114,9 +114,9 @@ namespace Revit.SDK.Samples.SampleCommandsSteelElements.CreateWeldPoint.CS
|
||||
if (null != weld)
|
||||
{
|
||||
weld.WriteToDb();
|
||||
HashSet<FilerObject> objsToConnect = new HashSet<FilerObject>();
|
||||
List<FilerObject> objsToConnect = new List<FilerObject>();
|
||||
objsToConnect.Add(filerObj);
|
||||
weld.Connect(objsToConnect, Autodesk.AdvanceSteel.ConstructionTypes.AtomicElement.eAssemblyLocation.kInShop);
|
||||
weld.Connect(objsToConnect.ToArray(), Autodesk.AdvanceSteel.ConstructionTypes.AtomicElement.eAssemblyLocation.kInShop);
|
||||
}
|
||||
|
||||
trans.Commit();
|
||||
|
||||
Reference in New Issue
Block a user