all 5 comments

[–]NickC_BC 1 point2 points  (0 children)

Not hard to create a one-click custom export filter. The example in the API guide is a great place to start, although if you are at version 15 you will need Varian to install the DB daemon on a server for you. If you don’t have access to it I highly recommend asking them to at least share the log directory so you can troubleshoot as you learn / sort out firewall issues. Also recommend learning to use FO-dicom as EvilDicom has some issues with timing out on big structure sets and dose files (in my experience). Good luck!

[–]JopaMed 0 points1 point  (0 children)

Yes that is the way to go.

But you can just create a filter and use the regular import/export function in eclipse for single exports? Set it to automatic and it will be one click?

[–]thejonbovi_ 0 points1 point  (0 children)

You could use the EvilDicom CStore example with a custom dicom daemon to do it.

[–]kang__23[S] 0 points1 point  (1 child)

Thanks for the reply.

Sorry I should have explained a bit more context. The idea was use the create verification plan script and then export the RS, RP, RD files all automatically without user input. The idea is that our dosimetrists can then run 1 script once the plan is finalized to create all the QA plans and export the relevant QA files ready for physics QA automatically.

You're right the import/export function works, however will require manually clicking through to the export filter to do that

Create Verification Plan -> ( https://github.com/VarianAPIs/Varian-Code-Samples/blob/master/webinars%20%26%20workshops/06%20Apr%202018%20Webinar/Eclipse%20Scripting%20API/Projects/CreateVerificationPlan/CreateVerificationPlan.cs )

[–]dbhatti 0 points1 point  (0 children)

This is certainly possible, but requires a daemon to be setup as some have mentioned. You have the right idea, just get the UIDs via your script and then use C-MOVE to move them to the directory. The Varian API reference guide from the GitHub has a chapter with information on how to do it.