Okay, after thinking a bit, and remembering that I has also gotten the dialog twice for the first “Front” view, …
I make a few tweaks to hopefully make sure that the dialog was only being opened once per camera view.
Version 1.1.1
- 2024-02-18 (Dan Rathbun)
-
Increase the dialog
DELAY
constant to 1.5 seconds. -
export_dxf_view()
: Usetrue
for 2ndUI.start_timer
argument and then
cancel the timer on the first call into the block. -
onViewChanged()
: Detach the observer before calling the method to
open the export dialog. We are trying to avoid double calls into
theexport_dxf_view()
method for the same camera view export.
Example_BatchExportDXF_1.1.1.rbz (4.6 KB)
I have only tested with a local model file and writing to local physical disk drives.
Network storage has been known to have latency that causes issues with SketchUp.