Thanks Harry,
I'm looking at EventSchedule and also ValueSequence both of which look very helpful.
By the way, before you had added these in release 45, I needed to read in a lot of demand events at actual times, each having both an associated quantity and a location. I've managed to write a new object which reads these in from a file and sets the attributes of the prototype entities it creates. I found it quite easy to add the new object and must say that I think the quality of your code is terrific.
As for the question of creating groups - here is one suggestion which I hope will be helpful. I'd like like the copying to be like in Word/Powerpoint with a clever object renaming rule. Specifically, I'd like:
- the ability to select more than one object by holding down Shift and clicking several objects (This would be like Word or Powerpoint so would be familiar to many users).
- the ability to group objects again like Word/Powerpoint. Right clicking and selecting 'Group' would associate the items(somehow) so that later clicking on one would select the group. Ungrouping should be an option too.
- it would be nice to be able to press CTRL and move the Selected group (as you can for one object in Jaamsim now).
- It would also be good to extend to a group the existing function in Jaamsim when a user can select a single item, right click and duplicate the object.
- I'd like Group renaming of duplicated items.Now, when single item is duplicated, the new name assigns adds '_copyn',( so 'Assign1' gets renamed to 'Assign1_copy1' then to 'Assign1_copy_2). I'd prefer it if all names encountered in the duplicated objects which end in a numeric were incremented by 1. (Assign1 would go to Assign2 in all new references)
This last step is what I'm just doing to copy my 12 object SKU group. I've started renaming each object so its name ends 00 (e.g SKUServer00). I'm editing the .cfg config file, copying each item and then renaming all the references to the new objects (e.g. replacing SKUServer00 with SKUServer01 in all objects of the new SKU group). This renaming seems to be the key step in making the new grouped object consistent.
John