I finally solved it on my own. I use the corresponding creation tool to
create a request and then a CreateViewAndOptionallyElementCommand using
the parameters of the request:
CreationTool tool = new
CreationTool(StructuremodelElementTypes.NodeOutport_2002);