Macro Language Reference > Macros > System > freevars
  
freevars
Description
Clears any PTC ALD script variables that match a wildcard pattern.
 
Example 231. Clear all file areas
freevars "_ar_*"
 
This command scans every single one of your PTC ALD variables, so in complicated jobs this can be quite slow. It is even slower when you have several .3d files open at the same time.
Syntax
freevars pattern:s
pattern
The string tag/file containing the wildcard pattern. The syntax only allows one string argument, which can be wild (* or ?), or just a variable name, such as freevars "my_variable".
Additional Information
* 
It is important to be aware that using freevars "*" will clear all variables including areas and system paths if these are used again later during the same PTC ALD session.