I have this code that I'm trying to use to get a reference to a variable:
SolidEdgePart.PartDocument sePart = seOccur.PartDocument;
SolidEdgeFramework.Variables seVars = sePart.Variables;
SolidEdgeFramework.variable seVar = seVars.Item("WIDTH");
But it fails on the last line. I have existing VB code that works:
Dim vars As SolidEdgeFramework.Variables = Riser.Variables
Dim var As SolidEdgeFramework.variable = vars.Item(varName)
What is the correct syntax for C#?
Go to Solution.
I found what works: