public bool SetDescIDState(DescID id, SWIGTYPE_p_DESCIDSTATE descidstate) { bool ret = C4dApiPINVOKE.BaseList2D_SetDescIDState(swigCPtr, DescID.getCPtr(id), SWIGTYPE_p_DESCIDSTATE.getCPtr(descidstate)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public SWIGTYPE_p_DESCIDSTATE GetDescIDState(DescID id, bool tolerant) { SWIGTYPE_p_DESCIDSTATE ret = new SWIGTYPE_p_DESCIDSTATE(C4dApiPINVOKE.BaseList2D_GetDescIDState(swigCPtr, DescID.getCPtr(id), tolerant), true); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(SWIGTYPE_p_DESCIDSTATE obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }