File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from typing import List
22from 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-
144def get_endtype_id (name : str ) -> EndtypeId :
155 """Gets the endtype id by endtype name.
166
Original file line number Diff line number Diff line change @@ -6,18 +6,6 @@ from cadwork.dxf_layer_format_type import dxf_layer_format_type
66from cadwork .dxf_export_version import dxf_export_version
77from 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-
219def export_stl_file (element_id_list : List [ElementId ], file_path : str ) -> None :
2210 """Exports an STL file.
2311
Original file line number Diff line number Diff 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- """
Original file line number Diff line number Diff line change 11from 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-
154def export_production_list (element_id_list : List [int ], file_path : str ) -> None :
165 """Exports a production list
176
Original file line number Diff line number Diff line change @@ -2,16 +2,6 @@ from typing import List
22from 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-
155def export_btl (btl_version : int , file_path : str ) -> None :
166 """Exports a BTL file
177
Original file line number Diff line number Diff line change 11from 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-
133def create_material (name : str ) -> int :
144 """Creates new material
155
Original file line number Diff line number Diff 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-
4131def clear_errors () -> None :
4232 """clear errors
4333
Original file line number Diff line number Diff line change 11from 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-
133def add_scene (name : str ) -> bool :
144 """Adds a new scene
155
Original file line number Diff line number Diff line change 11from typing import List
22from 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
145def export_2d_wireframe_with_clipboard (clipboard_number : int , with_layout : bool ) -> None :
156 """Exports a 2D wireframe to the clipboard
Original file line number Diff line number Diff line change @@ -7,16 +7,6 @@ from cadwork.shortcut_key import shortcut_key
77from 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-
2010def get_3d_version () -> int :
2111 """Gets the 3D version.
2212
You can’t perform that action at this time.
0 commit comments