Sets the line pattern ID from an OdBmObjectId object.
eOk if the operation completed successfully, or an appropriate error code otherwise.