For example, on a simple model that only contains a Source1 and Queue1, how can I write the name and rank of the object seen in the Model tree into a global table? In the model tree, the rank of Source1 is 3 and the rank of the Queue1 is 4 (which come after 'FlexsimModelFloor' in the Model tree).
What custom code can I write using the User Commands interface to write the name and rank of an object?