Use command "CreatorCommand ". This command object does the same thing as the create function, except that with this command object you can create multiple child objects under multiple parent objects with one command.
For example:
stc::perform creator -createclassid port -createcount 5 -parentlist project1