Message 1 of 5
Ilogic rule to make parts visible in drawing! HLP

Not applicable
05-15-2014
01:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I want a rule that makes parts visible in drawing vieuw based on name.
This rule works perfectly in assembly. how can it also work in drawing.
HLP
TNX
DimoDocAsDocument=ThisDoc.Document
DimoCompDefAsInventor.ComponentDefinition=oDoc.ComponentDefinition
DimoCompOccAsInventor.ComponentOccurrence
ForEachoCompOccinoCompDef.OccurrencesvoCompOcc=Component.InventorComponent(oCompOcc.Name)
IfLeft(oCompOcc.Name,2)="55"OrLeft(oCompOcc.Name,2)="51"Then
oCompOcc.Visible=False
EndIf
Next