Machine controller - export_hundegger_with_file_path #266
-
|
Hello all! Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Have solved the problem by getting the name of the file using the get_3d_file_name() function and manipulating the string, but can someone confirm that export_hundegger_with_file_path has changed with V2025? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @djdbarroso There was an issue which has been fixed. This fix will be available within the next update from cadwork 2025. Expected output after that update will be from pathlib import Path, WindowsPath
import attribute_controller as ac
import cadwork
import element_controller
import machine_controller as mc
robot_drive = cadwork.hundegger_machine_type.robot_drive.value
mc.calculate_hundegger_machine_data(element_controller.get_visible_identifiable_element_ids(),
robot_drive)
mc.export_hundegger_with_file_path(robot_drive, str(WindowsPath(Path().home() / "Downloads" / "machine" / "data")))
mc.export_hundegger_with_file_path_silent(robot_drive, str(WindowsPath(Path().home() / "Downloads" / "silent_export")))
# results are
## C:\Users\JohnDoe\Downloads\machine\data.bvx
## C:\Users\JohnDoe\Downloads\silent_export.bvx |
Beta Was this translation helpful? Give feedback.
Hi @djdbarroso
There was an issue which has been fixed. This fix will be available within the next update from cadwork 2025.
Expected output after that update will be