Creates a rectangular pyramid body in the geometry modeler object.
Returns the operation result code: eOk if the pyramid was successfully created; otherwise, the method returns an appropriate error code.