Example #1
0
        public static AtomArray Alloc()
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.AtomArray_Alloc();
            AtomArray             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new AtomArray(cPtr, false);

            return(ret);
        }
Example #2
0
        public BaseObject GetRealActiveObject(AtomArray help, SWIGTYPE_p_Bool multi)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BaseDocument_GetRealActiveObject(swigCPtr, AtomArray.getCPtr(help), SWIGTYPE_p_Bool.getCPtr(multi));
            BaseObject            ret  = (BaseObject)C4dApiPINVOKE.InstantiateConcreteObject(cPtr, false);

            return(ret);
        }
Example #3
0
 public void GetActiveObjects(AtomArray selection, GETACTIVEOBJECTFLAGS flags)
 {
     C4dApiPINVOKE.BaseDocument_GetActiveObjects(swigCPtr, AtomArray.getCPtr(selection), (int)flags);
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void SetHighlightedObjects(AtomArray selection)
 {
     C4dApiPINVOKE.BaseDocument_SetHighlightedObjects__SWIG_1(swigCPtr, AtomArray.getCPtr(selection));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void GetSelection(AtomArray selection)
 {
     C4dApiPINVOKE.BaseDocument_GetSelection(swigCPtr, AtomArray.getCPtr(selection));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public void GetActiveObjectsFilter(AtomArray selection, bool children, int type, int instanceof)
 {
     C4dApiPINVOKE.BaseDocument_GetActiveObjectsFilter(swigCPtr, AtomArray.getCPtr(selection), children, type, instanceof);
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
 public void GetActivePolygonObjects(AtomArray selection, bool children)
 {
     C4dApiPINVOKE.BaseDocument_GetActivePolygonObjects(swigCPtr, AtomArray.getCPtr(selection), children);
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
        public bool Init(int w, int h, BaseDraw bd, AtomArray ar, int mode, bool onlyvisible, SWIGTYPE_p_VIEWPORTSELECTFLAGS flags)
        {
            bool ret = C4dApiPINVOKE.ViewportSelect_Init__SWIG_2(swigCPtr, w, h, BaseDraw.getCPtr(bd), AtomArray.getCPtr(ar), mode, onlyvisible, SWIGTYPE_p_VIEWPORTSELECTFLAGS.getCPtr(flags));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
        public bool GetSubDescriptionWithData(DescID did, AtomArray op, SWIGTYPE_p_RESOURCEDATATYPEPLUGIN resdatatypeplugin, BaseContainer bc, DescID singledescid)
        {
            bool ret = C4dApiPINVOKE.Description_GetSubDescriptionWithData(swigCPtr, DescID.getCPtr(did), AtomArray.getCPtr(op), SWIGTYPE_p_RESOURCEDATATYPEPLUGIN.getCPtr(resdatatypeplugin), BaseContainer.getCPtr(bc), DescID.getCPtr(singledescid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
        public bool CheckDescID(DescID searchid, AtomArray ops, DescID completeid)
        {
            bool ret = C4dApiPINVOKE.Description_CheckDescID(swigCPtr, DescID.getCPtr(searchid), AtomArray.getCPtr(ops), DescID.getCPtr(completeid));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #11
0
        public BaseContainer GetParameter(DescID id, BaseContainer temp, AtomArray ar)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.Description_GetParameter(swigCPtr, DescID.getCPtr(id), BaseContainer.getCPtr(temp), AtomArray.getCPtr(ar));
            BaseContainer         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BaseContainer(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #12
0
        public SWIGTYPE_p_DescEntry GetFirst(AtomArray op)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.Description_GetFirst(swigCPtr, AtomArray.getCPtr(op));
            SWIGTYPE_p_DescEntry  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_DescEntry(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #13
0
        public bool GetObjects(BaseDocument doc, AtomArray objects)
        {
            bool ret = C4dApiPINVOKE.BrushBase_GetObjects(swigCPtr, BaseDocument.getCPtr(doc), AtomArray.getCPtr(objects));

            return(ret);
        }
Example #14
0
        public BaseContainer GetAllTextures(bool isNet, AtomArray ar)
        {
            BaseContainer ret = new BaseContainer(C4dApiPINVOKE.BaseDocument_GetAllTextures__SWIG_1(swigCPtr, isNet, AtomArray.getCPtr(ar)), true);

            return(ret);
        }
Example #15
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AtomArray obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #16
0
        public bool Compare(AtomArray cmp)
        {
            bool ret = C4dApiPINVOKE.AtomArray_Compare(swigCPtr, AtomArray.getCPtr(cmp));

            return(ret);
        }
Example #17
0
        public bool Append(AtomArray src)
        {
            bool ret = C4dApiPINVOKE.AtomArray_Append__SWIG_1(swigCPtr, AtomArray.getCPtr(src));

            return(ret);
        }
Example #18
0
        public bool CopyToFilter(AtomArray dest, int type, int instance)
        {
            bool ret = C4dApiPINVOKE.AtomArray_CopyToFilter__SWIG_1(swigCPtr, AtomArray.getCPtr(dest), type, instance);

            return(ret);
        }
Example #19
0
        public bool ReceiveMaterials(BaseObject op, AtomArray mat, bool clearfirst)
        {
            bool ret = C4dApiPINVOKE.BaseDocument_ReceiveMaterials(swigCPtr, BaseObject.getCPtr(op), AtomArray.getCPtr(mat), clearfirst);

            return(ret);
        }
Example #20
0
        public bool Init(int w, int h, BaseDraw bd, AtomArray ar, int mode, bool onlyvisible)
        {
            bool ret = C4dApiPINVOKE.ViewportSelect_Init__SWIG_3(swigCPtr, w, h, BaseDraw.getCPtr(bd), AtomArray.getCPtr(ar), mode, onlyvisible);

            return(ret);
        }
Example #21
0
 public ModelingCommandData(BaseDocument doc, BaseObject op, BaseContainer bc, MODELINGCOMMANDMODE mode, MODELINGCOMMANDFLAGS flags, AtomArray result) : this(C4dApiPINVOKE.new_ModelingCommandData__SWIG_2(BaseDocument.getCPtr(doc), BaseObject.getCPtr(op), BaseContainer.getCPtr(bc), (int)mode, (int)flags, AtomArray.getCPtr(result)), true)
 {
 }
Example #22
0
        public bool CopyTo(AtomArray dest)
        {
            bool ret = C4dApiPINVOKE.AtomArray_CopyTo(swigCPtr, AtomArray.getCPtr(dest));

            return(ret);
        }