home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': '',
- 'Copyright': '',
- 'Description': ''
- }
-
- def Swatch_SetMaterial():
- return {
- 'IsPrimary': App.Constants.Boolean.true,
- 'NewMaterial': {
- 'Color': (255,0,0),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- }
- }
-
- def Do(Environment):
- App.Do(Environment, 'SetMaterial', Swatch_SetMaterial())
-
-