Hello everyone,
I found the API example for Pack and Go and it shows that the Pack and Go process can be controlled through a macro.
I am wondering if the workflow can be extended with the following steps:
- Use the currently opened drawing (.slddrw) as the source document.
- Execute Pack and Go through a macro.
- Create the new drawing with its new file name.
- Close the originally opened drawing.
- Automatically open the newly created drawing.
Has anyone implemented something similar?
I am particularly interested in whether the API provides a reliable way to obtain the new drawing filename and location after Pack and Go has completed, so that the new drawing can be opened automatically.
Any advice or examples would be greatly appreciated.
Thanks!
Hallo zusammen,
ich habe das API-Beispiel für Pack & Go gefunden und sehe, dass sich der Pack & Go Prozess grundsätzlich per Makro steuern lässt.
Nun frage ich mich, ob es möglich ist, den Ablauf noch um folgende Schritte zu erweitern:
- Aktuell geöffnete Zeichnung (.slddrw) als Ausgangspunkt verwenden.
- Pack & Go per Makro ausführen.
- Die neue Zeichnung mit ihrem neuen Namen erzeugen.
- Die ursprünglich geöffnete Zeichnung schließen.
- Die neu erzeugte Zeichnung automatisch öffnen.
Hat jemand so etwas bereits umgesetzt?
Insbesondere interessiert mich, ob man über die API nach dem Pack & Go zuverlässig den neuen Dateinamen bzw. den Speicherort der erzeugten Zeichnung ermitteln und anschließend direkt öffnen kann.
Vielen Dank für eure Erfahrungen und Hinweise!
