コード例 #1
0
 public void SetColor(string color)
 {
     BIMcollab_ComponentPINVOKE.BC_Component_SetColor(swigCPtr, color);
     if (BIMcollab_ComponentPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_ComponentPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 BIMcollab_ComponentPINVOKE.delete_BC_Component(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
コード例 #3
0
 public BC_Component() : this(BIMcollab_ComponentPINVOKE.new_BC_Component(), true)
 {
 }
コード例 #4
0
 public void SetVisible(bool visible)
 {
     BIMcollab_ComponentPINVOKE.BC_Component_SetVisible(swigCPtr, visible);
 }
コード例 #5
0
    public bool IsVisible()
    {
        bool ret = BIMcollab_ComponentPINVOKE.BC_Component_IsVisible(swigCPtr);

        return(ret);
    }
コード例 #6
0
 public void SetSelected(bool select)
 {
     BIMcollab_ComponentPINVOKE.BC_Component_SetSelected(swigCPtr, select);
 }
コード例 #7
0
    public bool IsSelected()
    {
        bool ret = BIMcollab_ComponentPINVOKE.BC_Component_IsSelected(swigCPtr);

        return(ret);
    }
コード例 #8
0
    public string GetColor()
    {
        string ret = BIMcollab_ComponentPINVOKE.BC_Component_GetColor(swigCPtr);

        return(ret);
    }
コード例 #9
0
    public string GetIfcGlobalId()
    {
        string ret = BIMcollab_ComponentPINVOKE.BC_Component_GetIfcGlobalId(swigCPtr);

        return(ret);
    }