update main store_file
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled

This commit is contained in:
NLSA
2026-03-11 23:17:51 +01:00
parent 11acb02fd1
commit f8c9d4237d
+6 -6
View File
@@ -196,12 +196,12 @@ def automate_function(
ifc.write(ifc_filename) ifc.write(ifc_filename)
print(f"\n💾 IFC file written: {ifc_filename}") print(f"\n💾 IFC file written: {ifc_filename}")
# try: try:
# automate_context.mark_run_success("Success! You can download the IF file below.") automate_context.mark_run_success("Success! You can download the IF file below.")
# automate_context.store_file_result(f"./{ifc_filename}") automate_context.store_file_result(f"./{ifc_filename}")
# except Exception as e: except Exception as e:
# print(f" ⚠️ Could not upload file result (network issue?): {e}") print(f" ⚠️ Could not upload file result (network issue?): {e}")
# automate_context.mark_run_failed(f"Something went wrong when storing file result. Exception detail: {e}") automate_context.mark_run_failed(f"Something went wrong when storing file result. Exception detail: {e}")
print(f"\n{'=' * 60}") print(f"\n{'=' * 60}")
print(f" Export complete!") print(f" Export complete!")