Hey All
I have a problem with a ppg in xsi that i am writing with python...
basically, nothing happens when i click the buttons... no function is
called or anything... help?
siInt4 = 3
siFloat = 4
siDouble = 5
siString = 8
siBool = 11
siUByte = 17
null = 0
false = 0
true = 1
siPersistable = 4
siAnimatable = 1
siReadOnly = 1
siUIValueOnly = "ValueOnly"
def XSILoadPlugin( in_reg ):
in_reg.Author = "Wizard User"
in_reg.Name = "MyPropertyPlugin"
in_reg.Major = 1
in_reg.Minor = 1
in_reg.RegisterProperty( "MyProperty" )
return true
def MyProperty_Define( io_Context ):
oCustomProperty = io_Context.Source
def MyProperty_DefineLayout( io_Context ):
oLayout = io_Context.Source
oLayout.Clear( )
oLayout.AddButton( "yada" )
def MyProperty_OnInit( ):
Application.LogMessage( "OnInit called" )
def MyProperty_yada_OnClicked( ):
Application.LogMessage( "MyProperty_yada_OnClicked called" )
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi