|
I have finished doing the spacertool script in python so I decided to put it on a button in a customtoolbar, but when I use the script from a button it opens a ppg for each duplicate thats being placed along my curve. So if I make 50 duplicates a long a curve it will open 50 seperate ppgs, but if i run it from the script editor this doesnt happen. Any one have a suggestion about how to stop this?
Falun Dafa
A meditative practice for the mind and body
http://www.falundafa.org
|
|
|
|
Use the object model for creating new objects.
-Or-
Turn off autoinspect while your script runs:
SetValue("preferences.Interaction.autoinspect", false, null);
|
|
|
|
Thanks for the help! I will keep those in mind, I wrote Charbel and he suggested I use siApplycns in the script because it doesn’t open the ppg while executing. But in the future I will what you suggested to keep in mind as solutions to other things ^_^
Thanks!!
Falun Dafa
A meditative practice for the mind and body
http://www.falundafa.org
|
|
|