Tile Layout objects in a User Function

It seems that new Layout functions eg AppendLayoutObject are now recommended.

I cannot find how to Tile objects on a Layout in a function , except using Tile and Execute...

Is there an easier way?

NewLayout    /K=1 /P=Portrait
AppendLayoutObject graph $"GraphName1"
AppendLayoutObject graph $"GraphName2"
AppendLayoutObject graph $"GraphName3"
 

 

This is the only way I know how to do it: construct a string with the Tile command using variables depending on how many objects there may be and then Execute quietly.