Replies: 1 comment
-
|
are you sure that your paths are correct ? import list_controller
import utility_controller
import element_controller
from pathlib import Path
import os
list_settings_path = Path(utility_controller.get_3d_userprofil_path()).parent / "liste" / "settings" / "CH_Stückliste"
print(list_settings_path)
user_downloads_dir = Path(os.path.expanduser("~")) / "Downloads"
user_downloads_path = Path(utility_controller.get_3d_userprofil_path()).parent / "downloads"
list_controller.export_production_list_with_settings(element_controller.get_active_identifiable_element_ids(),
str(user_downloads_dir / "test_production_list.cwlm"),
str(list_settings_path / "CH_SL_Stab.cwle")) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am having a bit of an issue with creating a "production list with settings" function. I can generate the list in the correct folder, but the settings aren't picked. Is the expected behaviour to have a list with the indicated settings applied? I'm probably missing something here; any help would be appreciated. The folder's settings is correct, and there is a settings file with that name in it. This is my code:
Beta Was this translation helpful? Give feedback.
All reactions