I am seeing some strange regeneration behavior with a simple assembly I've built. The assembly has three assembled components (A, B, and C). There is an input parameter, CONTAINER, at the assembly level. The components are being added and suppressed in the assembly via thefollowing program:
IF CONTAINER == 1
INTERNAL COMPONENT ID 56
IF CONTAINER ==2
INTERNAL COMPONENT ID 61
IF CONTAINER ==3
INTERNAL COMPONENT ID 49
In the assembly, the initial value of CONTAINER = 1. So, when I open the assembly, component A is present in the assembly and B and C are suppressed.Now for the strange behavior part: When I change CONTAINER to 2 and regenerate the assembly, component A regenerates completely, THEN A is suppressed, THEN B is added and regenerated. I don't understand why A is regenerating before the program suppresses it, nor do I want A to regenerate prior to being suppressed. I have checked for circular references and don't find any.
Anyone out there dealt with this before? All clues are greatly appreciated!
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.