Cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic enumeration

Experimenter
Experimenter

Dear community,

 

I am simulating a paint facility.
I have several products and each of them has a different amount of "paint" and "dry" circles. I transfer the right amounts of paint and dry circles for each product.

 

But I would like to automaticaly enumerate the amounts of paint and dry jobs, for example like that:
Unbenannt.PNG

(I am using another table, but I am not allowed to share it. The posted picture is just for better understanding)

 

My question:

 

What do I have to write in the Methode, so it counts in order?

 

Part of my methode so far:

Paint and Dry loop.PNG

I was thinking about sth like...t_Workplans["Workplan",i]["Preconditions",k]:=??? (Sth like sum up or count+1???)

 

Thank you very much for your help.

 

Kind regards,

 

Chris

2 REPLIES

Betreff: Automatic enumeration

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello Chris_Wie,

 

as far as I understand your problem, you can just enter the variable j.

Hope this helps.

Regards
GG

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

Betreff: Automatic enumeration

Experimenter
Experimenter

Hi GG,

 

thank you very much, that helped me a lot.

 

Kind regards,

 

Chris