How get Occurence from StructuralFrame

 

Hi all,

I need get a Occurence object from a Section of StructuralFrame. I try use this code in VB.NET 2005:

 

 

     oframe.GetSections(i, sections)ForEach oframe In doc.StructuralFrames

 

 

      For x = 0 To i - 1oframe.ReturnOccurrenceForGivenSectionID(sections(x), obj, objocu)    Next

 Next

However, this method returns parameters "obj" and "objocu" = "nothing"

Parameter "section(x)" is OK because method SegmentCutLenght (sections(x), lenght, paramObj) returns valid value.

Have you any suggest?

Vaclav

 

Posted by: Vaclav Blahnik
Post date: 4/16/2009 4:06:58 AM

2 REPLIES

RE: How get Occurence from StructuralFrame

Vaclav,

 

Could you reply with a test Solid Edge file and complete example source code? You can .zip them up and attach them in a reply.

 

Posted by: Jason Newell
Post date: 4/17/2009 7:03:32 PM

RE: How get Occurence from StructuralFrame

 

Hi Jason,

there are source code and test model. See attachment.

 

 Vaclav

 

 

Posted by: Vaclav Blahnik
Post date: 4/19/2009 10:46:37 PM