I'm afraid the script didn't work for me - here's the output. Not sure what I did wrong, if anything. The script is in the script library and I created the 'no_density' material.
Alibre Script build 343305
IronPython 2.7.10.0 Interactive Console
For documentation visit
http://docs.python.org/2.7
The complete standard library is available
Console commands available:
history : Prints history of entered commands
cls : Clears the screen
help : Shows the list of console commands
run : Executes the current script
run arg1 arg2 : Executes the current script, pass arguments
run "scriptname" : Executes a specific script
run "scriptname" arg1 arg2 : Executes a specific script, pass arguments
>>>
Traceback (most recent call last):
File "<string>", line 66, in <module>
File "<string>", line 40, in scriptversion
NameError: name 'win' is not defined
>>>
Traceback (most recent call last):
File "<string>", line 66, in <module>
File "<string>", line 40, in scriptversion
NameError: name 'win' is not defined
>>>
Traceback (most recent call last):
File "<string>", line 66, in <module>
File "<string>", line 40, in scriptversion
NameError: name 'win' is not defined
>>>
Traceback (most recent call last):
File "<string>", line 66, in <module>
File "<string>", line 40, in scriptversion
NameError: name 'win' is not defined
>>>