
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Happy Hump-day all!
So I've started my most challenging iLogic program to date. I'm driving a trailer floor assembly length. (in 2' increments) Some of it has been pretty easy, but driving a pattern while trying to suppress different elements at the same time is giving me an error message. As the floor assembly model gets longer, the cross member pattern must grow as well, no problem there. The starting pattern has 15 occurrences. As I drive the model in 2' increments, I have to turn on occurrence 10 and suppress occurrence 16. The problem is 16 has just been created and hasn't been seen yet by iLogic, so I get this error : ( Component: The component named "CA-411341-94.25:16" was not found. ) It allows me to continue but when I check the assembly model (which now has CA-411341-94.25:16 ) and is not suppressed. If I regenerate the rule, the part suppresses. Here is offending code:
If AD_Floor_Length = 24 ft Then Parameter("Crossmember_pattern") = 17 Parameter("AD22 Front Floor:1", "Length") = 72.000 in Parameter("AD22 Rear Floor:1", "Length") = 216.000 in Front_floor_mate = 0.000 in Component.IsActive("AD22 Mid Floor:1") = False Parameter("CA-502999-264-CS:1", "Length") = 288.000 in Parameter("CA-502999-264-RS:1", "Length") = 288.000 in Parameter("411331-264-CS:1", "Length") = 286.750 in Parameter("411331-264-RS:1", "Length") = 286.750 in Gusset_Pattern = 9 Component.IsActive("CA-411341-94.25:15") = True Component.IsActive("CA-411341-94.25:16") = False Component.IsActive("AD22 Mid Floor:1") = False End If
I've moved the "Crossmember Pattern" to the top of this section of code, but still get the error. Is the something I can insert in this section to allow the pattern to fully generate before it tries to suppress the new occurrence?
Thanks in advance for all your help.
Frank
Solved! Go to Solution.