PySimultan 0.5.9.7__py3-none-any.whl → 0.6.0.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. PySimultan2/CHANGELOG.md +4 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +3 -3
  4. PySimultan2/default_types.py +39 -8
  5. PySimultan2/files.py +1 -1
  6. PySimultan2/object_mapper.py +2 -0
  7. PySimultan2/resources/BruTile.dll +0 -0
  8. PySimultan2/resources/ComponentBuilder.dll +0 -0
  9. PySimultan2/resources/ComponentBuilder.xml +93 -15
  10. PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  11. PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  12. PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  13. PySimultan2/resources/HelixToolkit.dll +0 -0
  14. PySimultan2/resources/Python.Runtime.dll +0 -0
  15. PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  16. PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
  17. PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  18. PySimultan2/resources/SIMULTAN.UI.xml +57 -0
  19. PySimultan2/resources/SIMULTAN.dll +0 -0
  20. PySimultan2/resources/SIMULTAN.xml +73 -3
  21. PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
  22. PySimultan2/resources/defaultsettings.xml +0 -0
  23. PySimultan2/simultan_object.py +6 -1
  24. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
  25. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
  26. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
  27. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
  28. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
  29. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
  30. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
  31. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
  32. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
  33. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
  34. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
  35. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
  36. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
  37. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
  38. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
  39. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
  40. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
  41. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
  42. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
  43. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
  44. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
  45. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
  46. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
  47. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
  48. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
  49. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
  50. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
  51. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
  52. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
  53. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
  54. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
  55. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
  56. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
  57. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
  58. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
  59. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
  60. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
  61. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
  62. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
  63. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
  64. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
  65. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
  66. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
  67. PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
  68. PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
  69. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
  70. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
  71. PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
  72. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
  73. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
  74. PySimultan2/typings/System/Collections/__init__.pyi +403 -0
  75. PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
  76. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
  77. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
  78. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
  79. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
  80. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
  81. PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
  82. PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
  83. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
  84. PySimultan2/typings/System/IO/__init__.pyi +2747 -0
  85. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
  86. PySimultan2/typings/System/Net/__init__.pyi +81 -0
  87. PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
  88. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
  89. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
  90. PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
  91. PySimultan2/typings/System/Resources/__init__.pyi +205 -0
  92. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
  93. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
  94. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
  95. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
  96. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
  97. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
  98. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
  99. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
  100. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
  101. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
  102. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
  103. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
  104. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
  105. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
  106. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
  107. PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
  108. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
  109. PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
  110. PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
  111. PySimultan2/typings/System/Security/__init__.pyi +347 -0
  112. PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
  113. PySimultan2/typings/System/Text/__init__.pyi +1590 -0
  114. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
  115. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
  116. PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
  117. PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
  118. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
  119. PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
  120. PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
  121. PySimultan2/typings/System/__init__.pyi +17821 -0
  122. PySimultan2/utils.py +9 -4
  123. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +1 -1
  124. pysimultan-0.6.0.1.dist-info/RECORD +174 -0
  125. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  126. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
  127. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  128. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
  129. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  130. PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
  131. pysimultan-0.5.9.7.dist-info/RECORD +0 -81
  132. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
  133. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,15 @@
1
+ from System.IO import FileInfo
2
+ from SIMULTAN.Data.MultiValues import SimMultiValueCollection
3
+
4
+ class ExcelStandardImporter:
5
+ def __init__(self) -> None: ...
6
+ COL_OFFSET : int
7
+ COMPONENT_COL_OFFSET : int
8
+ COMPONENT_NR_VALUE_COLUMNS : int
9
+ MAX_NR_TABLE_ENTRIES : int
10
+ MAX_NR_VALUE_COLUMNS : int
11
+ ROW_OFFSET : int
12
+ TABLE_NAME : str
13
+ def ImportBigTableFromFile(self, file: FileInfo, factory: SimMultiValueCollection, unitX: str, unitY: str, rowNameFormat: str, rowUnit: str, maxRowCount: int = ...) -> None: ...
14
+ def ImportBigTableWNamesFromFile(self, file: FileInfo, factory: SimMultiValueCollection, unitX: str, unitY: str, rowUnit: str, maxRowCount: int = ...) -> None: ...
15
+
@@ -0,0 +1,268 @@
1
+ import typing, abc
2
+ from System import Exception, ValueTuple_3
3
+ from System.Collections import IDictionary
4
+ from System.Reflection import MethodBase
5
+ from System.IO import FileInfo
6
+ from System.Collections.Generic import List_1
7
+
8
+ class AccessDeniedException(Exception):
9
+ @typing.overload
10
+ def __init__(self) -> None: ...
11
+ @typing.overload
12
+ def __init__(self, message: str) -> None: ...
13
+ @property
14
+ def Data(self) -> IDictionary: ...
15
+ @property
16
+ def HelpLink(self) -> str: ...
17
+ @HelpLink.setter
18
+ def HelpLink(self, value: str) -> str: ...
19
+ @property
20
+ def HResult(self) -> int: ...
21
+ @HResult.setter
22
+ def HResult(self, value: int) -> int: ...
23
+ @property
24
+ def InnerException(self) -> Exception: ...
25
+ @property
26
+ def Message(self) -> str: ...
27
+ @property
28
+ def Source(self) -> str: ...
29
+ @Source.setter
30
+ def Source(self, value: str) -> str: ...
31
+ @property
32
+ def StackTrace(self) -> str: ...
33
+ @property
34
+ def TargetSite(self) -> MethodBase: ...
35
+
36
+
37
+ class ExceptionToFileWriter(abc.ABC):
38
+ # Skipped Write due to it being static, abstract and generic.
39
+
40
+ Write : Write_MethodGroup
41
+ class Write_MethodGroup:
42
+ @typing.overload
43
+ def __call__(self, e: Exception, message: str = ...) -> FileInfo:...
44
+ @typing.overload
45
+ def __call__(self, e: Exception, exceptionFile: FileInfo, message: str = ...) -> FileInfo:...
46
+
47
+
48
+
49
+ class FileInUseException(Exception):
50
+ def __init__(self, file: FileInfo) -> None: ...
51
+ @property
52
+ def Data(self) -> IDictionary: ...
53
+ @property
54
+ def File(self) -> FileInfo: ...
55
+ @File.setter
56
+ def File(self, value: FileInfo) -> FileInfo: ...
57
+ @property
58
+ def HelpLink(self) -> str: ...
59
+ @HelpLink.setter
60
+ def HelpLink(self, value: str) -> str: ...
61
+ @property
62
+ def HResult(self) -> int: ...
63
+ @HResult.setter
64
+ def HResult(self, value: int) -> int: ...
65
+ @property
66
+ def InnerException(self) -> Exception: ...
67
+ @property
68
+ def Message(self) -> str: ...
69
+ @property
70
+ def Source(self) -> str: ...
71
+ @Source.setter
72
+ def Source(self, value: str) -> str: ...
73
+ @property
74
+ def StackTrace(self) -> str: ...
75
+ @property
76
+ def TargetSite(self) -> MethodBase: ...
77
+
78
+
79
+ class InvalidGeoReferencingException(Exception):
80
+ def __init__(self) -> None: ...
81
+ @property
82
+ def Data(self) -> IDictionary: ...
83
+ @property
84
+ def HelpLink(self) -> str: ...
85
+ @HelpLink.setter
86
+ def HelpLink(self, value: str) -> str: ...
87
+ @property
88
+ def HResult(self) -> int: ...
89
+ @HResult.setter
90
+ def HResult(self, value: int) -> int: ...
91
+ @property
92
+ def InnerException(self) -> Exception: ...
93
+ @property
94
+ def Message(self) -> str: ...
95
+ @property
96
+ def Source(self) -> str: ...
97
+ @Source.setter
98
+ def Source(self, value: str) -> str: ...
99
+ @property
100
+ def StackTrace(self) -> str: ...
101
+ @property
102
+ def TargetSite(self) -> MethodBase: ...
103
+
104
+
105
+ class InvalidStateException(Exception):
106
+ @typing.overload
107
+ def __init__(self, message: str) -> None: ...
108
+ @typing.overload
109
+ def __init__(self, message: str, innerException: Exception) -> None: ...
110
+ @property
111
+ def Data(self) -> IDictionary: ...
112
+ @property
113
+ def HelpLink(self) -> str: ...
114
+ @HelpLink.setter
115
+ def HelpLink(self, value: str) -> str: ...
116
+ @property
117
+ def HResult(self) -> int: ...
118
+ @HResult.setter
119
+ def HResult(self, value: int) -> int: ...
120
+ @property
121
+ def InnerException(self) -> Exception: ...
122
+ @property
123
+ def Message(self) -> str: ...
124
+ @property
125
+ def Source(self) -> str: ...
126
+ @Source.setter
127
+ def Source(self, value: str) -> str: ...
128
+ @property
129
+ def StackTrace(self) -> str: ...
130
+ @property
131
+ def TargetSite(self) -> MethodBase: ...
132
+
133
+
134
+ class ParameterNotFoundException(Exception):
135
+ def __init__(self, id: int) -> None: ...
136
+ @property
137
+ def Data(self) -> IDictionary: ...
138
+ @property
139
+ def HelpLink(self) -> str: ...
140
+ @HelpLink.setter
141
+ def HelpLink(self, value: str) -> str: ...
142
+ @property
143
+ def HResult(self) -> int: ...
144
+ @HResult.setter
145
+ def HResult(self, value: int) -> int: ...
146
+ @property
147
+ def InnerException(self) -> Exception: ...
148
+ @property
149
+ def Message(self) -> str: ...
150
+ @property
151
+ def ParameterID(self) -> int: ...
152
+ @property
153
+ def Source(self) -> str: ...
154
+ @Source.setter
155
+ def Source(self, value: str) -> str: ...
156
+ @property
157
+ def StackTrace(self) -> str: ...
158
+ @property
159
+ def TargetSite(self) -> MethodBase: ...
160
+
161
+
162
+ class ProjectErrorCode(typing.SupportsInt):
163
+ @typing.overload
164
+ def __init__(self, value : int) -> None: ...
165
+ @typing.overload
166
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
167
+ def __int__(self) -> int: ...
168
+
169
+ # Values:
170
+ ERR_ON_FILE_DELETE : ProjectErrorCode # 0
171
+ ERR_ON_FILE_DELETE_FILEINUSE : ProjectErrorCode # 1
172
+ ERR_ON_FILE_DELETE_GENERIC : ProjectErrorCode # 2
173
+ ERR_ON_FILE_DELETE_FILENOTFOUND : ProjectErrorCode # 3
174
+ ERR_INVALID_STATE : ProjectErrorCode # 4
175
+ ERR_AUTHSERVICE_NOT_FOUND : ProjectErrorCode # 5
176
+
177
+
178
+ class ProjectFileDeleteException(ProjectIOException):
179
+ def __init__(self, files: List_1[ValueTuple_3[str, ProjectErrorCode, typing.Any]]) -> None: ...
180
+ @property
181
+ def Code(self) -> ProjectErrorCode: ...
182
+ @property
183
+ def Data(self) -> IDictionary: ...
184
+ @property
185
+ def Files(self) -> List_1[ValueTuple_3[str, ProjectErrorCode, typing.Any]]: ...
186
+ @property
187
+ def HelpLink(self) -> str: ...
188
+ @HelpLink.setter
189
+ def HelpLink(self, value: str) -> str: ...
190
+ @property
191
+ def HResult(self) -> int: ...
192
+ @HResult.setter
193
+ def HResult(self, value: int) -> int: ...
194
+ @property
195
+ def InnerException(self) -> Exception: ...
196
+ @property
197
+ def Message(self) -> str: ...
198
+ @property
199
+ def Source(self) -> str: ...
200
+ @Source.setter
201
+ def Source(self, value: str) -> str: ...
202
+ @property
203
+ def StackTrace(self) -> str: ...
204
+ @property
205
+ def TargetSite(self) -> MethodBase: ...
206
+
207
+
208
+ class ProjectIOException(Exception):
209
+ @typing.overload
210
+ def __init__(self, errorCode: ProjectErrorCode, message: str) -> None: ...
211
+ @typing.overload
212
+ def __init__(self, errorCode: ProjectErrorCode, message: str, innerException: Exception) -> None: ...
213
+ @property
214
+ def Code(self) -> ProjectErrorCode: ...
215
+ @property
216
+ def Data(self) -> IDictionary: ...
217
+ @property
218
+ def HelpLink(self) -> str: ...
219
+ @HelpLink.setter
220
+ def HelpLink(self, value: str) -> str: ...
221
+ @property
222
+ def HResult(self) -> int: ...
223
+ @HResult.setter
224
+ def HResult(self, value: int) -> int: ...
225
+ @property
226
+ def InnerException(self) -> Exception: ...
227
+ @property
228
+ def Message(self) -> str: ...
229
+ @property
230
+ def Source(self) -> str: ...
231
+ @Source.setter
232
+ def Source(self, value: str) -> str: ...
233
+ @property
234
+ def StackTrace(self) -> str: ...
235
+ @property
236
+ def TargetSite(self) -> MethodBase: ...
237
+
238
+
239
+ class PropertyUnsupportedValueException(Exception):
240
+ @typing.overload
241
+ def __init__(self) -> None: ...
242
+ @typing.overload
243
+ def __init__(self, message: str) -> None: ...
244
+ @typing.overload
245
+ def __init__(self, message: str, innerException: Exception) -> None: ...
246
+ @property
247
+ def Data(self) -> IDictionary: ...
248
+ @property
249
+ def HelpLink(self) -> str: ...
250
+ @HelpLink.setter
251
+ def HelpLink(self, value: str) -> str: ...
252
+ @property
253
+ def HResult(self) -> int: ...
254
+ @HResult.setter
255
+ def HResult(self, value: int) -> int: ...
256
+ @property
257
+ def InnerException(self) -> Exception: ...
258
+ @property
259
+ def Message(self) -> str: ...
260
+ @property
261
+ def Source(self) -> str: ...
262
+ @Source.setter
263
+ def Source(self, value: str) -> str: ...
264
+ @property
265
+ def StackTrace(self) -> str: ...
266
+ @property
267
+ def TargetSite(self) -> MethodBase: ...
268
+
@@ -0,0 +1,32 @@
1
+ import typing, abc
2
+ from SIMULTAN.Data.Geometry import GeometryModel, BaseGeometry, Vertex
3
+ from SIMULTAN.Data.SimNetworks import SimNetwork, ISimNetworkElement
4
+ from SIMULTAN.Exchange import ComponentGeometryExchange
5
+ from System.Collections.Generic import List_1, IEnumerable_1
6
+
7
+ class BaseSimnetworkGeometryConnector(abc.ABC):
8
+ def Dispose(self) -> None: ...
9
+
10
+
11
+ class SimNetworkGeometryModelConnector:
12
+ def __init__(self, model: GeometryModel, network: SimNetwork, exchange: ComponentGeometryExchange) -> None: ...
13
+ def EndPartialTransform(self, effectedGeoms: List_1[BaseGeometry]) -> None: ...
14
+ def GetNetworkElements(self, geometry: BaseGeometry) -> IEnumerable_1[ISimNetworkElement]: ...
15
+ def GetStaticGroupGeometries(self, geom: BaseGeometry) -> IEnumerable_1[BaseGeometry]: ...
16
+ def IstAssociatedWithStaticBlock(self, geom: BaseGeometry) -> bool: ...
17
+ def StartMoveRotatePartialOperation(self, geom: BaseGeometry) -> IEnumerable_1[BaseGeometry]: ...
18
+ def UpdateNetwork(self, network: SimNetwork) -> None: ...
19
+ def UpdateStaticConnectors(self, geoms: List_1[Vertex]) -> None: ...
20
+
21
+
22
+ class ValidationError(typing.SupportsInt):
23
+ @typing.overload
24
+ def __init__(self, value : int) -> None: ...
25
+ @typing.overload
26
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
27
+ def __int__(self) -> int: ...
28
+
29
+ # Values:
30
+ RotationError : ValidationError # 0
31
+ DistanceError : ValidationError # 1
32
+
@@ -0,0 +1,116 @@
1
+ import typing
2
+ from SIMULTAN.Data.Geometry import IOffsetQueryable, GeometryModel, Face, BaseGeometry, SimGeometryParameterSource
3
+ from SIMULTAN.Projects import ProjectData
4
+ from System.Collections.Generic import Dictionary_2, IEnumerable_1, List_1
5
+ from SIMULTAN.Exchange.SimNetworkConnectors import SimNetworkGeometryModelConnector
6
+ from SIMULTAN.Data.FlowNetworks import SimFlowNetwork
7
+ from System.IO import FileInfo
8
+ from SIMULTAN.Utils import IDispatcherTimerFactory
9
+ from SIMULTAN.Data.SimNetworks import SimNetwork
10
+ from System import ValueTuple_2, MulticastDelegate, IAsyncResult, AsyncCallback
11
+ from SIMULTAN.Data.Components import SimInstancePlacementGeometry, SimComponentInstance, SimComponent, SimBaseParameter
12
+ from SIMULTAN.Data.SitePlanner import SitePlannerProject, SitePlannerBuilding
13
+ from System.Reflection import MethodInfo
14
+
15
+ class ComponentGeometryExchange(IOffsetQueryable):
16
+ def __init__(self, projectData: ProjectData) -> None: ...
17
+ SimNetworkModelConnectors : Dictionary_2[GeometryModel, SimNetworkGeometryModelConnector]
18
+ @property
19
+ def EnableGeometryEvents(self) -> bool: ...
20
+ @EnableGeometryEvents.setter
21
+ def EnableGeometryEvents(self, value: bool) -> bool: ...
22
+ def ConvertNetwork(self, network: SimFlowNetwork, targetFile: FileInfo, dispatcherTimer: IDispatcherTimerFactory) -> GeometryModel: ...
23
+ def ConvertSimNetwork(self, network: SimNetwork, targetFile: FileInfo, dispatcherTimer: IDispatcherTimerFactory) -> GeometryModel: ...
24
+ def GetFaceOffset(self, face: Face) -> ValueTuple_2[float, float]: ...
25
+ def GetGeometry(self, placement: SimInstancePlacementGeometry) -> BaseGeometry: ...
26
+ def IsConnected(self, project: SitePlannerProject) -> bool: ...
27
+ def NotifyGeometryInvalidated(self, geometry: IEnumerable_1[BaseGeometry]) -> None: ...
28
+ def OnParameterSourceFilterChanged(self, source: SimGeometryParameterSource) -> None: ...
29
+ def Synchronize(self) -> None: ...
30
+ # Skipped Associate due to it being static, abstract and generic.
31
+
32
+ Associate : Associate_MethodGroup
33
+ class Associate_MethodGroup:
34
+ @typing.overload
35
+ def __call__(self, component: SimComponent, geometries: IEnumerable_1[BaseGeometry]) -> List_1[ValueTuple_2[SimComponentInstance, bool]]:...
36
+ @typing.overload
37
+ def __call__(self, instance: SimComponentInstance, geometries: IEnumerable_1[BaseGeometry]) -> None:...
38
+ @typing.overload
39
+ def __call__(self, component: SimComponent, building: SitePlannerBuilding) -> None:...
40
+ @typing.overload
41
+ def __call__(self, component: SimComponent, geometry: BaseGeometry) -> ValueTuple_2[SimComponentInstance, bool]:...
42
+ @typing.overload
43
+ def __call__(self, instance: SimComponentInstance, geometry: BaseGeometry) -> None:...
44
+
45
+ # Skipped Disassociate due to it being static, abstract and generic.
46
+
47
+ Disassociate : Disassociate_MethodGroup
48
+ class Disassociate_MethodGroup:
49
+ @typing.overload
50
+ def __call__(self, component: SimComponent, building: SitePlannerBuilding) -> None:...
51
+ @typing.overload
52
+ def __call__(self, component: SimComponent, geometry: BaseGeometry) -> None:...
53
+ @typing.overload
54
+ def __call__(self, instance: SimComponentInstance, geometry: BaseGeometry) -> None:...
55
+
56
+ # Skipped GetComponents due to it being static, abstract and generic.
57
+
58
+ GetComponents : GetComponents_MethodGroup
59
+ class GetComponents_MethodGroup:
60
+ @typing.overload
61
+ def __call__(self, building: SitePlannerBuilding) -> IEnumerable_1[SimComponent]:...
62
+ @typing.overload
63
+ def __call__(self, geometry: BaseGeometry) -> IEnumerable_1[SimComponent]:...
64
+
65
+ # Skipped GetPlacements due to it being static, abstract and generic.
66
+
67
+ GetPlacements : GetPlacements_MethodGroup
68
+ class GetPlacements_MethodGroup:
69
+ @typing.overload
70
+ def __call__(self, building: SitePlannerBuilding) -> IEnumerable_1[SimInstancePlacementGeometry]:...
71
+ @typing.overload
72
+ def __call__(self, geometry: BaseGeometry) -> IEnumerable_1[SimInstancePlacementGeometry]:...
73
+
74
+ # Skipped OnParameterValueChanged due to it being static, abstract and generic.
75
+
76
+ OnParameterValueChanged : OnParameterValueChanged_MethodGroup
77
+ class OnParameterValueChanged_MethodGroup:
78
+ @typing.overload
79
+ def __call__(self, parameter: SimBaseParameter, instance: SimComponentInstance) -> None:...
80
+ @typing.overload
81
+ def __call__(self, parameters: IEnumerable_1[SimBaseParameter], instance: SimComponentInstance) -> None:...
82
+
83
+
84
+ class AssociationChangedEventHandler(MulticastDelegate):
85
+ def __init__(self, object: typing.Any, method: int) -> None: ...
86
+ @property
87
+ def Method(self) -> MethodInfo: ...
88
+ @property
89
+ def Target(self) -> typing.Any: ...
90
+ def BeginInvoke(self, sender: typing.Any, affected_geometry: IEnumerable_1[BaseGeometry], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
91
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
92
+ def Invoke(self, sender: typing.Any, affected_geometry: IEnumerable_1[BaseGeometry]) -> None: ...
93
+
94
+
95
+ class BuildingAssociationChangedEventHandler(MulticastDelegate):
96
+ def __init__(self, object: typing.Any, method: int) -> None: ...
97
+ @property
98
+ def Method(self) -> MethodInfo: ...
99
+ @property
100
+ def Target(self) -> typing.Any: ...
101
+ def BeginInvoke(self, sender: typing.Any, affectedBuildings: IEnumerable_1[SitePlannerBuilding], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
102
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
103
+ def Invoke(self, sender: typing.Any, affectedBuildings: IEnumerable_1[SitePlannerBuilding]) -> None: ...
104
+
105
+
106
+ class BuildingComponentParameterChangedEventHandler(MulticastDelegate):
107
+ def __init__(self, object: typing.Any, method: int) -> None: ...
108
+ @property
109
+ def Method(self) -> MethodInfo: ...
110
+ @property
111
+ def Target(self) -> typing.Any: ...
112
+ def BeginInvoke(self, sender: typing.Any, affectedBuilding: SitePlannerBuilding, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
113
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
114
+ def Invoke(self, sender: typing.Any, affectedBuilding: SitePlannerBuilding) -> None: ...
115
+
116
+