Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxEntityData.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxEntityData : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxEntityData(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxEntityData obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public virtual OdDbObjectId GetId() {
56 return ret;
57 }
58
59 public virtual OdDbObjectId GetLayerId() {
62 return ret;
63 }
64
65 public virtual uint GetDrawOrder() {
68 return ret;
69 }
70
71 public virtual OdRxClass GetClass() {
72 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxEntityData_GetClass(swigCPtr),false); /*createInt 3_2*/
73
75 return ret;
76}
77
78 public virtual CFxEntityData.Flags GetFlags() {
81 return ret;
82 }
83
84 public virtual int GetIndex() {
87 return ret;
88 }
89
90 public virtual bool IsWholeEntitySelected() {
93 return ret;
94 }
95
96 public virtual uint SubentGetLength() {
99 return ret;
100 }
101
102 public virtual bool ContainsSubent(OdDbFullSubentPath path) {
105 return ret;
106 }
107
108 public virtual bool SubentAdd(OdDbFullSubentPath subentPath) {
111 return ret;
112 }
113
114 public virtual bool SubentRemove(OdDbFullSubentPath subentPath) {
117 return ret;
118 }
119
121 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxEntityData_CreateIterator(swigCPtr);
124 return ret;
125 }
126
127 public enum Flags {
128 eUnset = 0x0,
129 eNonAssociative = 0x1,
130 eGroup = 0x2,
131 eHatch = 0x4,
132 eViewport = 0x8
133 }
134
135}
136
137}
virtual OdDbObjectId GetLayerId()
virtual bool IsWholeEntitySelected()
virtual bool ContainsSubent(OdDbFullSubentPath path)
virtual bool SubentRemove(OdDbFullSubentPath subentPath)
virtual CFxEntityData.Flags GetFlags()
static HandleRef getCPtr(CFxEntityData obj)
virtual bool SubentAdd(OdDbFullSubentPath subentPath)
CFxEntityData(IntPtr cPtr, bool cMemoryOwn)
virtual uint SubentGetLength()
virtual OdDbObjectId GetId()
virtual OdRxClass GetClass()
virtual void Dispose(bool disposing)
virtual SWIGTYPE_p_CFxSelectionSet__CFxIteratorT_OdDbFullSubentPath_OdDbFullSubentPath_t CreateIterator()
virtual uint GetDrawOrder()
static global::System.IntPtr CFxEntityData_GetLayerId(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint CFxEntityData_SubentGetLength(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxEntityData_GetIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxEntityData_SubentAdd(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool CFxEntityData_SubentRemove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int CFxEntityData_GetFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxEntityData_GetId(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxEntityData_GetClass(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxEntityData_IsWholeEntitySelected(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint CFxEntityData_GetDrawOrder(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxEntityData_CreateIterator(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxEntityData_ContainsSubent(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_CFxEntityData(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdDbFullSubentPath obj)