Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
To start, I am pretty new to iLogic. I am trying to create a iLogic rule that will suppress sheet 8 when the part number contains an "H". I want the sheet suppressed so I need to exclude both from printing & counting.
The "H" code is for an additional drill operation. If the part number does not contain the "H" I do not need the drawing sheet to be part of the package. The Part No is found in the iProperties Custom tab as shown
This is what I have but it returns "Line 1: End of statement expected."
If iProperties.Value("Custom", "PART NO") Contains("H") Then ThisDrawing.Sheet("Sheet:8").Sheet.ExcludeFromPrinting = True ThisDrawing.Sheet("Sheet:8").Sheet.ExcludeFromCount = True End If
I saw another post that requested Sheet Suppression be added to Inventor as an option. It looks like it died due to a lack of votes.
Thanks in advance
Inventor Pro 2019 - 64 Bit
Vault Pro 2019
Intel Xenon CPU-E5-1650v3 @ 3.50 GHz
NVIDIA Quadro K2200
Windows 7 Pro (SP1)
Vault Pro 2019
Intel Xenon CPU-E5-1650v3 @ 3.50 GHz
NVIDIA Quadro K2200
Windows 7 Pro (SP1)
Solved! Go to Solution.