Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have ilogic controlling the visibility of the occurrences as of now the code shown below has "true" turning them off and "false" showing the item.
I was wondering if there is a way to reverse the "True" - "False", client is finding this confusing seeing there are other true/false options and true turns the item on..
Dim oPattern As SketchDrivenPatternFeature
oPattern = ThisDoc.Document.ComponentDefinition.Features.SketchDrivenPatternFeatures.Item("900C7G")
Dim oElements As FeaturePatternElements = oPattern.PatternElements
oElements(2).Suppressed = G_F
oElements(3).Suppressed = G_G
oElements(4).Suppressed = G_H
oElements(5).Suppressed = G_I
oElements(6).Suppressed = G_J
oElements(7).Suppressed = G_K
oElements(8).Suppressed = G_L
oElements(9).Suppressed = G_M
oElements(10).Suppressed = G_N
oElements(11).Suppressed = G_P
oElements(12).Suppressed = G_Q
oElements(13).Suppressed = G_R
ThisDoc.Document.update
Solved! Go to Solution.