Retreving SubOccurrence data

 

Hi all

I wounder if any of you clever people know how to get  infomation out of a SubOccurrence component in Assy

objSubOccurrence.IncludeInBom   (True/False)

objSubOccurrence.Quantity              Count

This infomation seems to be can be available in a Occurrence property but not in a SubOccurrence property. Any ideas for a work around??

Cheers Snow 

 

Posted by: Snow Mackenzie
Post date: 10/8/2008 12:39:58 AM

2 REPLIES

RE: Retreving SubOccurrence data

Snow,

 

use the ThisAsOccurrence property of the SubOccurrence to get its Occurrence object relative to its parent Assembly. Then you can access your desired properties.

 

Martin

 

Posted by: Martin Bernhard
Post date: 10/8/2008 3:35:34 AM

RE: Retreving SubOccurrence data

Thanks

That got it going.... I hate it when the answers are poking you directly in the eye and you don't notice

Snow

 

Posted by: Snow Mackenzie
Post date: 10/8/2008 12:32:33 PM