Skip to content

Commit

Permalink
missed file
Browse files Browse the repository at this point in the history
  • Loading branch information
saintentropy committed Oct 29, 2023
1 parent 6137115 commit 8132647
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/Engine/FFITarget/ManagedElementExample.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using DynamoServices;
using Newtonsoft.Json;

namespace FFITarget
{
Expand Down Expand Up @@ -196,15 +197,15 @@ public WrapperObject(int x)
if (traceVal != null)
{

IDHolder idHolder = (IDHolder)traceVal;
IDHolder idHolder = JsonConvert.DeserializeObject<IDHolder>(traceVal);
ID = idHolder.ID;

}
else
{
nextID++;
ID = nextID;
TraceUtils.SetTraceData(__TEMP_REVIT_TRACE_ID, new IDHolder() { ID = nextID });
TraceUtils.SetTraceData(__TEMP_REVIT_TRACE_ID, JsonConvert.SerializeObject(new IDHolder() { ID = nextID }));
}


Expand Down

0 comments on commit 8132647

Please sign in to comment.