I want to generate parts from a single Entity Generator block. the attributes attached with the parts are Part type and Service Time. I have tried this
what I understood from my code is that the first entity generated will get Type attribute randomly from 1 to 3 and service time will be 2 but I want that each entity generated with attribute Type 1, e.g. get service time=2 and entity with Type 2 get Service time=4 etc. But I dont know how to write the syntax. Can anybody guide me please?
Best Answer