Message 1 of 9
iLogic - turn on/off parts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Recently, I have been experimenting with iLogic to (hopefully) simplify some window assemblies and the various options within.
I have a window type that has 3 exterior size options, 5/8", 2" and 3.5" cladding. A user parameter called 'Exterior_Options" has been created with the three size options (multi-variable list). The tutorial video that I am using as a guide uses the function:
Feature.IsActive("Part1:1", "featurename")
This does not seem to be the correct function as I am not trying to turn on/off a feature within the part, but the actual part in the assembly. My guess is the logic should look like:
(repeated for 2 and 3 1/2 and with something like Part.IsActive (or example)):
If Exterior_Option = "5/8" Then Feature.IsActive("1201-P Mainframe Head & Sill .625") = True Feature.IsActive("1201-P Mainframe jamb .625") = True Feature.IsActive("1201-P Mainframe Head & Sill 2") = False Feature.IsActive("1201-P Mainframe jamb 2") = False Feature.IsActive("1201-P Mainframe Head & Sill 3 1/2") = False Feature.IsActive("1201-P Mainframe jamb 3 1/2") = False