hi dan
unfortunately this gives an error:
# ERROR : Traceback (most recent call last):
# File "<Script Block >", line 79, in <module>
# if ( i.PortType == 0 ) :
# File
"C:\Autodesk\Softimage_2015\Application\python\Lib\site-packages\win32com\client\dynamic.py",
line 516, in __getattr__
# raise AttributeError("%s.%s" % (self._username_, attr))
# AttributeError: <unknown>.PortType
# - [line 79]
i can't wrap my head around that. is there a wrong context?
if i print oNode i get:
# Sources.Materials.DefaultLib.Scene_Material.Phong
On 3/3/2015 10:50 AM, Dan Yargici wrote:
for i in oNode.Parameters :
if ( i.PortType == 0 ) :
print i
--
------------------------------------------------------------------------
Jan Dubied
2D/3D Artist
*ON LINE VIDEO 46 AG*
Leutschenbachstr. 46 / 8050 Zurich / Switzerland
Phone +41 44 305 73 73 / Fax +41 44 305 73 00
www.onlinevideo.ch <http://www.onlinevideo.ch/>