예제 #1
0
        public DESCIDSTATE GetDescIDState(DescID id, bool tolerant)
        {
            DESCIDSTATE ret = (DESCIDSTATE)C4dApiPINVOKE.BaseList2D_GetDescIDState(swigCPtr, DescID.getCPtr(id), tolerant);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public bool SetDescIDState(DescID id, DESCIDSTATE descidstate)
        {
            bool ret = C4dApiPINVOKE.BaseList2D_SetDescIDState(swigCPtr, DescID.getCPtr(id), (int)descidstate);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }