Pedro Posted June 27, 2013 Share Posted June 27, 2013 Hi, I have this separator and I want to make copies based on a table. I have this table: What should I put in the expression property "Copy Quantity" for him to associate the current ModelEntity with the number of copies? I only know how to do this with processes... Thanks! Link to comment Share on other sites More sharing options...
dsturrock Posted June 27, 2013 Share Posted June 27, 2013 Your expression in the screen shot looks right IF you have associated the proper table row with the entity. (One easy place to do that is in the Table Reference Assignments category of the Source object.) If you don't have such an association, then you need to explicitly state the row using the syntax: CortesPorMP[MyRow].NumeroCortes-1, where MyRow is a constant or expression indicating row 1 thru 4 Link to comment Share on other sites More sharing options...
Pedro Posted June 27, 2013 Author Share Posted June 27, 2013 Can I associate a table and a row to an entity without using a source and without creating new state variables for that purpose? Link to comment Share on other sites More sharing options...
dsturrock Posted June 28, 2013 Share Posted June 28, 2013 Use the SetRow Step in a process. Link to comment Share on other sites More sharing options...
Recommended Posts