Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / XSI SDK / Python & ICEAttributes
  RSS 2.0 ATOM  

Python & ICEAttributes
Rate this thread
 
30113
 
Permlink of this thread  
avatar
  • Location: Maastricht, NL
  • Total Posts: 347
  • Joined: 18 February 2008 01:47 PM

Probably quite simple, but I just don’t get it:
How do I read the values stored in an ICEAttribute using Python?
I found the “...Geometry.GetICEAttributeFromName”, but after that I am hopelessly lost!
Getting a “DataArray” from the value I tried to access (a 3D Vector) returns an empty array and trying to get a “DataArray2D” gets me an error message…
What am I obviously doing totally wrong?

edit: Mind you, I am only trying to READ the attribute-value, I have no intention to modify the value and write it back!!!



The “other” Softimage community: si-community.com

Replies: 0
avatar
  • scaron
  • Posted: 07 October 2008 08:10 AM

http://community.softimage.com/showthread.php?t=2606

5th post, this export event is in python and accesses ice attributes. check it out



Replies: 0
avatar

Thanks for the link… There are way too many gems hidden in all these different ICE-Threads! I will look into the script later, but at first glance, it should be able to help me...:clap:



The “other” Softimage community: si-community.com

Replies: 0