Where contact_surfaces is a named component (the surfaces on both sides of the contact interface) that needs to be created before running the command object (it's possible that the model may first require a resolve after creating the named component). To elaborate a little on what Erik said, I'd try a post processing command object (under the Solution branch) with commands like these: