Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbBaseDatabasePE.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdDbBaseDatabasePE(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdDbBaseDatabasePE_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdDbBaseDatabasePE obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public static OdDbBaseDatabasePE cast(OdRxObject pObj) {// OdSmartPtr<OdDbBaseDatabasePE>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdDbBaseDatabasePE ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdDbBaseDatabasePE)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbBaseDatabasePE),ptr, true));
51 ret = (OdDbBaseDatabasePE)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbBaseDatabasePE),ptr, false);
52 }
53 else
54 {
55 ret = (OdDbBaseDatabasePE)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbBaseDatabasePE),ptr, true);
56 }
57
59 return ret;
60}
61
62 public new static OdRxClass desc() {
63 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdDbBaseDatabasePE_desc(),false); /*createInt 3_2*/
64
66 return ret;
67}
68
69 public override OdRxClass isA() {
70 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdDbBaseDatabasePE_isA(swigCPtr),false); /*createInt 3_2*/
71
73 return ret;
74}
75
76 public override OdRxObject queryX(OdRxClass protocolClass) {
77 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdDbBaseDatabasePE_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdDbBaseDatabasePE createObject() {// OdSmartPtr<OdDbBaseDatabasePE>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdDbBaseDatabasePE ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdDbBaseDatabasePE)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbBaseDatabasePE),ptr, true));
92 ret = (OdDbBaseDatabasePE)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbBaseDatabasePE),ptr, false);
93 }
94 else
95 {
96 ret = (OdDbBaseDatabasePE)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbBaseDatabasePE),ptr, true);
97 }
98
100 return ret;
101}
102
104 OdDbBaseHostAppServices ret = (OdDbBaseHostAppServices)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbBaseHostAppServices),GlobalsPINVOKE.OdDbBaseDatabasePE_appServices(swigCPtr, OdRxObject.getCPtr(pDb)),false); /*createInt 3_2*/
105
107 return ret;
108}
109
110 public virtual String getFilename(OdRxObject pDb) {
113 return ret;
114}
115
116 public virtual void startTransaction(OdRxObject pDb) {
119 }
120
121 public virtual void abortTransaction(OdRxObject pDb) {
124 }
125
126 public virtual OdResult startUndoRecord(OdRxObject pDb) {
129 return ret;
130 }
131
132 public virtual OdResult evaluateFields(OdRxObject pDb, int nContext) {
135 return ret;
136 }
137
138 public virtual OdResult undo(OdRxObject pDb) {
141 return ret;
142 }
143
144 public virtual OdGiDefaultContext createGiContext(OdRxObject pDb) {// OdGiDefaultContextPtr
145 MemoryManager mMan = MemoryManager.GetMemoryManager();
146 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
148
149 OdGiDefaultContext ret = null;
150 if (null != mTrans)
151 {
152 mTrans.AddObject((OdGiDefaultContext)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDefaultContext),ptr, true));
153 ret = (OdGiDefaultContext)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDefaultContext),ptr, false);
154 }
155 else
156 {
157 ret = (OdGiDefaultContext)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDefaultContext),ptr, true);
158 }
159
161 return ret;
162}
163
164 public virtual void putNamedViewInfo(OdRxObject pDb, OdDbStub layoutId, OdStringArray names, OdGePoint3dArray points) {
167 }
168
169 public virtual OdBaseTextIterator createTextIterator(OdRxObject db, String textString, int length, bool raw, OdGiTextStyle pTextStyle) {// OdBaseTextIteratorPtr
170 MemoryManager mMan = MemoryManager.GetMemoryManager();
171 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
172 IntPtr ptr = GlobalsPINVOKE.OdDbBaseDatabasePE_createTextIterator(swigCPtr, OdRxObject.getCPtr(db), textString, length, raw, OdGiTextStyle.getCPtr(pTextStyle));
173
174 OdBaseTextIterator ret = null;
175 if (null != mTrans)
176 {
177 mTrans.AddObject((OdBaseTextIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdBaseTextIterator),ptr, true));
178 ret = (OdBaseTextIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdBaseTextIterator),ptr, false);
179 }
180 else
181 {
182 ret = (OdBaseTextIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdBaseTextIterator),ptr, true);
183 }
184
186 return ret;
187}
188
189 public virtual OdGsDevice setupActiveLayoutViews(OdGsDevice pDevice, OdGiDefaultContext pGiCtx) {// OdGsDevicePtr
190 MemoryManager mMan = MemoryManager.GetMemoryManager();
191 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
193
194 OdGsDevice ret = null;
195 if (null != mTrans)
196 {
197 mTrans.AddObject((OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true));
198 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, false);
199 }
200 else
201 {
202 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true);
203 }
204
206 return ret;
207}
208
209 public virtual OdGsDevice setupLayoutView(OdGsDevice pDevice, OdGiDefaultContext pGiCtx, OdDbStub layoutId) {// OdGsDevicePtr
210 MemoryManager mMan = MemoryManager.GetMemoryManager();
211 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
213
214 OdGsDevice ret = null;
215 if (null != mTrans)
216 {
217 mTrans.AddObject((OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true));
218 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, false);
219 }
220 else
221 {
222 ret = (OdGsDevice)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGsDevice),ptr, true);
223 }
224
226 return ret;
227}
228
229 public virtual void setupPalette(OdGsDevice device, OdGiDefaultContext giContext, OdDbStub layoutId, UInt32 /*SIMPLETYPE*/ palBg) {
230 GlobalsPINVOKE.OdDbBaseDatabasePE_setupPalette__SWIG_0(swigCPtr, OdGsDevice.getCPtr(device), OdGiDefaultContext.getCPtr(giContext), OdDbStub.getCPtr(layoutId), palBg /*SIMPLETYPE*/);
232 }
233
234 public virtual void setupPalette(OdGsDevice device, OdGiDefaultContext giContext, OdDbStub layoutId) {
237 }
238
239 public virtual void setupPalette(OdGsDevice device, OdGiDefaultContext giContext) {
242 }
243
245 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getNextViewForActiveLayout(swigCPtr, OdGiDefaultContext.getCPtr(pGiCtx), OdDbStub.getCPtr(arg1));
246 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
248 return ret;
249 }
250
251 public virtual void applyLayoutSettings(OdGsDCRect clipBox, OdGsDevice pDevice, OdRxObject db, UInt32 /*SIMPLETYPE*/ extentsFlags, UInt32 /*SIMPLETYPE*/ dpi) {
252 GlobalsPINVOKE.OdDbBaseDatabasePE_applyLayoutSettings__SWIG_0(swigCPtr, OdGsDCRect.getCPtr(clipBox), OdGsDevice.getCPtr(pDevice), OdRxObject.getCPtr(db), extentsFlags /*SIMPLETYPE*/, dpi /*SIMPLETYPE*/);
254 }
255
256 public virtual void applyLayoutSettings(OdGsDCRect clipBox, OdGsDevice pDevice, OdRxObject db, UInt32 /*SIMPLETYPE*/ extentsFlags) {
257 GlobalsPINVOKE.OdDbBaseDatabasePE_applyLayoutSettings__SWIG_1(swigCPtr, OdGsDCRect.getCPtr(clipBox), OdGsDevice.getCPtr(pDevice), OdRxObject.getCPtr(db), extentsFlags /*SIMPLETYPE*/);
259 }
260
261 public virtual void applyLayoutSettings(OdGsDCRect clipBox, OdGsDevice pDevice, OdRxObject db) {
264 }
265
266 public virtual void zoomToExtents(OdGsDCRect outputRect, OdGsDevice pDevice, OdRxObject db, OdGeBoundBlock3d plotExtents, UInt32 /*SIMPLETYPE*/ extentsFlags, OdDbStub objectId) {
267 GlobalsPINVOKE.OdDbBaseDatabasePE_zoomToExtents__SWIG_0(swigCPtr, OdGsDCRect.getCPtr(outputRect), OdGsDevice.getCPtr(pDevice), OdRxObject.getCPtr(db), OdGeBoundBlock3d.getCPtr(plotExtents), extentsFlags /*SIMPLETYPE*/, OdDbStub.getCPtr(objectId));
269 }
270
271 public virtual void zoomToExtents(OdGsDCRect outputRect, OdGsDevice pDevice, OdRxObject db, OdGeBoundBlock3d plotExtents, UInt32 /*SIMPLETYPE*/ extentsFlags) {
272 GlobalsPINVOKE.OdDbBaseDatabasePE_zoomToExtents__SWIG_1(swigCPtr, OdGsDCRect.getCPtr(outputRect), OdGsDevice.getCPtr(pDevice), OdRxObject.getCPtr(db), OdGeBoundBlock3d.getCPtr(plotExtents), extentsFlags /*SIMPLETYPE*/);
274 }
275
276 public virtual void zoomToExtents(OdGsDCRect outputRect, OdGsDevice pDevice, OdRxObject db, OdGeBoundBlock3d plotExtents) {
279 }
280
284 }
285
286 public virtual OdRxIterator layers(OdRxObject db) {// OdRxIteratorPtr
287 MemoryManager mMan = MemoryManager.GetMemoryManager();
288 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
290
291 OdRxIterator ret = null;
292 if (null != mTrans)
293 {
294 mTrans.AddObject((OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, true));
295 ret = (OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, false);
296 }
297 else
298 {
299 ret = (OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, true);
300 }
301
303 return ret;
304}
305
306 public virtual OdRxIterator visualStyles(OdRxObject db) {// OdRxIteratorPtr
307 MemoryManager mMan = MemoryManager.GetMemoryManager();
308 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
310
311 OdRxIterator ret = null;
312 if (null != mTrans)
313 {
314 mTrans.AddObject((OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, true));
315 ret = (OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, false);
316 }
317 else
318 {
319 ret = (OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, true);
320 }
321
323 return ret;
324}
325
326 public virtual OdDbStub getVisualStyleId(OdRxObject db, String name) {
327 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getVisualStyleId(swigCPtr, OdRxObject.getCPtr(db), name);
328 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
330 return ret;
331 }
332
333 public OdRxObject currentLayout(OdRxObject pDb) {// OdRxObjectPtr
334 MemoryManager mMan = MemoryManager.GetMemoryManager();
335 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
337
338 OdRxObject ret = null;
339 if (null != mTrans)
340 {
341 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
342 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
343 }
344 else
345 {
346 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
347 }
348
350 return ret;
351}
352
353 public virtual void setCurrentLayout(OdRxObject db, String name) {
356 }
357
358 public virtual OdRxIterator layouts(OdRxObject db) {// OdRxIteratorPtr
359 MemoryManager mMan = MemoryManager.GetMemoryManager();
360 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
362
363 OdRxIterator ret = null;
364 if (null != mTrans)
365 {
366 mTrans.AddObject((OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, true));
367 ret = (OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, false);
368 }
369 else
370 {
371 ret = (OdRxIterator)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxIterator),ptr, true);
372 }
373
375 return ret;
376}
377
378 public virtual OdRxObject getLayout(OdRxObject pDb, String name) {// OdRxObjectPtr
379 MemoryManager mMan = MemoryManager.GetMemoryManager();
380 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
381 IntPtr ptr = GlobalsPINVOKE.OdDbBaseDatabasePE_getLayout(swigCPtr, OdRxObject.getCPtr(pDb), name);
382
383 OdRxObject ret = null;
384 if (null != mTrans)
385 {
386 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
387 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
388 }
389 else
390 {
391 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
392 }
393
395 return ret;
396}
397
398 public OdRxObject findLayoutByViewport(OdRxObject db, OdDbStub pViewportId) {// OdRxObjectPtr
399 MemoryManager mMan = MemoryManager.GetMemoryManager();
400 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
402
403 OdRxObject ret = null;
404 if (null != mTrans)
405 {
406 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
407 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
408 }
409 else
410 {
411 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
412 }
413
415 return ret;
416}
417
418 public virtual OdDbStub findLayoutIdByViewport(OdRxObject db, OdDbStub pViewportId) {
419 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_findLayoutIdByViewport(swigCPtr, OdRxObject.getCPtr(db), OdDbStub.getCPtr(pViewportId));
420 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
422 return ret;
423 }
424
425 public virtual OdDbStub findLayoutNamed(OdRxObject db, String name) {
426 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_findLayoutNamed(swigCPtr, OdRxObject.getCPtr(db), name);
427 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
429 return ret;
430 }
431
432 public OdRxObject getFirstLayout(OdRxObject db) {// OdRxObjectPtr
433 MemoryManager mMan = MemoryManager.GetMemoryManager();
434 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
436
437 OdRxObject ret = null;
438 if (null != mTrans)
439 {
440 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
441 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
442 }
443 else
444 {
445 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
446 }
447
449 return ret;
450}
451
453 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getFirstLayoutId(swigCPtr, OdRxObject.getCPtr(db));
454 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
456 return ret;
457 }
458
462 return ret;
463 }
464
468 return ret;
469 }
470
474 return ret;
475}
476
477 public virtual String getVersionGuid(OdRxObject db) {
480 return ret;
481}
482
483 public virtual int getUnits(OdRxObject db) {
486 return ret;
487 }
488
490 OdUnitsFormatter ret = (OdUnitsFormatter)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdUnitsFormatter),GlobalsPINVOKE.OdDbBaseDatabasePE_baseFormatter(swigCPtr, OdRxObject.getCPtr(db)),false); /*createInt 3_2*/
491
493 return ret;
494}
495
496 public virtual int getMeasurement(OdRxObject db) {
499 return ret;
500 }
501
502 public virtual bool getLineTypeById(OdRxObject db, OdDbStub pLTypeId, OdGiLinetype LType) {
505 return ret;
506 }
507
508 public virtual bool getTextStyleById(OdRxObject db, OdDbStub idStyle, OdGiTextStyle shapeInfo) {
511 return ret;
512 }
513
514 public virtual OdDbStub getId(OdRxObject obj) {
515 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getId(swigCPtr, OdRxObject.getCPtr(obj));
516 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
518 return ret;
519 }
520
521 public virtual OdDbStub getObject(OdRxObject db, UInt64 /*SIMPLETYPE*/ handle) {
522 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getObject(swigCPtr, OdRxObject.getCPtr(db), handle /*SIMPLETYPE*/);
523 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
525 return ret;
526 }
527
528 public virtual OdDbHandle getHandle(OdDbStub id) {
531 return ret;
532 }
533
534 public virtual OdRxObject getDatabase(OdDbStub id) {
535 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdDbBaseDatabasePE_getDatabase(swigCPtr, OdDbStub.getCPtr(id)),false); /*createInt 3_2*/
536
538 return ret;
539}
540
541 public virtual OdDbStub getOwner(OdDbStub id) {
542 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getOwner(swigCPtr, OdDbStub.getCPtr(id));
543 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
545 return ret;
546 }
547
551 return ret;
552 }
553
554 public virtual OdDbStub getModelBlockId(OdRxObject pDb) {
555 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getModelBlockId(swigCPtr, OdRxObject.getCPtr(pDb));
556 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
558 return ret;
559 }
560
561 public virtual OdDbStub getPaperBlockId(OdRxObject pDb) {
562 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getPaperBlockId(swigCPtr, OdRxObject.getCPtr(pDb));
563 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
565 return ret;
566 }
567
568 public virtual OdDbStub currentLayoutId(OdRxObject pDb) {
569 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_currentLayoutId(swigCPtr, OdRxObject.getCPtr(pDb));
570 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
572 return ret;
573 }
574
575 public virtual OdDbStub xrefBlockId(OdRxObject pDb) {
576 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_xrefBlockId(swigCPtr, OdRxObject.getCPtr(pDb));
577 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
579 return ret;
580 }
581
582 public virtual void setMultiThreadedRender(OdRxObject pDb, bool bOn) {
585 }
586
587 public virtual bool isExclusiveReadingEnabled(OdRxObject pDb) {
590 return ret;
591 }
592
593 public virtual bool isAProxy(OdRxObject pDrw) {
596 return ret;
597 }
598
599 public virtual OdRxObject openObject(OdDbStub pId) {// OdRxObjectPtr
600 MemoryManager mMan = MemoryManager.GetMemoryManager();
601 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
603
604 OdRxObject ret = null;
605 if (null != mTrans)
606 {
607 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
608 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
609 }
610 else
611 {
612 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
613 }
614
616 return ret;
617}
618
619 public virtual OdRxObject openObject(OdDbStub pId, bool bForWrite) {// OdRxObjectPtr
620 MemoryManager mMan = MemoryManager.GetMemoryManager();
621 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
622 IntPtr ptr = GlobalsPINVOKE.OdDbBaseDatabasePE_openObject__SWIG_1(swigCPtr, OdDbStub.getCPtr(pId), bForWrite);
623
624 OdRxObject ret = null;
625 if (null != mTrans)
626 {
627 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
628 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
629 }
630 else
631 {
632 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
633 }
634
636 return ret;
637}
638
639 public virtual bool upgradeOpen(OdRxObject pObj) {
642 return ret;
643 }
644
645 public virtual void downgradeOpen(OdRxObject pObj) {
648 }
649
650 public virtual bool getAnnoScaleSet(OdDbStub drawableId, OdGiAnnoScaleSet res) {
653 return ret;
654 }
655
657 global::System.IntPtr cPtr = GlobalsPINVOKE.OdDbBaseDatabasePE_getCurrentLongTransation(swigCPtr, OdRxObject.getCPtr(pDb));
658 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
660 return ret;
661 }
662
663 public class DatabaseUnloadReactor : global::System.IDisposable {
664 private Object locker = new Object();
665 private HandleRef swigCPtr;
666 protected bool swigCMemOwn;
667 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
668 public DatabaseUnloadReactor(IntPtr cPtr, bool cMemoryOwn) {
669 swigCMemOwn = cMemoryOwn;
670 swigCPtr = new HandleRef(this, cPtr);
671 }
672 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
673 public static HandleRef getCPtr(DatabaseUnloadReactor obj) {
674 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
675 }
676
678 Dispose(false);
679 }
680
681 public void Dispose() {
682 Dispose(true);
683 global::System.GC.SuppressFinalize(this);
684 }
685
686 protected virtual void Dispose(bool disposing) {
687 lock(this) {
688 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
689 if (swigCMemOwn) {
690 swigCMemOwn = false;
692 }
693 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
694 }
695 }
696 }
697
698 public virtual void goodbye(OdRxObject pDb) {
701 }
702
703 }
704
705 public virtual OdRxObject addDatabaseUnloadReactor(OdRxObject pDb, OdRxObject pPrevReactor, OdDbBaseDatabasePE.DatabaseUnloadReactor pReactorRedirect) {// OdRxObjectPtr
706 MemoryManager mMan = MemoryManager.GetMemoryManager();
707 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
709
710 OdRxObject ret = null;
711 if (null != mTrans)
712 {
713 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
714 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
715 }
716 else
717 {
718 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
719 }
720
722 return ret;
723}
724
725 public virtual void removeDatabaseUnloadReactor(OdRxObject pDb, OdRxObject pReactor) {
728 }
729
730 public virtual OdResult faceConversionHelper(OdDbStub material, OdRxObject pSourceDb, OdRxObject pDestinationDb, OdGiMaterialTraits pMaterialTraits, OdGiMapper pMaterialMapper, OdCmEntityColor pMaterialColor) {
731 OdResult ret = (OdResult)GlobalsPINVOKE.OdDbBaseDatabasePE_faceConversionHelper__SWIG_0(swigCPtr, OdDbStub.getCPtr(material).Handle, OdRxObject.getCPtr(pSourceDb), OdRxObject.getCPtr(pDestinationDb), OdGiMaterialTraits.getCPtr(pMaterialTraits), OdGiMapper.getCPtr(pMaterialMapper), OdCmEntityColor.getCPtr(pMaterialColor));
733 return ret;
734 }
735
736 public virtual OdResult faceConversionHelper(OdDbStub material, OdRxObject pSourceDb, OdRxObject pDestinationDb, OdGiMaterialTraits pMaterialTraits, OdGiMapper pMaterialMapper) {
737 OdResult ret = (OdResult)GlobalsPINVOKE.OdDbBaseDatabasePE_faceConversionHelper__SWIG_1(swigCPtr, OdDbStub.getCPtr(material).Handle, OdRxObject.getCPtr(pSourceDb), OdRxObject.getCPtr(pDestinationDb), OdGiMaterialTraits.getCPtr(pMaterialTraits), OdGiMapper.getCPtr(pMaterialMapper));
739 return ret;
740 }
741
742 public virtual OdResult faceConversionHelper(OdDbStub material, OdRxObject pSourceDb, OdRxObject pDestinationDb, OdGiMaterialTraits pMaterialTraits) {
745 return ret;
746 }
747
748 public virtual bool getDatabasePartialViewingMode(OdRxObject pDb) {
751 return ret;
752 }
753
754 public virtual Int16 getObscuredLtype(OdRxObject db, out Int16 /*SIMPLETYPE*/ color) {
755// test csout
756 /*SIMPLETYPE*/
757 Int16 ret = GlobalsPINVOKE.OdDbBaseDatabasePE_getObscuredLtype(swigCPtr, OdRxObject.getCPtr(db), out color);
759 return ret;
760 }
761
762 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
763 string ret = GlobalsPINVOKE.OdDbBaseDatabasePE_getRealClassName(ptr /*SIMPLETYPE*/);
765 return ret;
766 }
767
768 public enum ExtentsFlags {
769 kZeroFlags = 0,
770 kExactExtents = 1,
771 kUseViewExtents = 2,
773 kUseGivenView = 8,
774 kClipDisabled = 0x10000000
775 }
776
777}
778
779}
static global::System.Exception Retrieve()
static global::System.IntPtr OdDbBaseDatabasePE_getFirstLayoutId(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_layers(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_putNamedViewInfo(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static IntPtr OdDbBaseDatabasePE_appServices(HandleRef jarg1, HandleRef jarg2)
static String OdDbBaseDatabasePE_getFilename(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_startTransaction(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_setupActiveLayoutViews(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static int OdDbBaseDatabasePE_faceConversionHelper__SWIG_2(HandleRef jarg1, IntPtr jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5)
static global::System.IntPtr OdDbBaseDatabasePE_getOwner(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_layouts(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_baseFormatter(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_downgradeOpen(HandleRef jarg1, HandleRef jarg2)
static string OdDbBaseDatabasePE_getRealClassName(IntPtr jarg1)
static bool OdDbBaseDatabasePE_getLineTypeById(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdDbBaseDatabasePE_setupPalette__SWIG_0(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, UInt32 jarg5)
static global::System.IntPtr OdDbBaseDatabasePE_findLayoutNamed(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static String OdDbBaseDatabasePE_getFingerPrintGuid(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_setupLayoutView(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDbBaseDatabasePE_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_currentLayout(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_loadPlotstyleTableForActiveLayout(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static int OdDbBaseDatabasePE_startUndoRecord(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_zoomToExtents__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, UInt32 jarg6)
static int OdDbBaseDatabasePE_undo(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_applyLayoutSettings__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, UInt32 jarg5, UInt32 jarg6)
static global::System.IntPtr OdDbBaseDatabasePE_getObject(HandleRef jarg1, HandleRef jarg2, UInt64 jarg3)
static global::System.IntPtr OdDbBaseDatabasePE_currentLayoutId(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_visualStyles(HandleRef jarg1, HandleRef jarg2)
static bool OdDbBaseDatabasePE_getTextStyleById(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdDbBaseDatabasePE_applyLayoutSettings__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4)
static bool OdDbBaseDatabasePE_upgradeOpen(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_removeDatabaseUnloadReactor(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static IntPtr OdDbBaseDatabasePE_cast(HandleRef jarg1)
static bool OdDbBaseDatabasePE_getDatabasePartialViewingMode(HandleRef jarg1, HandleRef jarg2)
static int OdDbBaseDatabasePE_evaluateFields(HandleRef jarg1, HandleRef jarg2, int jarg3)
static IntPtr OdDbBaseDatabasePE_openObject__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void OdDbBaseDatabasePE_zoomToExtents__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, UInt32 jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static IntPtr OdDbBaseDatabasePE_desc()
static global::System.IntPtr OdDbBaseDatabasePE_getId(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_openObject__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbBaseDatabasePE_zoomToExtents__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr OdDbBaseDatabasePE_getPaperBlockId(HandleRef jarg1, HandleRef jarg2)
static int OdDbBaseDatabasePE_faceConversionHelper__SWIG_0(HandleRef jarg1, IntPtr jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static void OdDbBaseDatabasePE_abortTransaction(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbBaseDatabasePE_xrefBlockId(HandleRef jarg1, HandleRef jarg2)
static void delete_OdDbBaseDatabasePE_DatabaseUnloadReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int16 OdDbBaseDatabasePE_getObscuredLtype(HandleRef jarg1, HandleRef jarg2, out Int16 jarg3)
static IntPtr OdDbBaseDatabasePE_getDatabase(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbBaseDatabasePE_getAnnoScaleSet(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbBaseDatabasePE_createTextIterator(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, int jarg4, bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static bool OdDbBaseDatabasePE_isAProxy(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_getLayout(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static void OdDbBaseDatabasePE_setupPalette__SWIG_1(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdDbBaseDatabasePE_isExclusiveReadingEnabled(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_findLayoutByViewport(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbBaseDatabasePE_isA(HandleRef jarg1)
static global::System.IntPtr OdDbBaseDatabasePE_getHandle(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbBaseDatabasePE_getCurrentLongTransation(HandleRef jarg1, HandleRef jarg2)
static int OdDbBaseDatabasePE_faceConversionHelper__SWIG_1(HandleRef jarg1, IntPtr jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDbBaseDatabasePE_getMeasurement(HandleRef jarg1, HandleRef jarg2)
static int OdDbBaseDatabasePE_getCodePage(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_setupPalette__SWIG_2(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static int OdDbBaseDatabasePE_getUnits(HandleRef jarg1, HandleRef jarg2)
static void delete_OdDbBaseDatabasePE(HandleRef jarg1)
static void OdDbBaseDatabasePE_applyLayoutSettings__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, UInt32 jarg5)
static global::System.IntPtr OdDbBaseDatabasePE_findLayoutIdByViewport(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static String OdDbBaseDatabasePE_getVersionGuid(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbBaseDatabasePE_getVisualStyleId(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static IntPtr OdDbBaseDatabasePE_getFirstLayout(HandleRef jarg1, HandleRef jarg2)
static void OdDbBaseDatabasePE_DatabaseUnloadReactor_goodbye(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbBaseDatabasePE_getModelBlockId(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_addDatabaseUnloadReactor(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdDbBaseDatabasePE_getNextViewForActiveLayout(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDbBaseDatabasePE_setCurrentLayout(HandleRef jarg1, HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static global::System.IntPtr OdDbBaseDatabasePE_getCreationTime(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbBaseDatabasePE_createObject()
static void OdDbBaseDatabasePE_setMultiThreadedRender(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static IntPtr OdDbBaseDatabasePE_createGiContext(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbBaseDatabasePE_getUpdateTime(HandleRef jarg1, HandleRef jarg2)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(DatabaseUnloadReactor obj)
OdDbBaseDatabasePE(IntPtr cPtr, bool cMemoryOwn)
virtual OdResult faceConversionHelper(OdDbStub material, OdRxObject pSourceDb, OdRxObject pDestinationDb, OdGiMaterialTraits pMaterialTraits)
virtual Int16 getObscuredLtype(OdRxObject db, out Int16 color)
virtual OdUnitsFormatter baseFormatter(OdRxObject db)
virtual OdDbStub getModelBlockId(OdRxObject pDb)
virtual void startTransaction(OdRxObject pDb)
virtual OdRxObject addDatabaseUnloadReactor(OdRxObject pDb, OdRxObject pPrevReactor, OdDbBaseDatabasePE.DatabaseUnloadReactor pReactorRedirect)
override OdRxObject queryX(OdRxClass protocolClass)
virtual void zoomToExtents(OdGsDCRect outputRect, OdGsDevice pDevice, OdRxObject db, OdGeBoundBlock3d plotExtents)
virtual OdDbStub getCurrentLongTransation(OdRxObject pDb)
virtual String getVersionGuid(OdRxObject db)
virtual OdGsDevice setupLayoutView(OdGsDevice pDevice, OdGiDefaultContext pGiCtx, OdDbStub layoutId)
virtual void applyLayoutSettings(OdGsDCRect clipBox, OdGsDevice pDevice, OdRxObject db, UInt32 extentsFlags, UInt32 dpi)
virtual OdBaseTextIterator createTextIterator(OdRxObject db, String textString, int length, bool raw, OdGiTextStyle pTextStyle)
virtual void abortTransaction(OdRxObject pDb)
virtual OdDbStub getObject(OdRxObject db, UInt64 handle)
virtual OdDbStub getPaperBlockId(OdRxObject pDb)
virtual bool getTextStyleById(OdRxObject db, OdDbStub idStyle, OdGiTextStyle shapeInfo)
virtual OdGiDefaultContext createGiContext(OdRxObject pDb)
virtual OdRxObject openObject(OdDbStub pId, bool bForWrite)
virtual bool isExclusiveReadingEnabled(OdRxObject pDb)
virtual OdDbStub getFirstLayoutId(OdRxObject db)
virtual OdRxIterator layouts(OdRxObject db)
virtual OdRxObject openObject(OdDbStub pId)
OdRxObject currentLayout(OdRxObject pDb)
virtual bool getDatabasePartialViewingMode(OdRxObject pDb)
virtual OdCodePageId getCodePage(OdRxObject db)
virtual OdDbStub getNextViewForActiveLayout(OdGiDefaultContext pGiCtx, OdDbStub arg1)
virtual OdResult undo(OdRxObject pDb)
virtual OdDbStub xrefBlockId(OdRxObject pDb)
virtual OdDbStub getId(OdRxObject obj)
virtual OdDbStub findLayoutNamed(OdRxObject db, String name)
static string getRealClassName(IntPtr ptr)
virtual void downgradeOpen(OdRxObject pObj)
virtual void applyLayoutSettings(OdGsDCRect clipBox, OdGsDevice pDevice, OdRxObject db, UInt32 extentsFlags)
static OdDbBaseDatabasePE cast(OdRxObject pObj)
virtual void loadPlotstyleTableForActiveLayout(OdGiDefaultContext pDwgContext, OdRxObject db)
virtual OdTimeStamp getCreationTime(OdRxObject db)
OdRxObject findLayoutByViewport(OdRxObject db, OdDbStub pViewportId)
virtual OdDbStub getVisualStyleId(OdRxObject db, String name)
virtual OdRxIterator visualStyles(OdRxObject db)
virtual void removeDatabaseUnloadReactor(OdRxObject pDb, OdRxObject pReactor)
virtual OdTimeStamp getUpdateTime(OdRxObject db)
virtual bool getLineTypeById(OdRxObject db, OdDbStub pLTypeId, OdGiLinetype LType)
virtual bool isAProxy(OdRxObject pDrw)
virtual OdResult faceConversionHelper(OdDbStub material, OdRxObject pSourceDb, OdRxObject pDestinationDb, OdGiMaterialTraits pMaterialTraits, OdGiMapper pMaterialMapper, OdCmEntityColor pMaterialColor)
virtual void zoomToExtents(OdGsDCRect outputRect, OdGsDevice pDevice, OdRxObject db, OdGeBoundBlock3d plotExtents, UInt32 extentsFlags, OdDbStub objectId)
static OdDbBaseDatabasePE createObject()
virtual OdDbBaseHostAppServices appServices(OdRxObject pDb)
virtual int getUnits(OdRxObject db)
virtual OdDbStub getOwner(OdDbStub id)
OdRxObject getFirstLayout(OdRxObject db)
virtual int getMeasurement(OdRxObject db)
override void Dispose(bool disposing)
virtual bool getAnnoScaleSet(OdDbStub drawableId, OdGiAnnoScaleSet res)
virtual OdDbStub currentLayoutId(OdRxObject pDb)
virtual void zoomToExtents(OdGsDCRect outputRect, OdGsDevice pDevice, OdRxObject db, OdGeBoundBlock3d plotExtents, UInt32 extentsFlags)
virtual OdRxObject getDatabase(OdDbStub id)
virtual void setupPalette(OdGsDevice device, OdGiDefaultContext giContext)
virtual void putNamedViewInfo(OdRxObject pDb, OdDbStub layoutId, OdStringArray names, OdGePoint3dArray points)
virtual OdResult faceConversionHelper(OdDbStub material, OdRxObject pSourceDb, OdRxObject pDestinationDb, OdGiMaterialTraits pMaterialTraits, OdGiMapper pMaterialMapper)
virtual OdGsDevice setupActiveLayoutViews(OdGsDevice pDevice, OdGiDefaultContext pGiCtx)
virtual void setCurrentLayout(OdRxObject db, String name)
virtual OdResult evaluateFields(OdRxObject pDb, int nContext)
virtual void applyLayoutSettings(OdGsDCRect clipBox, OdGsDevice pDevice, OdRxObject db)
virtual OdDbStub findLayoutIdByViewport(OdRxObject db, OdDbStub pViewportId)
virtual bool upgradeOpen(OdRxObject pObj)
static HandleRef getCPtr(OdDbBaseDatabasePE obj)
virtual String getFilename(OdRxObject pDb)
virtual String getFingerPrintGuid(OdRxObject db)
virtual OdRxObject getLayout(OdRxObject pDb, String name)
virtual void setupPalette(OdGsDevice device, OdGiDefaultContext giContext, OdDbStub layoutId, UInt32 palBg)
virtual OdDbHandle getHandle(OdDbStub id)
virtual OdRxIterator layers(OdRxObject db)
virtual OdResult startUndoRecord(OdRxObject pDb)
virtual void setMultiThreadedRender(OdRxObject pDb, bool bOn)
virtual void setupPalette(OdGsDevice device, OdGiDefaultContext giContext, OdDbStub layoutId)
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdGeBoundBlock3d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGiAnnoScaleSet obj)
static HandleRef getCPtr(OdGiDefaultContext obj)
static HandleRef getCPtr(OdGiLinetype obj)
Definition: OdGiLinetype.cs:26
static HandleRef getCPtr(OdGiMapper obj)
Definition: OdGiMapper.cs:26
static HandleRef getCPtr(OdGiMaterialTraits obj)
static HandleRef getCPtr(OdGiTextStyle obj)
static HandleRef getCPtr(OdGsDCRect obj)
Definition: OdGsDCRect.cs:26
static HandleRef getCPtr(OdGsDevice obj)
Definition: OdGsDevice.cs:25
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdStringArray obj)