neonghost
09-17-2010, 04:37 PM
Hi,
Hopefully this is a simple one - I need to access some component data in the c4d.Vector class, but it doesn't seem to work like a normal list...
I only want to pull the Y data, so I though I could use something like:
y = myVector[1]or even
y = myVector[y]
based on the doc explaining the class as 'The values for a Vector are stored in the members x, y and z' - however this is yielding no joy. Any tips on pulling a component from this data type would be helpful, thanks!
Hopefully this is a simple one - I need to access some component data in the c4d.Vector class, but it doesn't seem to work like a normal list...
I only want to pull the Y data, so I though I could use something like:
y = myVector[1]or even
y = myVector[y]
based on the doc explaining the class as 'The values for a Vector are stored in the members x, y and z' - however this is yielding no joy. Any tips on pulling a component from this data type would be helpful, thanks!
