Using ilogic to suppress/unsuppress frame generated parts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using ilogic to suppress/un suppress frame generated parts depending on frame length.
levels of detail are setup in top-level and frame models.
rule is as follows (the SS parts are the frame generated ones):
If SEG_SIZE < 1600 Then Component.IsActive("CLAD_02:1") = True Component.IsActive("CLAD_10:1") = True Component.IsActive("SS:42") = False Component.IsActive("SS:41") = False Component.IsActive("SS:40") = False Else If SEG_SIZE > 1601 Then Component.IsActive("CLAD_02:1") = False Component.IsActive("CLAD_10:1") = False Component.IsActive("SS:42") = True Component.IsActive("SS:41") = True Component.IsActive("SS:40") = True END IF InventorVb.DocumentUpdate()
The rule works finewhen the size is reduced, the frame parts become suppressed. The problem comes when I enlarge the value over 1601 I get the following error:
"Error in rule: Extra segment, in document: 601_FRM.iam
Component: The component named "SS:42" was not found."
It's like its suppressed it and now it can't see it to un suppress it!!!
