Skip to content

Commit 8c65257

Browse files
author
Jeremy Tammik
committed
completed converrsion to long element id
1 parent 3e9f066 commit 8c65257

11 files changed

+1153
-1147
lines changed

BuildingCoder/CmdCollectorPerformance.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ private ElementId GetCropBoxFor(View view)
17611761
{
17621762
var provider
17631763
= new ParameterValueProvider(new ElementId(
1764-
(int) BuiltInParameter.ID_PARAM));
1764+
(long) BuiltInParameter.ID_PARAM));
17651765

17661766
var rule
17671767
= new FilterElementIdRule(provider,

BuildingCoder/CmdLinkedFileElements.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public ElementData(
5555

5656
public string Element { get; }
5757

58-
public int Id { get; }
58+
public long Id { get; }
5959

6060
public string X => Util.RealString(_x);
6161

@@ -143,7 +143,7 @@ public void AddFaceBasedFamilyToLinks(Document doc)
143143

144144
// Get symbol
145145

146-
var symbolId = new ElementId(126580);
146+
var symbolId = new ElementId((long)126580);
147147

148148
var fs = doc.GetElement(symbolId)
149149
as FamilySymbol;

0 commit comments

Comments
 (0)