Site Tools


Deleting Plug-In Data from Multiple Files

There are times when you want to remove plug-in data from a file. This is done in Rhino by using the -SaveAs command.

  1. At command line type -SaveAs
  2. Command prompt: Save file name <C:\NAME.3dm> ( Version=5 SaveSmall=No GeometryOnly=No SaveTextures=No SavePlugInData=Yes Browse ):
  3. Click on SavePlugInData=Yes It will toggle to SavePlugInData=No
  4. Save file name <C:\NAME.3dm> ( Version=5 SaveSmall=No GeometryOnly=No SaveTextures=No SavePlugInData=No Browse ):
  5. Rhino echos File successfully written as C:\SHARE\test.3dm

This works well for one file. But what if you are needing to process a entire folder and possibly subfolders of files? You need this script.

Download

  • Download BatchRemovePlugInDataV5.zip for Rhino 5 (NOT AVAILABLE YET.)
  • Unzip into a folder that you will remember and not move or delete.

How to Use

  1. Open Rhino 4 to a new empty file.
  2. Drag and drop BatchRemovePlugInData.rvb on top of the Rhino application window.
  3. Type BatchRemovePlugInData
  4. Select the folder to process. Let it roll.

BE CAREFUL

  • Test thoroughly with small number of files. Make sure files still work propertly with any plug-ins like Matrix, V-Ray, RhinoGold, RhinoCAM and many others that you may be using.
  • This utility will process all the file in a folder and its sudfolders.
  • Arrange your directory structure so that files that you do not need processed are not in the folder or subfolder that you select.

Problems?

Email max@mcneel.com.

Learning RhinoSrcipt

rhino/delete_plugin_data.txt · Last modified: 2014/01/23 (external edit)