DipsScripting 9.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. dips/AnchorPointVal.py +103 -0
  2. dips/AngleDataVal.py +62 -0
  3. dips/AnnotativeTools2DVal.py +273 -0
  4. dips/ApplicationManager.py +89 -0
  5. dips/ArrowToolEntityInfoRef.py +43 -0
  6. dips/ArrowToolEntityInfoVal.py +155 -0
  7. dips/AutomaticClusterAnalysisSettingsVal.py +161 -0
  8. dips/BuiltInDataDescriptors.py +81 -0
  9. dips/BuiltInDataFormatters.py +81 -0
  10. dips/CircularWindowVal.py +103 -0
  11. dips/ClusterWindowVal.py +190 -0
  12. dips/ColorSurrogateVal.py +95 -0
  13. dips/ConeToolEntityInfoRef.py +43 -0
  14. dips/ConeToolEntityInfoVal.py +114 -0
  15. dips/ConeVal.py +92 -0
  16. dips/ContourEntityVisibilityVal.py +132 -0
  17. dips/ContourOptionsVal.py +193 -0
  18. dips/CumulativeChartViewRef.py +42 -0
  19. dips/CumulativeChartViewVal.py +100 -0
  20. dips/CumulativePlotSettingsVal.py +94 -0
  21. dips/CurvedWindowVal.py +102 -0
  22. dips/CustomColumnCollectionVal.py +69 -0
  23. dips/CustomHistogramOptionsVal.py +103 -0
  24. dips/CustomRangeVal.py +84 -0
  25. dips/CustomRowRawDataVal.py +74 -0
  26. dips/DataDescriptorVal.py +83 -0
  27. dips/DataFilterRef.py +23 -0
  28. dips/DataFilterVal.py +73 -0
  29. dips/DataFormatterVal.py +62 -0
  30. dips/DataIdentifierVal.py +62 -0
  31. dips/DipsAPI_pb2.py +817 -0
  32. dips/DipsAPI_pb2_grpc.py +12363 -0
  33. dips/DipsApp.py +81 -0
  34. dips/DiscontinuityDataVal.py +164 -0
  35. dips/EllipseToolEntityInfoRef.py +43 -0
  36. dips/EllipseToolEntityInfoVal.py +153 -0
  37. dips/FillFormatVal.py +83 -0
  38. dips/FoldEntityInfoRef.py +23 -0
  39. dips/FoldEntityInfoVal.py +103 -0
  40. dips/FoldEntityOptionsVal.py +106 -0
  41. dips/FoldEntityVisibilityRef.py +38 -0
  42. dips/FoldEntityVisibilityVal.py +100 -0
  43. dips/FoldWindowEntityInfoVal.py +92 -0
  44. dips/FoldWindowEntityVisibilityRef.py +29 -0
  45. dips/FoldWindowEntityVisibilityVal.py +80 -0
  46. dips/FreehandWindowVal.py +80 -0
  47. dips/FullDataFormatVal.py +92 -0
  48. dips/GlobalPlaneEntityVisibilityVal.py +103 -0
  49. dips/HistogramChartViewRef.py +42 -0
  50. dips/HistogramChartViewVal.py +100 -0
  51. dips/HistogramPlotSettingsVal.py +136 -0
  52. dips/IntersectionEntityVisibilityVal.py +83 -0
  53. dips/IntersectionOptionsVal.py +83 -0
  54. dips/IntervalVal.py +102 -0
  55. dips/JointFrequencyAnalysisSettingsVal.py +102 -0
  56. dips/JointFrequencyChartViewRef.py +42 -0
  57. dips/JointFrequencyChartViewVal.py +100 -0
  58. dips/JointSpacingAnalysisSettingsVal.py +138 -0
  59. dips/JointSpacingChartViewRef.py +42 -0
  60. dips/JointSpacingChartViewVal.py +100 -0
  61. dips/KinematicAnalysisEntityVisibilityVal.py +73 -0
  62. dips/KinematicAnalysisSettingsVal.py +140 -0
  63. dips/LatLongVal.py +84 -0
  64. dips/LengthDataVal.py +83 -0
  65. dips/LineFormatVal.py +83 -0
  66. dips/LineIntersectionCalculatorToolEntityInfoRef.py +43 -0
  67. dips/LineIntersectionCalculatorToolEntityInfoVal.py +133 -0
  68. dips/LineToolEntityInfoRef.py +43 -0
  69. dips/LineToolEntityInfoVal.py +133 -0
  70. dips/LineationVal.py +83 -0
  71. dips/MeasureAngleToolEntityInfoRef.py +43 -0
  72. dips/MeasureAngleToolEntityInfoVal.py +133 -0
  73. dips/OrientationDataSetRef.py +23 -0
  74. dips/OrientationDataSetVal.py +453 -0
  75. dips/PitchGridToolEntityInfoRef.py +43 -0
  76. dips/PitchGridToolEntityInfoVal.py +114 -0
  77. dips/PlaneEntityInfoRef.py +23 -0
  78. dips/PlaneEntityInfoVal.py +92 -0
  79. dips/PlaneEntityVisibilityRef.py +38 -0
  80. dips/PlaneEntityVisibilityVal.py +100 -0
  81. dips/PlaneIntersectionCalculatorToolEntityInfoRef.py +43 -0
  82. dips/PlaneIntersectionCalculatorToolEntityInfoVal.py +133 -0
  83. dips/PlaneOptionsVal.py +117 -0
  84. dips/PlaneVal.py +105 -0
  85. dips/PoleEntityOptionsVal.py +84 -0
  86. dips/PoleEntityVisibilityVal.py +83 -0
  87. dips/PolygonToolEntityInfoRef.py +43 -0
  88. dips/PolygonToolEntityInfoVal.py +131 -0
  89. dips/PolylineToolEntityInfoRef.py +43 -0
  90. dips/PolylineToolEntityInfoVal.py +111 -0
  91. dips/ProcessedDataVal.py +94 -0
  92. dips/ProjStubRef.py +388 -0
  93. dips/ProjStubVal.py +52 -0
  94. dips/ProtobufCollectionWrappers.py +108 -0
  95. dips/QualitativeQuantitativeAnalysisSettingsVal.py +151 -0
  96. dips/QualitativeQuantitativeChartViewRef.py +42 -0
  97. dips/QualitativeQuantitativeChartViewVal.py +111 -0
  98. dips/QuantitativeContourSettingsVal.py +103 -0
  99. dips/RQDAnalysisChartViewRef.py +42 -0
  100. dips/RQDAnalysisChartViewVal.py +100 -0
  101. dips/RQDAnalysisSettingsVal.py +111 -0
  102. dips/RectangleToolEntityInfoRef.py +43 -0
  103. dips/RectangleToolEntityInfoVal.py +153 -0
  104. dips/ReportingConventionResultVal.py +62 -0
  105. dips/RosettePresetOptionsVal.py +227 -0
  106. dips/RosetteSettingsVal.py +174 -0
  107. dips/RosetteViewRef.py +296 -0
  108. dips/RosetteViewVal.py +177 -0
  109. dips/ScatterChartViewRef.py +42 -0
  110. dips/ScatterChartViewVal.py +100 -0
  111. dips/ScatterPlotSettingsVal.py +113 -0
  112. dips/SetEntityInfoRef.py +23 -0
  113. dips/SetEntityInfoVal.py +103 -0
  114. dips/SetEntityOptionsVal.py +133 -0
  115. dips/SetEntityVisibilityRef.py +38 -0
  116. dips/SetEntityVisibilityVal.py +100 -0
  117. dips/SetStatisticsSettingsVal.py +106 -0
  118. dips/SetVersusSetVal.py +82 -0
  119. dips/SetWindowEntityInfoVal.py +183 -0
  120. dips/SetWindowEntityVisibilityRef.py +29 -0
  121. dips/SetWindowEntityVisibilityVal.py +80 -0
  122. dips/StatisticalDistributionFilterVal.py +128 -0
  123. dips/Stereonet2DPresetOptionsVal.py +488 -0
  124. dips/Stereonet2DViewRef.py +612 -0
  125. dips/Stereonet2DViewVal.py +363 -0
  126. dips/Stereonet3DPresetOptionsVal.py +281 -0
  127. dips/Stereonet3DViewRef.py +440 -0
  128. dips/Stereonet3DViewVal.py +303 -0
  129. dips/StereonetOverlayEntityVisibilityVal.py +83 -0
  130. dips/StereonetOverlaySettingsVal.py +103 -0
  131. dips/StereonetProjectionModeVal.py +73 -0
  132. dips/SurveyDataVal.py +103 -0
  133. dips/SymbolDisplaySettingVal.py +124 -0
  134. dips/SymbolicSettingsVal.py +89 -0
  135. dips/TextFormatVal.py +105 -0
  136. dips/TextToolEntityInfoRef.py +43 -0
  137. dips/TextToolEntityInfoVal.py +176 -0
  138. dips/TraverseEntityOptionsVal.py +84 -0
  139. dips/TraverseEntityVisibilityRef.py +38 -0
  140. dips/TraverseEntityVisibilityVal.py +100 -0
  141. dips/TrendLineToolEntityInfoRef.py +43 -0
  142. dips/TrendLineToolEntityInfoVal.py +114 -0
  143. dips/TrendPlungeVal.py +91 -0
  144. dips/UnitSystemResultVal.py +62 -0
  145. dips/UserPlaneEntityOptionsVal.py +100 -0
  146. dips/ValidatableResultVal.py +69 -0
  147. dips/ValidatableResult_ProtoReference_ArrowToolEntityInfoVal.py +86 -0
  148. dips/ValidatableResult_ProtoReference_ConeToolEntityInfoVal.py +86 -0
  149. dips/ValidatableResult_ProtoReference_EllipseToolEntityInfoVal.py +86 -0
  150. dips/ValidatableResult_ProtoReference_FoldEntityInfoVal.py +86 -0
  151. dips/ValidatableResult_ProtoReference_LineIntersectionCalculatorToolEntityInfoVal.py +86 -0
  152. dips/ValidatableResult_ProtoReference_LineToolEntityInfoVal.py +86 -0
  153. dips/ValidatableResult_ProtoReference_MeasureAngleToolEntityInfoVal.py +86 -0
  154. dips/ValidatableResult_ProtoReference_OrientationDataSetVal.py +86 -0
  155. dips/ValidatableResult_ProtoReference_PitchGridToolEntityInfoVal.py +86 -0
  156. dips/ValidatableResult_ProtoReference_PlaneEntityInfoVal.py +86 -0
  157. dips/ValidatableResult_ProtoReference_PlaneIntersectionCalculatorToolEntityInfoVal.py +86 -0
  158. dips/ValidatableResult_ProtoReference_PolygonToolEntityInfoVal.py +86 -0
  159. dips/ValidatableResult_ProtoReference_PolylineToolEntityInfoVal.py +86 -0
  160. dips/ValidatableResult_ProtoReference_RectangleToolEntityInfoVal.py +86 -0
  161. dips/ValidatableResult_ProtoReference_SetEntityInfoVal.py +86 -0
  162. dips/ValidatableResult_ProtoReference_TextToolEntityInfoVal.py +86 -0
  163. dips/ValidatableResult_ProtoReference_TrendLineToolEntityInfoVal.py +86 -0
  164. dips/ValidationErrorVal.py +73 -0
  165. dips/Vector2DVal.py +73 -0
  166. dips/Vector3Val.py +84 -0
  167. dips/VectorDensityContourSettingsVal.py +73 -0
  168. dips/WeightingSettingsVal.py +83 -0
  169. dips/WrappedFreehandWindowVal.py +102 -0
  170. dips/__init__.py +29 -0
  171. dipsscripting-9.1.0.dist-info/METADATA +29 -0
  172. dipsscripting-9.1.0.dist-info/RECORD +175 -0
  173. dipsscripting-9.1.0.dist-info/WHEEL +5 -0
  174. dipsscripting-9.1.0.dist-info/licenses/License.txt +20 -0
  175. dipsscripting-9.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,124 @@
1
+ """Generated wrapper for SymbolDisplaySetting protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ from .ColorSurrogateVal import ColorSurrogateVal
9
+
10
+ class SymbolDisplaySettingVal:
11
+ """Simple wrapper for SymbolDisplaySetting with Pythonic getters and setters."""
12
+
13
+ _proto_class = DipsAPI_pb2.SymbolDisplaySetting
14
+
15
+
16
+ def __init__(self, border_color: Optional[ColorSurrogateVal] = None, fill_color: Optional[ColorSurrogateVal] = None, proto_message: Optional[Any] = None):
17
+ """Initialize the SymbolDisplaySetting wrapper."""
18
+ # Initialize the protobuf message
19
+ if proto_message is not None:
20
+ self._proto_message = proto_message
21
+ else:
22
+ self._proto_message = self._proto_class()
23
+
24
+ if border_color is not None:
25
+ self._proto_message.BorderColor.CopyFrom(border_color.to_proto())
26
+ self._border_color_wrapper = border_color
27
+ if fill_color is not None:
28
+ self._proto_message.FillColor.CopyFrom(fill_color.to_proto())
29
+ self._fill_color_wrapper = fill_color
30
+
31
+
32
+ # Properties
33
+
34
+ @property
35
+ def symbol_style(self) -> Any:
36
+ """Get the SymbolStyle field value."""
37
+ return self._proto_message.SymbolStyle
38
+
39
+ @symbol_style.setter
40
+ def symbol_style(self, value: Any) -> None:
41
+ """Set the SymbolStyle field value."""
42
+ self._proto_message.SymbolStyle = value
43
+
44
+
45
+ @property
46
+ def border_color(self) -> ColorSurrogateVal:
47
+ """Get the BorderColor field as a wrapper."""
48
+ if not hasattr(self, '_border_color_wrapper'):
49
+ self._border_color_wrapper = ColorSurrogateVal(proto_message=self._proto_message.BorderColor)
50
+ return self._border_color_wrapper
51
+
52
+ @border_color.setter
53
+ def border_color(self, value: ColorSurrogateVal) -> None:
54
+ """Set the BorderColor field to a wrapper."""
55
+ self._proto_message.BorderColor.CopyFrom(value.to_proto())
56
+ # Update the cached wrapper if it exists
57
+ if hasattr(self, '_border_color_wrapper'):
58
+ self._border_color_wrapper._proto_message.CopyFrom(self._proto_message.BorderColor)
59
+
60
+
61
+ @property
62
+ def is_fill(self) -> bool:
63
+ """Get the IsFill field value."""
64
+ return self._proto_message.IsFill
65
+
66
+ @is_fill.setter
67
+ def is_fill(self, value: bool) -> None:
68
+ """Set the IsFill field value."""
69
+ self._proto_message.IsFill = value
70
+
71
+
72
+ @property
73
+ def fill_color(self) -> ColorSurrogateVal:
74
+ """Get the FillColor field as a wrapper."""
75
+ if not hasattr(self, '_fill_color_wrapper'):
76
+ self._fill_color_wrapper = ColorSurrogateVal(proto_message=self._proto_message.FillColor)
77
+ return self._fill_color_wrapper
78
+
79
+ @fill_color.setter
80
+ def fill_color(self, value: ColorSurrogateVal) -> None:
81
+ """Set the FillColor field to a wrapper."""
82
+ self._proto_message.FillColor.CopyFrom(value.to_proto())
83
+ # Update the cached wrapper if it exists
84
+ if hasattr(self, '_fill_color_wrapper'):
85
+ self._fill_color_wrapper._proto_message.CopyFrom(self._proto_message.FillColor)
86
+
87
+
88
+ @property
89
+ def symbol_scale(self) -> float:
90
+ """Get the SymbolScale field value."""
91
+ return self._proto_message.SymbolScale
92
+
93
+ @symbol_scale.setter
94
+ def symbol_scale(self, value: float) -> None:
95
+ """Set the SymbolScale field value."""
96
+ self._proto_message.SymbolScale = value
97
+
98
+
99
+ # Utility methods
100
+
101
+ def to_proto(self):
102
+ """Get the underlying protobuf message."""
103
+ return self._proto_message
104
+
105
+ @classmethod
106
+ def from_proto(cls, proto_message):
107
+ """Create wrapper from existing protobuf message."""
108
+ wrapper = cls()
109
+ wrapper._proto_message.CopyFrom(proto_message)
110
+ return wrapper
111
+
112
+ def copy(self):
113
+ """Create a copy of this wrapper."""
114
+ new_wrapper = self.__class__()
115
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
116
+ return new_wrapper
117
+
118
+ def __str__(self) -> str:
119
+ """String representation."""
120
+ return f"{self.__class__.__name__}({self._proto_message})"
121
+
122
+ def __repr__(self) -> str:
123
+ """Detailed string representation."""
124
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,89 @@
1
+ """Generated wrapper for SymbolicSettings protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ from .QualitativeQuantitativeAnalysisSettingsVal import QualitativeQuantitativeAnalysisSettingsVal
9
+ from .SymbolDisplaySettingVal import SymbolDisplaySettingVal
10
+
11
+ class SymbolicSettingsVal:
12
+ """Simple wrapper for SymbolicSettings with Pythonic getters and setters."""
13
+
14
+ _proto_class = DipsAPI_pb2.SymbolicSettings
15
+
16
+
17
+ def __init__(self, qualitative_quantitative_analysis_settings: Optional[QualitativeQuantitativeAnalysisSettingsVal] = None, proto_message: Optional[Any] = None):
18
+ """Initialize the SymbolicSettings wrapper."""
19
+ # Initialize the protobuf message
20
+ if proto_message is not None:
21
+ self._proto_message = proto_message
22
+ else:
23
+ self._proto_message = self._proto_class()
24
+
25
+ if qualitative_quantitative_analysis_settings is not None:
26
+ self._proto_message.QualitativeQuantitativeAnalysisSettings.CopyFrom(qualitative_quantitative_analysis_settings.to_proto())
27
+ self._qualitative_quantitative_analysis_settings_wrapper = qualitative_quantitative_analysis_settings
28
+
29
+
30
+ # Properties
31
+
32
+ @property
33
+ def qualitative_quantitative_analysis_settings(self) -> QualitativeQuantitativeAnalysisSettingsVal:
34
+ """Get the QualitativeQuantitativeAnalysisSettings field as a wrapper."""
35
+ if not hasattr(self, '_qualitative_quantitative_analysis_settings_wrapper'):
36
+ self._qualitative_quantitative_analysis_settings_wrapper = QualitativeQuantitativeAnalysisSettingsVal(proto_message=self._proto_message.QualitativeQuantitativeAnalysisSettings)
37
+ return self._qualitative_quantitative_analysis_settings_wrapper
38
+
39
+ @qualitative_quantitative_analysis_settings.setter
40
+ def qualitative_quantitative_analysis_settings(self, value: QualitativeQuantitativeAnalysisSettingsVal) -> None:
41
+ """Set the QualitativeQuantitativeAnalysisSettings field to a wrapper."""
42
+ self._proto_message.QualitativeQuantitativeAnalysisSettings.CopyFrom(value.to_proto())
43
+ # Update the cached wrapper if it exists
44
+ if hasattr(self, '_qualitative_quantitative_analysis_settings_wrapper'):
45
+ self._qualitative_quantitative_analysis_settings_wrapper._proto_message.CopyFrom(self._proto_message.QualitativeQuantitativeAnalysisSettings)
46
+
47
+
48
+ @property
49
+ def legend_symbols(self) -> List[SymbolDisplaySettingVal]:
50
+ """Get the LegendSymbols field as a list of wrappers."""
51
+ return _ProtobufListWrapper(self._proto_message.LegendSymbols, SymbolDisplaySettingVal)
52
+
53
+ @legend_symbols.setter
54
+ def legend_symbols(self, value: List[SymbolDisplaySettingVal]) -> None:
55
+ """Set the LegendSymbols field to a list of wrappers."""
56
+ if not isinstance(value, (list, tuple)):
57
+ raise TypeError(f"Expected list or tuple, got {type(value).__name__}")
58
+ # Clear the repeated field using slice assignment
59
+ self._proto_message.LegendSymbols[:] = []
60
+ for item in value:
61
+ self._proto_message.LegendSymbols.append(item.to_proto())
62
+
63
+
64
+ # Utility methods
65
+
66
+ def to_proto(self):
67
+ """Get the underlying protobuf message."""
68
+ return self._proto_message
69
+
70
+ @classmethod
71
+ def from_proto(cls, proto_message):
72
+ """Create wrapper from existing protobuf message."""
73
+ wrapper = cls()
74
+ wrapper._proto_message.CopyFrom(proto_message)
75
+ return wrapper
76
+
77
+ def copy(self):
78
+ """Create a copy of this wrapper."""
79
+ new_wrapper = self.__class__()
80
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
81
+ return new_wrapper
82
+
83
+ def __str__(self) -> str:
84
+ """String representation."""
85
+ return f"{self.__class__.__name__}({self._proto_message})"
86
+
87
+ def __repr__(self) -> str:
88
+ """Detailed string representation."""
89
+ return f"{self.__class__.__name__}({self._proto_message})"
dips/TextFormatVal.py ADDED
@@ -0,0 +1,105 @@
1
+ """Generated wrapper for TextFormat protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ from .ColorSurrogateVal import ColorSurrogateVal
9
+
10
+ class TextFormatVal:
11
+ """Simple wrapper for TextFormat with Pythonic getters and setters."""
12
+
13
+ _proto_class = DipsAPI_pb2.TextFormat
14
+
15
+
16
+ def __init__(self, text_color: Optional[ColorSurrogateVal] = None, proto_message: Optional[Any] = None):
17
+ """Initialize the TextFormat wrapper."""
18
+ # Initialize the protobuf message
19
+ if proto_message is not None:
20
+ self._proto_message = proto_message
21
+ else:
22
+ self._proto_message = self._proto_class()
23
+
24
+ if text_color is not None:
25
+ self._proto_message.TextColor.CopyFrom(text_color.to_proto())
26
+ self._text_color_wrapper = text_color
27
+
28
+
29
+ # Properties
30
+
31
+ @property
32
+ def text_horizontal_alignment(self) -> Any:
33
+ """Get the TextHorizontalAlignment field value."""
34
+ return self._proto_message.TextHorizontalAlignment
35
+
36
+ @text_horizontal_alignment.setter
37
+ def text_horizontal_alignment(self, value: Any) -> None:
38
+ """Set the TextHorizontalAlignment field value."""
39
+ self._proto_message.TextHorizontalAlignment = value
40
+
41
+
42
+ @property
43
+ def text_color(self) -> ColorSurrogateVal:
44
+ """Get the TextColor field as a wrapper."""
45
+ if not hasattr(self, '_text_color_wrapper'):
46
+ self._text_color_wrapper = ColorSurrogateVal(proto_message=self._proto_message.TextColor)
47
+ return self._text_color_wrapper
48
+
49
+ @text_color.setter
50
+ def text_color(self, value: ColorSurrogateVal) -> None:
51
+ """Set the TextColor field to a wrapper."""
52
+ self._proto_message.TextColor.CopyFrom(value.to_proto())
53
+ # Update the cached wrapper if it exists
54
+ if hasattr(self, '_text_color_wrapper'):
55
+ self._text_color_wrapper._proto_message.CopyFrom(self._proto_message.TextColor)
56
+
57
+
58
+ @property
59
+ def font_name(self) -> str:
60
+ """Get the FontName field value."""
61
+ return self._proto_message.FontName
62
+
63
+ @font_name.setter
64
+ def font_name(self, value: str) -> None:
65
+ """Set the FontName field value."""
66
+ self._proto_message.FontName = value
67
+
68
+
69
+ @property
70
+ def font_size(self) -> int:
71
+ """Get the FontSize field value."""
72
+ return self._proto_message.FontSize
73
+
74
+ @font_size.setter
75
+ def font_size(self, value: int) -> None:
76
+ """Set the FontSize field value."""
77
+ self._proto_message.FontSize = value
78
+
79
+
80
+ # Utility methods
81
+
82
+ def to_proto(self):
83
+ """Get the underlying protobuf message."""
84
+ return self._proto_message
85
+
86
+ @classmethod
87
+ def from_proto(cls, proto_message):
88
+ """Create wrapper from existing protobuf message."""
89
+ wrapper = cls()
90
+ wrapper._proto_message.CopyFrom(proto_message)
91
+ return wrapper
92
+
93
+ def copy(self):
94
+ """Create a copy of this wrapper."""
95
+ new_wrapper = self.__class__()
96
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
97
+ return new_wrapper
98
+
99
+ def __str__(self) -> str:
100
+ """String representation."""
101
+ return f"{self.__class__.__name__}({self._proto_message})"
102
+
103
+ def __repr__(self) -> str:
104
+ """Detailed string representation."""
105
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,43 @@
1
+ from typing import List
2
+ from . import DipsAPI_pb2_grpc
3
+ from . import DipsAPI_pb2
4
+ from .TextToolEntityInfoVal import TextToolEntityInfoVal
5
+ from .TextToolEntityInfoVal import TextToolEntityInfoVal
6
+ from .ValidatableResultVal import ValidatableResultVal
7
+
8
+ class TextToolEntityInfoRef:
9
+ def __init__(self, channelToConnectOn, ref: DipsAPI_pb2.ProtoReference_TextToolEntityInfo):
10
+ self.__modelRef = ref
11
+ self.__refManagerStub = DipsAPI_pb2_grpc.nSameModuleReferenceAccessorStub(channelToConnectOn)
12
+ self.__channelToConnectOn = channelToConnectOn
13
+ self.__EntityServicesStubLocal = DipsAPI_pb2_grpc.EntityServicesStub(channelToConnectOn)
14
+
15
+
16
+ def GetValue(self) -> TextToolEntityInfoVal:
17
+ bytes = self.__refManagerStub.GetValue(self.__modelRef.ID)
18
+ ret = DipsAPI_pb2.TextToolEntityInfo()
19
+ ret.MergeFromString(bytes.data)
20
+ return TextToolEntityInfoVal.from_proto(ret)
21
+
22
+ def get_model_ref(self):
23
+ """Get the underlying model reference for direct protobuf operations."""
24
+ return self.__modelRef
25
+
26
+ def RemoveTextTool(self):
27
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_TextToolEntityInfo(This=self.__modelRef)
28
+ ret = self.__EntityServicesStubLocal.RemoveTextTool(functionParam)
29
+
30
+
31
+ def SetTextToolVisibility(self, Boolean: bool):
32
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_TextToolEntityInfo_Boolean(This=self.__modelRef, Input1=Boolean)
33
+ ret = self.__EntityServicesStubLocal.SetTextToolVisibility(functionParam)
34
+
35
+
36
+ def UpdateTextTool(self, TextToolEntityInfo: TextToolEntityInfoVal) -> ValidatableResultVal:
37
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_TextToolEntityInfo_TextToolEntityInfo(This=self.__modelRef, Input1=(TextToolEntityInfo.to_proto() if hasattr(TextToolEntityInfo, 'to_proto') else TextToolEntityInfo))
38
+ ret = self.__EntityServicesStubLocal.UpdateTextTool(functionParam)
39
+
40
+ return ValidatableResultVal.from_proto(ret)
41
+
42
+
43
+
@@ -0,0 +1,176 @@
1
+ """Generated wrapper for TextToolEntityInfo protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ from .AnchorPointVal import AnchorPointVal
9
+ from .FillFormatVal import FillFormatVal
10
+ from .LineFormatVal import LineFormatVal
11
+ from .TextFormatVal import TextFormatVal
12
+
13
+ class TextToolEntityInfoVal:
14
+ """Simple wrapper for TextToolEntityInfo with Pythonic getters and setters."""
15
+
16
+ _proto_class = DipsAPI_pb2.TextToolEntityInfo
17
+
18
+
19
+ def __init__(self, anchor_point: Optional[AnchorPointVal] = None, line_format: Optional[LineFormatVal] = None, fill_format: Optional[FillFormatVal] = None, text_format: Optional[TextFormatVal] = None, proto_message: Optional[Any] = None):
20
+ """Initialize the TextToolEntityInfo wrapper."""
21
+ # Initialize the protobuf message
22
+ if proto_message is not None:
23
+ self._proto_message = proto_message
24
+ else:
25
+ self._proto_message = self._proto_class()
26
+
27
+ if anchor_point is not None:
28
+ self._proto_message.AnchorPoint.CopyFrom(anchor_point.to_proto())
29
+ self._anchor_point_wrapper = anchor_point
30
+ if line_format is not None:
31
+ self._proto_message.LineFormat.CopyFrom(line_format.to_proto())
32
+ self._line_format_wrapper = line_format
33
+ if fill_format is not None:
34
+ self._proto_message.FillFormat.CopyFrom(fill_format.to_proto())
35
+ self._fill_format_wrapper = fill_format
36
+ if text_format is not None:
37
+ self._proto_message.TextFormat.CopyFrom(text_format.to_proto())
38
+ self._text_format_wrapper = text_format
39
+
40
+
41
+ # Properties
42
+
43
+ @property
44
+ def is_visible(self) -> bool:
45
+ """Get the IsVisible field value."""
46
+ return self._proto_message.IsVisible
47
+
48
+ @is_visible.setter
49
+ def is_visible(self, value: bool) -> None:
50
+ """Set the IsVisible field value."""
51
+ self._proto_message.IsVisible = value
52
+
53
+
54
+ @property
55
+ def name(self) -> str:
56
+ """Get the Name field value."""
57
+ return self._proto_message.Name
58
+
59
+ @name.setter
60
+ def name(self, value: str) -> None:
61
+ """Set the Name field value."""
62
+ self._proto_message.Name = value
63
+
64
+
65
+ @property
66
+ def anchor_point(self) -> AnchorPointVal:
67
+ """Get the AnchorPoint field as a wrapper."""
68
+ if not hasattr(self, '_anchor_point_wrapper'):
69
+ self._anchor_point_wrapper = AnchorPointVal(proto_message=self._proto_message.AnchorPoint)
70
+ return self._anchor_point_wrapper
71
+
72
+ @anchor_point.setter
73
+ def anchor_point(self, value: AnchorPointVal) -> None:
74
+ """Set the AnchorPoint field to a wrapper."""
75
+ self._proto_message.AnchorPoint.CopyFrom(value.to_proto())
76
+ # Update the cached wrapper if it exists
77
+ if hasattr(self, '_anchor_point_wrapper'):
78
+ self._anchor_point_wrapper._proto_message.CopyFrom(self._proto_message.AnchorPoint)
79
+
80
+
81
+ @property
82
+ def line_format(self) -> LineFormatVal:
83
+ """Get the LineFormat field as a wrapper."""
84
+ if not hasattr(self, '_line_format_wrapper'):
85
+ self._line_format_wrapper = LineFormatVal(proto_message=self._proto_message.LineFormat)
86
+ return self._line_format_wrapper
87
+
88
+ @line_format.setter
89
+ def line_format(self, value: LineFormatVal) -> None:
90
+ """Set the LineFormat field to a wrapper."""
91
+ self._proto_message.LineFormat.CopyFrom(value.to_proto())
92
+ # Update the cached wrapper if it exists
93
+ if hasattr(self, '_line_format_wrapper'):
94
+ self._line_format_wrapper._proto_message.CopyFrom(self._proto_message.LineFormat)
95
+
96
+
97
+ @property
98
+ def fill_format(self) -> FillFormatVal:
99
+ """Get the FillFormat field as a wrapper."""
100
+ if not hasattr(self, '_fill_format_wrapper'):
101
+ self._fill_format_wrapper = FillFormatVal(proto_message=self._proto_message.FillFormat)
102
+ return self._fill_format_wrapper
103
+
104
+ @fill_format.setter
105
+ def fill_format(self, value: FillFormatVal) -> None:
106
+ """Set the FillFormat field to a wrapper."""
107
+ self._proto_message.FillFormat.CopyFrom(value.to_proto())
108
+ # Update the cached wrapper if it exists
109
+ if hasattr(self, '_fill_format_wrapper'):
110
+ self._fill_format_wrapper._proto_message.CopyFrom(self._proto_message.FillFormat)
111
+
112
+
113
+ @property
114
+ def text_format(self) -> TextFormatVal:
115
+ """Get the TextFormat field as a wrapper."""
116
+ if not hasattr(self, '_text_format_wrapper'):
117
+ self._text_format_wrapper = TextFormatVal(proto_message=self._proto_message.TextFormat)
118
+ return self._text_format_wrapper
119
+
120
+ @text_format.setter
121
+ def text_format(self, value: TextFormatVal) -> None:
122
+ """Set the TextFormat field to a wrapper."""
123
+ self._proto_message.TextFormat.CopyFrom(value.to_proto())
124
+ # Update the cached wrapper if it exists
125
+ if hasattr(self, '_text_format_wrapper'):
126
+ self._text_format_wrapper._proto_message.CopyFrom(self._proto_message.TextFormat)
127
+
128
+
129
+ @property
130
+ def text(self) -> str:
131
+ """Get the Text field value."""
132
+ return self._proto_message.Text
133
+
134
+ @text.setter
135
+ def text(self, value: str) -> None:
136
+ """Set the Text field value."""
137
+ self._proto_message.Text = value
138
+
139
+
140
+ @property
141
+ def autogenerated_text(self) -> str:
142
+ """Get the AutogeneratedText field value."""
143
+ return self._proto_message.AutogeneratedText
144
+
145
+ @autogenerated_text.setter
146
+ def autogenerated_text(self, value: str) -> None:
147
+ """Set the AutogeneratedText field value."""
148
+ self._proto_message.AutogeneratedText = value
149
+
150
+
151
+ # Utility methods
152
+
153
+ def to_proto(self):
154
+ """Get the underlying protobuf message."""
155
+ return self._proto_message
156
+
157
+ @classmethod
158
+ def from_proto(cls, proto_message):
159
+ """Create wrapper from existing protobuf message."""
160
+ wrapper = cls()
161
+ wrapper._proto_message.CopyFrom(proto_message)
162
+ return wrapper
163
+
164
+ def copy(self):
165
+ """Create a copy of this wrapper."""
166
+ new_wrapper = self.__class__()
167
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
168
+ return new_wrapper
169
+
170
+ def __str__(self) -> str:
171
+ """String representation."""
172
+ return f"{self.__class__.__name__}({self._proto_message})"
173
+
174
+ def __repr__(self) -> str:
175
+ """Detailed string representation."""
176
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,84 @@
1
+ """Generated wrapper for TraverseEntityOptions protobuf message."""
2
+
3
+ from typing import Any, Optional, List, Dict
4
+ from . import DipsAPI_pb2
5
+
6
+ from .ProtobufCollectionWrappers import _ProtobufListWrapper, _ProtobufMapWrapper
7
+
8
+ class TraverseEntityOptionsVal:
9
+ """Simple wrapper for TraverseEntityOptions with Pythonic getters and setters."""
10
+
11
+ _proto_class = DipsAPI_pb2.TraverseEntityOptions
12
+
13
+
14
+ def __init__(self, proto_message: Optional[Any] = None):
15
+ """Initialize the TraverseEntityOptions wrapper."""
16
+ # Initialize the protobuf message
17
+ if proto_message is not None:
18
+ self._proto_message = proto_message
19
+ else:
20
+ self._proto_message = self._proto_class()
21
+
22
+
23
+
24
+ # Properties
25
+
26
+ @property
27
+ def show_all_points(self) -> bool:
28
+ """Get the ShowAllPoints field value."""
29
+ return self._proto_message.ShowAllPoints
30
+
31
+ @show_all_points.setter
32
+ def show_all_points(self, value: bool) -> None:
33
+ """Set the ShowAllPoints field value."""
34
+ self._proto_message.ShowAllPoints = value
35
+
36
+
37
+ @property
38
+ def show_label(self) -> bool:
39
+ """Get the ShowLabel field value."""
40
+ return self._proto_message.ShowLabel
41
+
42
+ @show_label.setter
43
+ def show_label(self, value: bool) -> None:
44
+ """Set the ShowLabel field value."""
45
+ self._proto_message.ShowLabel = value
46
+
47
+
48
+ @property
49
+ def show_blind_zone(self) -> bool:
50
+ """Get the ShowBlindZone field value."""
51
+ return self._proto_message.ShowBlindZone
52
+
53
+ @show_blind_zone.setter
54
+ def show_blind_zone(self, value: bool) -> None:
55
+ """Set the ShowBlindZone field value."""
56
+ self._proto_message.ShowBlindZone = value
57
+
58
+
59
+ # Utility methods
60
+
61
+ def to_proto(self):
62
+ """Get the underlying protobuf message."""
63
+ return self._proto_message
64
+
65
+ @classmethod
66
+ def from_proto(cls, proto_message):
67
+ """Create wrapper from existing protobuf message."""
68
+ wrapper = cls()
69
+ wrapper._proto_message.CopyFrom(proto_message)
70
+ return wrapper
71
+
72
+ def copy(self):
73
+ """Create a copy of this wrapper."""
74
+ new_wrapper = self.__class__()
75
+ new_wrapper._proto_message.CopyFrom(self._proto_message)
76
+ return new_wrapper
77
+
78
+ def __str__(self) -> str:
79
+ """String representation."""
80
+ return f"{self.__class__.__name__}({self._proto_message})"
81
+
82
+ def __repr__(self) -> str:
83
+ """Detailed string representation."""
84
+ return f"{self.__class__.__name__}({self._proto_message})"
@@ -0,0 +1,38 @@
1
+ from typing import List
2
+ from . import DipsAPI_pb2_grpc
3
+ from . import DipsAPI_pb2
4
+ from .TraverseEntityVisibilityVal import TraverseEntityVisibilityVal
5
+ from .TraverseEntityVisibilityVal import TraverseEntityVisibilityVal
6
+ from .ValidatableResultVal import ValidatableResultVal
7
+
8
+ class TraverseEntityVisibilityRef:
9
+ def __init__(self, channelToConnectOn, ref: DipsAPI_pb2.ProtoReference_TraverseEntityVisibility):
10
+ self.__modelRef = ref
11
+ self.__refManagerStub = DipsAPI_pb2_grpc.nSameModuleReferenceAccessorStub(channelToConnectOn)
12
+ self.__channelToConnectOn = channelToConnectOn
13
+ self.__EntityServicesStubLocal = DipsAPI_pb2_grpc.EntityServicesStub(channelToConnectOn)
14
+
15
+
16
+ def GetValue(self) -> TraverseEntityVisibilityVal:
17
+ bytes = self.__refManagerStub.GetValue(self.__modelRef.ID)
18
+ ret = DipsAPI_pb2.TraverseEntityVisibility()
19
+ ret.MergeFromString(bytes.data)
20
+ return TraverseEntityVisibilityVal.from_proto(ret)
21
+
22
+ def get_model_ref(self):
23
+ """Get the underlying model reference for direct protobuf operations."""
24
+ return self.__modelRef
25
+
26
+ def SetTraverseEntityOptions(self, TraverseEntityVisibility: TraverseEntityVisibilityVal) -> ValidatableResultVal:
27
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_TraverseEntityVisibility_TraverseEntityVisibility(This=self.__modelRef, Input1=(TraverseEntityVisibility.to_proto() if hasattr(TraverseEntityVisibility, 'to_proto') else TraverseEntityVisibility))
28
+ ret = self.__EntityServicesStubLocal.SetTraverseEntityOptions(functionParam)
29
+
30
+ return ValidatableResultVal.from_proto(ret)
31
+
32
+
33
+ def SetTraverseEntityVisibility(self, Boolean: bool):
34
+ functionParam = DipsAPI_pb2.ProtoMemberFunction_ProtoReference_TraverseEntityVisibility_Boolean(This=self.__modelRef, Input1=Boolean)
35
+ ret = self.__EntityServicesStubLocal.SetTraverseEntityVisibility(functionParam)
36
+
37
+
38
+