Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Set Transfer Station advanced attribute through method

Hello, I have a Transfer Station in my model that loads parts into a transporter. It only works if I set the Load/unload n blocks in the advanced attributes to the same number of parts it receives. I wanted to automate this process inside the init method, but I don't think it is possible thorugh Simtalk. Is there any way to do it so it automatically sets it to the same number of parts produced by the source?

 

I'm attaching the model (PS 14.2)

Thanks!

4 REPLIES 4

Betreff: Set Transfer Station advanced attribute through method

Gears Phenom Gears Phenom
Gears Phenom

Not sure what you need exactly; but instead of using the dialog, you can directly set the attributes like this:

TransferStation2.BlockSize := 5
TransferStation2.XDim := 5
TransferStation2.Capacity := 5 --> was set automatically by XDim
___________________________________________________________
Alex Dilg, Consultant at SimPlan AG (www.SimPlan.de)
This post was good and/or helpful to you? Please provide some Kudos, thank you!

Betreff: Set Transfer Station advanced attribute through method

That's what I'm trying to do, but with this attribute:

image.png

I don't think it is possible through Simtalk, I might have to find a workaround.

Betreff: Set Transfer Station advanced attribute through method

Phenom
Phenom

@Pedro_Manfroi 

 

Look for this attribute:

 

transferstation.PNG

Best Regards,
Paulo Araujo

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

Betreff: Set Transfer Station advanced attribute through method

Thanks, that was it!