Skip to content

Commit 41d9d81

Browse files
committed
CktElement: expose NodeRef
1 parent 1211833 commit 41d9d81

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/dss_sharp.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,6 +2559,25 @@ public double[] TotalPowers
25592559
}
25602560
}
25612561
}
2562+
2563+
/// <summary>
2564+
/// Array of integers, a copy of the internal NodeRef of the CktElement.
2565+
/// </summary>
2566+
public int[] NodeRef
2567+
{
2568+
get
2569+
{
2570+
try
2571+
{
2572+
DSS_CAPI.ctx_CktElement_Get_NodeRef_GR(ctx);
2573+
return apiutil.get_int32_gr_array();
2574+
}
2575+
finally
2576+
{
2577+
CheckForError();
2578+
}
2579+
}
2580+
}
25622581
}
25632582

25642583
public class Generators : ContextState

0 commit comments

Comments
 (0)