Skip to main content
Solved

Clean CADfile directory

  • July 12, 2022
  • 1 reply
  • 65 views

Luca.cellerino

Hello everybody,
I wish I could clean the CADfiles directory of anything unwanted as the number of files inside is growing exponentially.
Do I have to proceed by hand or is there a best practice to be able to operate at best?

Thanks a lot to everyone.

Best answer by MichaelH

Hi Luca,

The CAD directory is a flat directory structure so yes, it can become very cluttered.  My 2 recommendations are:

  • Always save a ZAR of your system so the CAD files will be part of the ZAR.  This way you can delete everything and simply extract the ZAR when you want to re-analyze a system.
  • Use the new Project Directories in the last 1-2 releases of OpticStudio.  The initial release in 21.3 includes all the files in the Objects\CAD Files directory ("Convert to Project Directory" new feature: two issues | Zemax Community).  

1 reply

MichaelH
Ansys Staff
Forum|alt.badge.img+2
  • Ansys Staff
  • Answer
  • July 12, 2022

Hi Luca,

The CAD directory is a flat directory structure so yes, it can become very cluttered.  My 2 recommendations are:

  • Always save a ZAR of your system so the CAD files will be part of the ZAR.  This way you can delete everything and simply extract the ZAR when you want to re-analyze a system.
  • Use the new Project Directories in the last 1-2 releases of OpticStudio.  The initial release in 21.3 includes all the files in the Objects\CAD Files directory ("Convert to Project Directory" new feature: two issues | Zemax Community).