RemoveUnused [padstack manager]

Removes padstacks that are not used in the design.

UI Access Project > Remove Unused Definitions is similar but operates slightly different and does not record script commands.
Parameters None
Return Value Boolean; True if one or more padstacks are removed.
Note:

The order of calls to RemoveUnused is significant. As a result, removing definitions in an unordered fashion may cause other padstacks in dependent definitions to be rendered unusable.

Python Syntax RemoveUnused()
Python Example

removedStacks = oPadstackManager.RemoveUnused()