14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
139IntPtr tmp_report = Marshal.StringToCoTaskMemUni(report);
140 IntPtr saved_report = tmp_report;
146if (tmp_report != saved_report) report = Marshal.PtrToStringUni(tmp_report);
152 TD_Db.MainHistStreamFuncDelegateNative func_inDelegate =
null;
155 func_inDelegate = (IntPtr __arg) =>
168 IntPtr func_ptr = (func ==
null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func_inDelegate);
169 Teigha.
Core.DelegateHolder.Add(func_inDelegate);
229 IntPtr saved_pCloneModeler = tmp_pCloneModeler;
236if(tmp_pCloneModeler == IntPtr.Zero) pCloneModeler =
null;
237 if(tmp_pCloneModeler != IntPtr.Zero && tmp_pCloneModeler != saved_pCloneModeler)
239 MemoryTransaction mTrans_pCloneModeler = MemoryManager.GetMemoryManager().GetCurrentTransaction();
240 if(mTrans_pCloneModeler !=
null)
static HandleRef getCPtr(OdDbSubentId obj)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdInt32Array obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdDb3dSolid obj)
static HandleRef getCPtr(OdDbEntity obj)
static HandleRef getCPtr(OdDbEntityPtrArray obj)
static HandleRef getCPtr(OdModelerGeometry obj)
delegate void MainHistStreamFuncDelegate(IntPtr __arg)
static global::System.Exception Retrieve()
static int OdModelerTools_getMaxPoint(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdModelerTools_stopThread(HandleRef jarg1)
static int OdModelerTools_cloneAndXform(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, ref IntPtr jarg4)
static void OdModelerTools_executeInMainHistoryStream(HandleRef jarg1, IntPtr jarg2, IntPtr jarg3)
static void OdModelerTools_endThreadSafetyMode(HandleRef jarg1, uint jarg2, IntPtr jarg3)
static int OdModelerTools_setTestMode(HandleRef jarg1, int jarg2)
static bool OdModelerTools_getAdeskCol(HandleRef jarg1, IntPtr jarg2, out uint jarg3)
static string OdModelerTools_getRealClassName(IntPtr jarg1)
static IntPtr OdModelerTools_isA(HandleRef jarg1)
static bool OdModelerTools_startThread(HandleRef jarg1)
static IntPtr OdModelerTools_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdModelerTools_getClosestPoints__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static int OdModelerTools_getClosestPoints__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdModelerTools_check3dSolid(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3)
static IntPtr OdModelerTools_createObject()
static void delete_OdModelerTools(HandleRef jarg1)
static int OdModelerTools_getExtremePoints(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static IntPtr OdModelerTools_desc()
static int OdModelerTools_createHatchFromModelerGeometry(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdModelerTools_beginThreadSafetyMode(HandleRef jarg1, uint jarg2, IntPtr jarg3)
static IntPtr OdModelerTools_cast(HandleRef jarg1)
static int OdModelerTools_getClosestPoints__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static bool OdModelerTools_isThreadStarted(HandleRef jarg1)
static bool OdModelerTools_getAdeskTrueCol(HandleRef jarg1, IntPtr jarg2, out uint jarg3)
static int OdModelerTools_getClosestPoints__SWIG_3(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static int OdModelerTools_deleteModelerBulletins(HandleRef jarg1)