Message 1 of 2
iLogic rule tips

Not applicable
04-02-2021
05:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good afternoon.
Currently i'm struggling with iLogic. My part, a table driven is placed inside an assembly, which contains also a DIN Flange. This Flange should change according to the table driven part.
I've solved it like this at the moment:
If Component.IsActive("Inletheader-25 - 0.63-0.8(_FS)25:1") = True Components.ContentCenterLanguage = "en-US" Dim DIN_2633_Welding_Nec = Components.AddContentCenterPart("DIN 2633 Welding Neck Flange Type C Series 1 (ISO) - PN 16 100 x 114.3:1", "Tube & Pipe:Fittings:Flanges", "DIN 2633 Welding Neck Flange Type C Series 1 (ISO) - PN 16", "80 x 88.9", DIN_2633_Welding_NecPos) If Component.IsActive("DIN 2633 Welding Neck Flange Type C Series 1 (ISO) - PN 16 100 x 114.3:1") = True ' Component.IsActive("Inletheader-25 - 0.63-0.8(_FS)25:1") Components.Delete("DIN 2633 Welding Neck Flange Type C Series 1 (ISO) - PN 16 100 x 114.3:1") Constraint.IsActive("Insert:1") = False End If End If
I guess there is a better and smarter way, can someone help me?