Showing results for 
Search instead for 
Did you mean: 

Void problem

Dear Community,

i've a problem i can't solve.
I've a variable called LotMuNmbr (integer) that counts the MUs created in a machine; now i need to transfer that value into an user defined attribute of the MU so that every MU has it's number of the lot.
As you can see from the image below:Void.png

 i've made a breakpoint to the problem and i've found the attribute is not copied into the MU because it is void.

I can suppose the problem is the command "create" but my question is how can i put this attribute into the MU because i really need it for the rest of simulation.

Thank you. 





Betreff: Void problem

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Francescopoli,


look at your method, in line 2 you delete the current MU. After this you can not assign any value to the MU.






Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution