I am developing an application, which is using VB.NET. I have to open a Solid Edge file, and read the unit used there in the File Properties of the File. For that I have added all the references for solid Edge. code is as follows:
Public objpropertysets As SolidEdgeFilePr operties.Proper tySets
Public objpropertyset As SolidEdgeFilePr operties.Proper ties
Public objproperty As SolidEdgeFilePr operties.Proper ty
objpropertysets = CreateObject("S olidEdge.FilePr operties")
Call objpropertysets .Open("C:\part1 .par", False)
For i = 0 To objpropertysets .Count - 1
objpropertyset = objpropertysets .Item(i)
For j = 0 To objpropertyset. count - 1
objproperty = objpropertyset. Item(j)
MessageBox.Show (objpropertyset .Name + " " + objproperty.Nam e)
Next j
Next i
This code shows some of the Fiel Properties, not all. So anybody please help me out.
Public objpropertysets As SolidEdgeFilePr operties.Proper tySets
Public objpropertyset As SolidEdgeFilePr operties.Proper ties
Public objproperty As SolidEdgeFilePr operties.Proper ty
objpropertysets = CreateObject("S olidEdge.FilePr operties")
Call objpropertysets .Open("C:\part1 .par", False)
For i = 0 To objpropertysets .Count - 1
objpropertyset = objpropertysets .Item(i)
For j = 0 To objpropertyset. count - 1
objproperty = objpropertyset. Item(j)
MessageBox.Show (objpropertyset .Name + " " + objproperty.Nam e)
Next j
Next i
This code shows some of the Fiel Properties, not all. So anybody please help me out.
Comment