Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxCommandContext.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
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public CFxCommandContext(IntPtr cPtr, bool cMemoryOwn) : base(PCADGlobalsPINVOKE.CFxCommandContext_SWIGUpcast(cPtr), cMemoryOwn) {
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(CFxCommandContext obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 protected override void Dispose(bool disposing) {
32 lock(this) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
34 if (swigCMemOwn) {
35 swigCMemOwn = false;
37 }
38 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
39 }
40 base.Dispose(disposing);
41 }
42 }
43
47 return ret;
48 }
49
50 public new static OdRxClass desc() {
51 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxCommandContext_desc(),false); /*createInt 3_2*/
52
54 return ret;
55}
56
57 public override OdRxClass isA() {
58 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),PCADGlobalsPINVOKE.CFxCommandContext_isA(swigCPtr),false); /*createInt 3_2*/
59
61 return ret;
62}
63
64 public override OdRxObject queryX(OdRxClass protocolClass) {
65 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),PCADGlobalsPINVOKE.CFxCommandContext_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
66
68 return ret;
69}
70
74 return ret;
75 }
76
77 public virtual CFxDocument GetFxDocument() {
78 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxCommandContext_GetFxDocument__SWIG_0(swigCPtr);
79 CFxDocument ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxDocument(cPtr, false);
81 return ret;
82 }
83
85 global::System.IntPtr cPtr = PCADGlobalsPINVOKE.CFxCommandContext_GetFxMainSelectionSet(swigCPtr);
86 CFxSelectionSet ret = (cPtr == global::System.IntPtr.Zero) ? null : new CFxSelectionSet(cPtr, false);
88 return ret;
89 }
90
94 return ret;
95 }
96
97 public virtual CFxString GetTopGroupName() {
100 return ret;
101 }
102
103 public virtual void SetTopGroupName(CFxString arg0) {
106 }
107
108 public virtual bool IsQuiescent() {
111 return ret;
112 }
113
114 public virtual bool IsSetVarActive() {
117 return ret;
118 }
119
120 public virtual bool IsCommandActive() {
123 return ret;
124 }
125
126 public virtual bool IsLISPActive() {
129 return ret;
130 }
131
132 public virtual bool IsTransparentCommandActive() {
135 return ret;
136 }
137
138 public virtual bool IsScriptActive() {
141 return ret;
142 }
143
144 public virtual bool IsMultipleActive() {
147 return ret;
148 }
149
150 public virtual uint GetCommandStackDepth() {
153 return ret;
154 }
155
156 public virtual int GetInitdia() {
159 return ret;
160 }
161
162 public virtual void SetExpressionToExecute(OdResBuf rbExpr) {
165 }
166
167}
168
169}
CFxCommandContext(IntPtr cPtr, bool cMemoryOwn)
virtual CFxSelectionSet GetFxMainSelectionSet()
override OdRxObject queryX(OdRxClass protocolClass)
virtual CFxString GetTopGroupName()
virtual void SetTopGroupName(CFxString arg0)
virtual void SetExpressionToExecute(OdResBuf rbExpr)
virtual CFxString GetActiveCommandName()
static HandleRef getCPtr(CFxCommandContext obj)
override void Dispose(bool disposing)
static SWIGTYPE_p_OdSmartPtrT_CFxCommandContext_t cast(OdRxObject pObj)
static SWIGTYPE_p_OdSmartPtrT_CFxCommandContext_t createObject()
virtual CFxDocument GetFxDocument()
static new OdRxClass desc()
static HandleRef getCPtr(CFxString obj)
Definition: CFxString.cs:28
static global::System.IntPtr CFxCommandContext_GetTopGroupName(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint CFxCommandContext_GetCommandStackDepth(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxCommandContext_desc()
static global::System.IntPtr CFxCommandContext_GetFxMainSelectionSet(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxCommandContext_IsTransparentCommandActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxCommandContext_IsSetVarActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxCommandContext_IsLISPActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_CFxCommandContext(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxCommandContext_createObject()
static global::System.IntPtr CFxCommandContext_cast(HandleRef jarg1)
static bool CFxCommandContext_IsCommandActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxCommandContext_IsMultipleActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxCommandContext_IsQuiescent(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxCommandContext_SetTopGroupName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr CFxCommandContext_queryX(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static int CFxCommandContext_GetInitdia(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxCommandContext_GetActiveCommandName(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxCommandContext_GetFxDocument__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxCommandContext_IsScriptActive(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr CFxCommandContext_isA(global::System.Runtime.InteropServices.HandleRef jarg1)
static void CFxCommandContext_SetExpressionToExecute(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdResBuf obj)
Definition: OdResBuf.cs:26