Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
DwgConstraintCreation.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class DwgConstraintCreation : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public DwgConstraintCreation(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(DwgConstraintCreation obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
57
63
69
75
81
87
93
99
105
106 public virtual OdResult createFixConstraint(OdDbDatabase pDatabase, OdDbObjectId entId, OdGePoint3d ptEnt, bool bFixEntireObj) {
109 return ret;
110 }
111
117
123
129
135
141
147
153
159
165
171
177
183
189
190 public virtual OdResult createUserParameter(OdDbDatabase pDatabase, OdDbObjectId paramId, String name, String expression, double value) {
193 return ret;
194 }
195
196 public virtual OdResult createUserParameter(OdDbDatabase pDatabase, OdDbObjectId paramId, String name, String expression) {
199 return ret;
200 }
201
207
208 public virtual OdResult deleteParameter(OdDbDatabase pDatabase, OdDbObjectId paramId, bool autoDereference) {
211 return ret;
212 }
213
219
225
226 public virtual OdResult dereferenceParameter(OdDbObjectId modifiedParamId, OdDbObjectId referencedParamId) {
229 return ret;
230 }
231
232 public DwgConstraintCreation() : this(TD_DbPINVOKE.new_DwgConstraintCreation(), true) {
234 }
235
236}
237
238}
static HandleRef getCPtr(OdGePoint3d obj)
virtual OdResult createParallelConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2)
virtual OdResult createUserParameter(OdDbDatabase pDatabase, OdDbObjectId paramId, String name)
virtual OdResult deleteParameter(OdDbDatabase pDatabase, OdDbObjectId paramId, bool autoDereference)
virtual OdResult dereferenceParameter(OdDbObjectId modifiedParamId, OdDbObjectId referencedParamId)
virtual OdResult createUserParameter(OdDbDatabase pDatabase, OdDbObjectId paramId, String name, String expression, double value)
static HandleRef getCPtr(DwgConstraintCreation obj)
virtual OdResult listConstraints(OdDbDatabase pDatabase, OdDbObjectId entId, OdGePoint3d entPt, SWIGTYPE_p_OdGeomConstraintPtrList constraintList)
virtual OdResult createRadialOrDiamDimConstraint(OdDbDatabase pDatabase, OdDbObjectId entId, OdGePoint3d entPt, OdGePoint3d dimPos, bool isRadial, OdDbObjectId varDimId)
virtual void Dispose(bool disposing)
virtual OdResult createFixConstraint(OdDbDatabase pDatabase, OdDbObjectId entId, OdGePoint3d ptEnt, bool bFixEntireObj)
virtual OdResult listParameters(OdDbDatabase pDatabase, OdDbObjectIdArray paramIds)
virtual OdResult createHorizontalOrVerticalConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2, bool bVertical)
virtual OdResult createAlignedDimConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d entPt1, OdGePoint3d entPt2, OdGePoint3d dimPos, OdDbObjectId varDimId)
virtual OdResult createCoincidentConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2, bool bPointToCurve)
virtual OdResult deleteConstraint(OdDbDatabase pDatabase, SWIGTYPE_p_OdGeomConstraintPtr constraint)
virtual OdResult createConcentricConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2)
virtual OdResult createHorizontalOrVerticalDimConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d entPt1, OdGePoint3d entPt2, OdGePoint3d dimPos, bool bVertical, OdDbObjectId varDimId)
virtual OdResult create2LineAngularDimConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d entPt1, OdGePoint3d entPt2, OdGePoint3d dimPos, OdDbObjectId varDimId)
virtual OdResult createFixConstraint(OdDbDatabase pDatabase, OdDbObjectId entId, OdGePoint3d ptEnt)
virtual OdResult deleteAllConstraints(OdDbDatabase pDatabase, OdDbObjectId entId, OdGePoint3d entPt)
virtual OdResult createEqualConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2)
virtual OdResult createHorizontalOrVerticalConstraint(OdDbDatabase pDatabase, OdDbObjectId entId, OdGePoint3d ptEnt, bool bVertical)
virtual OdResult deleteParameter(OdDbDatabase pDatabase, OdDbObjectId paramId)
virtual OdResult createCollinearConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2)
DwgConstraintCreation(IntPtr cPtr, bool cMemoryOwn)
virtual OdResult createUserParameter(OdDbDatabase pDatabase, OdDbObjectId paramId, String name, String expression)
virtual OdResult createTangentConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2)
virtual OdResult createSymmetricConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdDbObjectId entSymId, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2, OdGePoint3d ptEntSym)
virtual OdResult convertAssocDimensionToConstraint(OdDbDatabase pDatabase, OdDbObjectId dimAssocId, OdDbObjectId varDimId)
virtual OdResult listReferencedParameters(OdDbObjectId paramId, OdDbObjectIdArray referenceParamIds)
virtual OdResult createPerpendicularConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2)
virtual OdResult create3PointAngularDimConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdDbObjectId entId3, OdGePoint3d entPt1, OdGePoint3d entPt2, OdGePoint3d entPt3, OdGePoint3d dimPos, OdDbObjectId varDimId)
virtual OdResult createCoincidentConstraint(OdDbDatabase pDatabase, OdDbObjectId entId1, OdDbObjectId entId2, OdGePoint3d ptEnt1, OdGePoint3d ptEnt2)
static HandleRef getCPtr(OdDbDatabase obj)
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbObjectId obj)
static global::System.Exception Retrieve()
static int DwgConstraintCreation_createRadialOrDiamDimConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static int DwgConstraintCreation_createAlignedDimConstraint(global::System.Runtime.InteropServices.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, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static void delete_DwgConstraintCreation(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DwgConstraintCreation_deleteParameter__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static int DwgConstraintCreation_createCollinearConstraint(global::System.Runtime.InteropServices.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 DwgConstraintCreation_createSymmetricConstraint(global::System.Runtime.InteropServices.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, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static int DwgConstraintCreation_convertAssocDimensionToConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int DwgConstraintCreation_createHorizontalOrVerticalConstraint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int DwgConstraintCreation_createUserParameter__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4, [MarshalAs(UnmanagedType.LPWStr)]String jarg5, double jarg6)
static int DwgConstraintCreation_createEqualConstraint(global::System.Runtime.InteropServices.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 DwgConstraintCreation_deleteParameter__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int DwgConstraintCreation_createUserParameter__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4, [MarshalAs(UnmanagedType.LPWStr)]String jarg5)
static int DwgConstraintCreation_createCoincidentConstraint__SWIG_0(global::System.Runtime.InteropServices.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, bool jarg7)
static int DwgConstraintCreation_createParallelConstraint(global::System.Runtime.InteropServices.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 DwgConstraintCreation_createPerpendicularConstraint(global::System.Runtime.InteropServices.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 DwgConstraintCreation_deleteConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int DwgConstraintCreation_createFixConstraint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int DwgConstraintCreation_listConstraints(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int DwgConstraintCreation_create2LineAngularDimConstraint(global::System.Runtime.InteropServices.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, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static int DwgConstraintCreation_deleteAllConstraints(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int DwgConstraintCreation_listParameters(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int DwgConstraintCreation_createHorizontalOrVerticalDimConstraint(global::System.Runtime.InteropServices.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, global::System.Runtime.InteropServices.HandleRef jarg7, bool jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static int DwgConstraintCreation_createFixConstraint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int DwgConstraintCreation_createHorizontalOrVerticalConstraint__SWIG_1(global::System.Runtime.InteropServices.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, bool jarg7)
static int DwgConstraintCreation_createCoincidentConstraint__SWIG_1(global::System.Runtime.InteropServices.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 DwgConstraintCreation_createConcentricConstraint(global::System.Runtime.InteropServices.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 DwgConstraintCreation_listReferencedParameters(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int DwgConstraintCreation_createTangentConstraint(global::System.Runtime.InteropServices.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 DwgConstraintCreation_dereferenceParameter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int DwgConstraintCreation_createUserParameter__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4)
static int DwgConstraintCreation_create3PointAngularDimConstraint(global::System.Runtime.InteropServices.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, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10)