Exemple #1
0
    public static BC_DataModel GetInstance()
    {
        global::System.IntPtr cPtr = BIMcollab_DataModelPINVOKE.BC_DataModel_GetInstance();
        BC_DataModel          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BC_DataModel(cPtr, false);

        return(ret);
    }
Exemple #2
0
 public void SetTimestampFormat(uint mode, string format)
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_SetTimestampFormat__SWIG_0(swigCPtr, mode, format);
     if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
 public void SetIssueSelectionFilter(bool mineOnly, bool active, bool resolved, bool closed)
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_SetIssueSelectionFilter(swigCPtr, mineOnly, active, resolved, closed);
     if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public void SetActiveUser(string userLastName, string userFirstName, string userPassword, string userEmail, string userInitials)
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_SetActiveUser(swigCPtr, userLastName, userFirstName, userPassword, userEmail, userInitials);
     if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
 public void Connect(string server, string token)
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_Connect(swigCPtr, server, token);
     if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #6
0
 public void ForceProxy(string host, uint port, string user, string password)
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_ForceProxy(swigCPtr, host, port, user, password);
     if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #7
0
 public void SelectProjectByIndex(uint idx)
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_SelectProjectByIndex(swigCPtr, idx);
     if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #8
0
    public uint GetNumberOfProjects()
    {
        uint ret = BIMcollab_DataModelPINVOKE.BC_DataModel_GetNumberOfProjects(swigCPtr);

        if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
        {
            throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #9
0
    public int TestConnection(string server)
    {
        int ret = BIMcollab_DataModelPINVOKE.BC_DataModel_TestConnection(swigCPtr, server);

        if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
        {
            throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #10
0
    public BC_Project GetActiveProject()
    {
        global::System.IntPtr cPtr = BIMcollab_DataModelPINVOKE.BC_DataModel_GetActiveProject(swigCPtr);
        BC_Project            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BC_Project(cPtr, false);

        if (BIMcollab_DataModelPINVOKE.SWIGPendingException.Pending)
        {
            throw BIMcollab_DataModelPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #11
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 BIMcollab_DataModelPINVOKE.delete_BC_DataModel(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
Exemple #12
0
    public uint GetDefaultMaxNumberOfComponentsInViewpoint()
    {
        uint ret = BIMcollab_DataModelPINVOKE.BC_DataModel_GetDefaultMaxNumberOfComponentsInViewpoint(swigCPtr);

        return(ret);
    }
Exemple #13
0
 public void Discard()
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_Discard(swigCPtr);
 }
Exemple #14
0
    public string GetDBVersionString()
    {
        string ret = BIMcollab_DataModelPINVOKE.BC_DataModel_GetDBVersionString(swigCPtr);

        return(ret);
    }
Exemple #15
0
    public uint GetTimestampFormatMode()
    {
        uint ret = BIMcollab_DataModelPINVOKE.BC_DataModel_GetTimestampFormatMode(swigCPtr);

        return(ret);
    }
Exemple #16
0
 public BC_DataModel() : this(BIMcollab_DataModelPINVOKE.new_BC_DataModel(), true)
 {
 }
Exemple #17
0
 public void WaitForPublishToFinish()
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_WaitForPublishToFinish(swigCPtr);
 }
Exemple #18
0
    public bool IsPublishActive()
    {
        bool ret = BIMcollab_DataModelPINVOKE.BC_DataModel_IsPublishActive(swigCPtr);

        return(ret);
    }
Exemple #19
0
    public uint GetMaxNumberOfDimensionsInViewpoint()
    {
        uint ret = BIMcollab_DataModelPINVOKE.BC_DataModel_GetMaxNumberOfDimensionsInViewpoint(swigCPtr);

        return(ret);
    }
Exemple #20
0
    public uint GetMaxNumberOfClippingPlanesInViewpoint()
    {
        uint ret = BIMcollab_DataModelPINVOKE.BC_DataModel_GetMaxNumberOfClippingPlanesInViewpoint(swigCPtr);

        return(ret);
    }
Exemple #21
0
    public string GetTimestampFormatString()
    {
        string ret = BIMcollab_DataModelPINVOKE.BC_DataModel_GetTimestampFormatString(swigCPtr);

        return(ret);
    }
Exemple #22
0
 public void ClearProxy()
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_ClearProxy(swigCPtr);
 }
Exemple #23
0
 public void SetTimestampFormat(uint mode)
 {
     BIMcollab_DataModelPINVOKE.BC_DataModel_SetTimestampFormat__SWIG_1(swigCPtr, mode);
 }