Accessing file properties via the RevisionManager

Hi Jason,

 

accessing the properties of a Solid Edge document via the RevisionManager object, as described in (your) .NET's Programmers Guide for Solid Edge STx (page 161 ff) doesn't work.

 

As soon as the PropertySets collection gets accessed (i.e. by propSets.Count()), a COM/Interop exception occurs. Visual Studio 2010 (.NET 4.0) is also unable to display members of the PropertySets property when debugging. I had observed this problem already with Visual Studio 2005 (.NET 2.0) and Visual Studio 2008 (.NET 3.5) and Solid Edge versions starting from V20 up to ST4. Any glue what is going wrong?

 

Regards

 

Wolfgang

 

Posted by: Wolfgang Kunert
Post date: 2/21/2012 9:49:50 AM

2 REPLIES

Re: Accessing file properties via the RevisionManager

I haven't looked at that document in awhile but I will try to do so tonight and get back with you.

 

Posted by: Jason Newell
Post date: 2/21/2012 5:03:06 PM

Re: Accessing file properties via the RevisionManager

Wolfgang,

 

I got a chance to test this and you are right. It just does not work (ST4). To add to your observation, I even tried the same code in Visual Basic 6 and I get the same error so it's not a .NET issue. The best course of action at this point is to have you submit an PR with GTAC (or VAR).

 

Thanks

 

Posted by: Jason Newell
Post date: 2/27/2012 12:39:14 AM