I tested the InsertRow-Example and it failed becouse insertRow() was
introduced in XSI2014.
So i have to rearange my code a bit to overcome this limitation... but
still i thing there is another Error.

As you can see in the ErrorLog, accessing the StringParam works, but the
GridParam dont...
I`m not sure if this is a Linux or a XSI2013 issue


Here is the OutPut i get, by running my DebugCode:

# ERROR : Traceback (most recent call last):
#   File "<Script Block 2>", line 74, in vu_txManager_DEBUG_PPG_OnInit
#     updateData()
#   File "<Script Block 2>", line 58, in updateData
#     gridPar.InsertRow(0)
#   File
"/usr/Softimage/Softimage_2013_SP1/Application/bin/win32com/client/dynamic.py",
line 496, in __getattr__
#     raise AttributeError, "%s.%s" % (self._username_, attr)
# AttributeError: <unknown>.InsertRow
#  - [line 57 in
/nfshome/vincent/Autodesk/Softimage_2013_SP1/Application/Plugins/txManager_v08_Debug_v001.py]
# ERROR : Property Page Script Logic Error (Python ActiveX Scripting Engine)
# ERROR :    [55]
# ERROR :    [56] print "PPG.string: " + PPG.string.value # --> Works
# ERROR :   >[57] print "PPG.grid: " + str(PPG.grid) # --> Unknown
# ERROR :    [58] gridPar.InsertRow(0)
# ERROR :    [59]
# ERROR :    [60] #######################################
# ERROR : Traceback (most recent call last):
#   File "<Script Block 2>", line 74, in vu_txManager_DEBUG_PPG_OnInit
#     updateData()
#   File "<Script Block 2>", line 58, in updateData
#     gridPar.InsertRow(0)
#   File
"/usr/Softimage/Softimage_2013_SP1/Application/bin/win32com/client/dynamic.py",
line 496, in __getattr__
#     raise AttributeError, "%s.%s" % (self._username_, attr)
# AttributeError: <unknown>.InsertRow
#
# PPG.string: Test
# PPG.grid: <COMObject <unknown>>




2014-05-01 2:50 GMT+02:00 Thomas Volkmann <li...@thomasvolkmann.com>:

> What is the error you get?
> It seems to work at my end (except for i being undefined), and the
> GridData.InsertRow example from the SDK is working fine as well.
> It's 2014SP2 though on Fedora20.
>
> cheers,
> Thomas
>
>
>
> On 04/30/2014 08:08 PM, Vincent Ullmann wrote:
>
>> Hi List,
>>
>> a plugin i write a few weeks ago, workes fine in Softimage for Windows,
>> but doesnt in Softimage for Linux.
>> I made a little Debug-Version (see attatchment).
>>
>> What basicaly failes might be this line:
>> [54] gridPar = PPG.grid.value
>>
>> Does anyone know how the get the GridData-Parameter from a PPG-Callback
>> (eg. _onInit) ??
>>
>> Cheers
>> Vincent
>>
>>
>>
>> TestSystems:
>> - multiple Windows7-Mashines + XSI2014
>> vs.
>> - CentOS 6.2 + XSI2013
>>
>
>

Reply via email to