12-11-2023
06:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-11-2023
06:44 PM
Hi All
I am having issues with the following code. The issue is, when the height is less than the width the code works as intended, but when the height is greater than the width the "Feature.IsActive("LeftBottomFace") = False" & "Feature.IsActive("RightBottomFace") = False" rules are being ignored. Any ideas as to why this is happening would be greatly appreciated.
Parameter("TopCut") = Parameter("UnderlapCut") Parameter("TopFlange") = Parameter("UnderlapFlange") Parameter("TopHoleSize") = 10 Parameter("BottomCut") = Parameter("OverlapCut") Parameter("BottomFlange") = Parameter("OverlapFlange") Parameter("BottomHoleSize") = 8 Parameter("LeftCut") = Parameter("UnderlapCut") Parameter("LeftFlange") = Parameter("UnderlapFlange") Parameter("LeftHoleSize") = 8 Parameter("RightCut") = Parameter("UnderlapCut") Parameter("RightFlange") = Parameter("UnderlapFlange") Parameter("RightHoleSize") = 10 Feature.IsActive("LeftTopFace") = True Parameter("LTHoleSize") = 8 Feature.IsActive("LeftBottomFace") = False Feature.IsActive("RightTopFace") = True Parameter("RTHoleSize") = 10 Feature.IsActive("RightBottomFace") = False Feature.IsActive("TempFixR") = True Feature.IsActive("TempFixL") = False iProperties.Value("Custom", "Type") = "RECESSED FIX" iProperties.Value("Custom", "Joint") = "INTER STARTER" iProperties.Value("Custom", "Lay") = "L TO R" InventorVb.DocumentUpdate()
Solved! Go to Solution.