Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is my first post on this Forum. Can somebody help me with this Rule. I want the Part "Verloop" Enabled if
If Parameter("MASTER", "standpijp_diameter") = 125
and I want this function off if I chose Else.
This is what I've got so far
SyntaxEditor Code Snippet
If Parameter("MASTER", "standpijp_diameter") = 125 Then Component.Visible("Verloop") = True Component.InventorComponent("Verloop").BOMStructure = BOMStructureEnum.kDefaultBOMStructure 'Sets BOM Structure to Default (Includes on BOM) Constraint.IsActive("Mate:13") = True Constraint.IsActive("Flush:23") = True Constraint.IsActive("Mate:14") = True Constraint.IsActive("Mate:15") = True Constraint.IsActive("Flush:24") = True Constraint.IsActive("Flush:26") = False Constraint.IsActive("Mate:19") = False Else Component.Visible("Verloop") = False Component.InventorComponent("Verloop").BOMStructure = BOMStructureEnum.kReferenceBOMStructure 'Sets BOM Structure to Reference (Includes on BOM) Constraint.IsActive("Mate:13") = False Constraint.IsActive("Flush:23") = False Constraint.IsActive("Mate:14") = False Constraint.IsActive("Mate:15") = False Constraint.IsActive("Flush:24") = False Constraint.IsActive("Flush:26") = True Constraint.IsActive("Mate:19") = True End If
Solved! Go to Solution.