Creates a direct shape element and adds to database.
eOk if the element instance was successfully created; otherwise the method returns an appropriate error code.