public bool IsOperationAllowed(BC_Operation operation) { bool ret = BIMcollab_ProjectPINVOKE.BC_Project_IsOperationAllowed(swigCPtr, (int)operation); if (BIMcollab_ProjectPINVOKE.SWIGPendingException.Pending) { throw BIMcollab_ProjectPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }