Simio
  • Changing physical position of nodes via procedures

  • General Simio discussions. THIS IS *NOT* A GOOD PLACE FOR SUPPORT QUESTIONS.
    To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
General Simio discussions. THIS IS *NOT* A GOOD PLACE FOR SUPPORT QUESTIONS.
To limit spam this and all Public Forums have very limited ability to attach files. We recommend that support issues and more technical topics be initiated inside one of the Simio Insider (SI) forums below where you can attach your model and see example solutions. See above Welcome forum to join Simio Insiders.
 #5480  by fpeschiera
 Mon May 12, 2014 9:57 am
Hello everyone,

This question has probably been answered before but i could not find any post making mention.
I would like to know if it is possible to edit the position (x, y, z) of a given object via some kind of procedure or using some state to govern these values.
Specifically, we would like to assign specific coordinates to nodes in a graph (so we know for example all links are scaled correctly with their size) and we would like to get the positions of the nodes from an external data source (Excel, .txt files).

We would only touch these values at the beginning of the simulation (as initialization).

thanks
 #9142  by CWatson
 Fri Apr 13, 2018 2:08 pm
In addition, we've added the capability to have various Simio objects 'automatically' created in their physical x/y/z locations from data tables. For an example of this, see the SchedulingDiscretePartProduction.spfx example (Support ribbon / Examples) and review the Resources data table. A column of type 'Object Type' of Object Reference specifies the type of object to create. An 'Object Type' column, Resource Name, then uses that 'ObjectType' column as its property ObjectType with the Default Value Instantiation set to 'AutoCreateInstance'. The XLocation / ZLocation columns are then used within the Initial Object Offset properties. Moving the node (or whatever object) within the Facility window then changes the XLocation/ZLocation values. This table automatically generated the Facility window contents.
 #9151  by bscandi
 Mon Apr 16, 2018 6:39 am
Hello everyone,

The problem with the "AutoCreateInstance" is that every time that the model starts running all the created objects loose their previously defined properties (Routing Logic, Transport Logic,...).

I would like to keep my created objects and move them with "Relocate Object" in Locations defined by a table (see the attachment https://drive.google.com/file/d/173uwX4 ... sp=sharing).
The idea is to insert "RelocateObject" in "OnRunInitialized" add-on process.
How can I replicate the relocation for each row of the table?
How can I link my current objects in the model to the objects in the first column of the table ? (I defined the column type as Object Property)