Jump to content
Developer Wiki and Function Reference Links ×

Purge Script


MTRobin

Recommended Posts

In looking at this further, I don't think this is easily doable via a script. You can probably get the Purge dialog box to open, but the user will still need to select what to purge and click OK.

 

You might be able to use one of the Build Resource List commands to get a list of all the symbols and then check each one in series to see if it is in use. If you do this make sure you start at the bottom of the list and work up so you don't change the list order as you delete items.

 

If none of the above makes sense, this may not be a great place to try and start in learning scripting.

 

My week/month/year is slammed, so I don't have the multiple hours it would probably take for me to try and write and debug this. If you use symbol folders it gets even more complicated.

 

Good luck.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...