MauricioBiolato Posted January 4, 2019 Share Posted January 4, 2019 I need to simulate a crane moving entities between different points. But the problem is the load and unload time are not the same in all those points. I need to be able to define somehow the crane load & unload time as a variable (node depending). I wonder if anyone has dealed with this problem before? Rds. Link to comment Share on other sites More sharing options...
gocken Posted January 4, 2019 Share Posted January 4, 2019 Subclass a transfer node then define two properties: LoadTime and UnloadTime. Then use these subclassed nodes in your model and set the values of LoadTime and UnloadTime properties appropriately for each subclassed transfer nodes. Also, define two properties on modelentity: you can name them as LoadTime and UnloadTime. Then, define an entered add-on process for each subclassed transfer nodes where you should assign ModelEntity.LoadTime=LoadTime and ModelEntity.UnloadTime=UnloadTime. Now, by setting loadtime and unloadtime properties of crane object as ModelEntity.UnloadTime and ModelEntity.LoadTime you can get different times for load and unload times at different points. Link to comment Share on other sites More sharing options...
MauricioBiolato Posted January 4, 2019 Author Share Posted January 4, 2019 Excelent! thank you very much!!! Link to comment Share on other sites More sharing options...
Recommended Posts