Variables not accessible in ST4

Hello, 

I have a program that was working great in ST3. However, in ST4 the variable list is always empty. Some simplified code below:

//mAssembly is an open SolidEdgeAssembly.AssemblyDocumentint i  = mAssembly.Variables.Count;

In ST3 i is always a big number, in ST4 i is always zero.

I can not find a way to access the variables in ST4. Any ideas?

Thanks, 

 

 

Posted by: Misa Takaki
Post date: 10/21/2011 10:00:04 AM

1 REPLY

RE: Variables not accessible in ST4

Hi EDA,

 

seems to be a bug which should have been solved in the just released MP1 for ST4:

 

PR 6574228: API access to Assembly variables is broken in ST4

 

Posted by: Wolfgang Kunert
Post date: 10/24/2011 9:47:12 PM