Occurrence Properties in Sub-Assemblies


I'm trying to control the occurrence properties of components in sub-assemblies. This seems to work to hide the component:

oSecBackWall.Visible = False

But I can't get control of Assembly Reports or Drawing Views at this same point. I tried:

oSecBackWall.ThisAsOccurrence.DisplayInDrawings = False

oSecBackWall.ThisAsOccurrence.IncludeInBom = False

But none of these seem to have any affect. I testes with a draft file and this component is visible in the draft file.

How can I control these properties?



Posted by: Terry Tyson
Post date: 7/20/2010 5:22:43 AM