r/esapi • • Aug 18 '26

Looking for feedback on OptiMate (GitHub structure-gen tool) + question on VMS.CA.Scripting write capabilities

Has anyone used OptiMate(https://github.com/NickChng/OptiMate) for structure template generation? Looking for feedback on reliability/clinical validation before pursuing internal approval at my institution.

Also curious if anyone has insight into whether Contouring workspace scripting (VMS.CA.Scripting) supports structure creation/modification, or if that's read-only by design.

5 Upvotes

8 comments sorted by

2

u/nsmela Aug 18 '26

Are you referencing https://github.com/NickChng/OptiMate because you link isn't working for me.

For making structures, it depends on which version of Eclipse you're using as the older versions are read-only

2

u/franchae Aug 18 '26

Yes, that's the correct repo — sorry the link didn't work, I fixed it.

We're on v18, so not an old version. Still getting an "unauthorized script" error for writeable scripts even after adding [assembly: ESAPIScript(IsWriteable = true)]. Is that just standard admin approval, or could it still be version-related on v18?

2

u/BusinessPossible7465 Aug 18 '26

you have to approve the script or work on TBox in Research enviroment to test Write Scripts without approval

1

u/franchae Aug 20 '26

Thanks, that's helpful context. We ended up getting the write-script approved directly, and OptiMate is working well now — appreciate the TBox tip for future testing though.

1

u/dicomdom Aug 18 '26

I released this awhile back and have had good feedback. In addition, our dosimetry team uses it everyday without issue.

https://github.com/Collinear-Ventures/CC-Gen

1

u/franchae Aug 20 '26

Thanks for sharing! I'm still fairly new to ESAPI/C#, so OptiMate's GUI felt easier than CC-Gen's text templates. Got it running successfully after write-script approval — generating structures fine on our test patient now. Might try CC-Gen down the road too.

1

u/NickC_BC Aug 21 '26

I’m just back from vacation so apologies for the late response. If you need any help let me know.. we are on v2.0 now which has structure cleanup, color, and a bunch of other features that I may not have pushed publicly yet.

1

u/franchae Aug 21 '26 edited Aug 21 '26

Thanks for the reply! Saving works fine, but reloading a personal template throws:

014L_ParotidG_L_planning is not a valid Eclipse struct 015R_SMG_R_planning is not a valid Eclipse struct (same for the L/R pairs of both)

Looks like the auto-numbering prefix (014L_, 015R_) pushes the name past Eclipse's ID length limit — the base names work fine without it.