Cancel
Showing results for 
Search instead for 
Did you mean: 

Processing time list

Builder
Builder

I am using list type for feeding processing time in the model.I have a lot of entities with same time,Is it possible to write the name of all entity with same time in one cell instead of writing separately in different cell again n again ???

1 REPLY 1

Re: Processing time list

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello k_parashar,

 

This can be achieved by adding formula and having a table inside the table as shown.

ProcTime.JPG

Then, in each table you insert all the part names having the same processing timings. Using a method shown as in example below

:time
is
	n : string;
	f : boolean;
	t : time;
	i,z : integer;
	o : table;
do
	n := @.name;
	f := false;
	i := 1;
	TT.setcursor(1,1);
	
	repeat
		o := TT[1,i];
		o.setcursor(1,1);
		for z := 1 to o.ydim loop
			if n = o[1,z] then
				t := TT[2,i];
				f := true;
			end;
		next;
		i := i+1;
	until f=true;
	return(t);

end;

, proctime can be allocated to singleproc.