Skip to content

Commit 35591ee

Browse files
[API-519] Removed get_last_error method
1 parent 52b4018 commit 35591ee

File tree

11 files changed

+0
-113
lines changed

11 files changed

+0
-113
lines changed

src/endtype_controller/__init__.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
from typing import List
22
from cadwork.api_types import *
33

4-
def get_last_error(error_code: int) -> str:
5-
"""Gets the last error message.
6-
7-
Parameters:
8-
error_code: A pointer to an integer where the error code will be stored.
9-
10-
Returns:
11-
A string containing the last error message.
12-
"""
13-
144
def get_endtype_id(name: str) -> EndtypeId:
155
"""Gets the endtype id by endtype name.
166

src/file_controller/__init__.pyi

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@ from cadwork.dxf_layer_format_type import dxf_layer_format_type
66
from cadwork.dxf_export_version import dxf_export_version
77
from cadwork.api_types import *
88

9-
10-
def get_last_error(error_code: int) -> str:
11-
"""Gets the last error.
12-
13-
Parameters:
14-
error_code: The error code.
15-
16-
Returns:
17-
The error string.
18-
"""
19-
20-
219
def export_stl_file(element_id_list: List[ElementId], file_path: str) -> None:
2210
"""Exports an STL file.
2311

src/geometry_controller/__init__.pyi

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,14 +1111,3 @@ def get_standard_element_length_from_name(standard_element_name: str) -> float:
11111111
Returns:
11121112
float
11131113
"""
1114-
1115-
1116-
def get_last_error(error_code: int) -> str:
1117-
"""get last error
1118-
1119-
Parameters:
1120-
error_code: error_code
1121-
1122-
Returns:
1123-
str
1124-
"""

src/list_controller/__init__.pyi

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
from typing import List
22

33

4-
def get_last_error(error_code: int) -> str:
5-
"""Gets the last error
6-
7-
Parameters:
8-
error_code: error_code
9-
10-
Returns:
11-
error string
12-
"""
13-
14-
154
def export_production_list(element_id_list: List[int], file_path: str) -> None:
165
"""Exports a production list
176

src/machine_controller/__init__.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@ from typing import List
22
from cadwork import vertex_list
33

44

5-
def get_last_error(error_code: int) -> str:
6-
"""Gets the last error
7-
8-
Parameters:
9-
error_code: error_code
10-
11-
Returns:
12-
error string
13-
"""
14-
155
def export_btl(btl_version: int, file_path: str) -> None:
166
"""Exports a BTL file
177

src/material_controller/__init__.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
from typing import List
22

3-
def get_last_error(error_code: int) -> str:
4-
"""Gets the last error
5-
6-
Parameters:
7-
error_code: error_code
8-
9-
Returns:
10-
error string
11-
"""
12-
133
def create_material(name: str) -> int:
144
"""Creates new material
155

src/roof_controller/__init__.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ def get_all_caddy_element_ids() -> List[int]:
2828
element ID list
2929
"""
3030

31-
def get_last_error(a0: int) -> str:
32-
"""get last error
33-
34-
Parameters:
35-
a0: a0
36-
37-
Returns:
38-
str
39-
"""
40-
4131
def clear_errors() -> None:
4232
"""clear errors
4333

src/scene_controller/__init__.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
from typing import List
22

3-
def get_last_error(error_code: int) -> str:
4-
"""Gets the last error
5-
6-
Parameters:
7-
error_code: error_code
8-
9-
Returns:
10-
error string
11-
"""
12-
133
def add_scene(name: str) -> bool:
144
"""Adds a new scene
155

src/shop_drawing_controller/__init__.pyi

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
from typing import List
22
from cadwork.point_3d import point_3d
33

4-
def get_last_error(error_code: int) -> str:
5-
"""Gets the last error
6-
7-
Parameters:
8-
error_code: error_code
9-
10-
Returns:
11-
error string
12-
"""
134

145
def export_2d_wireframe_with_clipboard(clipboard_number: int, with_layout: bool) -> None:
156
"""Exports a 2D wireframe to the clipboard

src/utility_controller/__init__.pyi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@ from cadwork.shortcut_key import shortcut_key
77
from cadwork.shortcut_key_modifier import shortcut_key_modifier
88

99

10-
def get_last_error(error_code: int) -> str:
11-
"""Gets the last error.
12-
13-
Parameters:
14-
error_code: The error code.
15-
16-
Returns:
17-
The error string.
18-
"""
19-
2010
def get_3d_version() -> int:
2111
"""Gets the 3D version.
2212

0 commit comments

Comments
 (0)