ID 440832 - An error is given when enumerating nuke.math objects.

Follow

Problem summary
An error is given when enumerating nuke.math objects.


Customer reported version
nuke.11.3v4


Customer reported platform
windows10


Steps to reproduce

1) In Nuke, open the Script Editor.

2) Run the following snippet:

vec = nuke.math.Vector3()


for x in enumerate(vec):

print x

3) View the output for any errors.


Expected behavior
The  .math Vectors should be enumerated.


Actual behavior
An error is given when enumerating .math Vectors: "RuntimeError: index out of range"


Workaround
There is no available workaround at this time.


Reproduced by Support in
Nuke 12.1v4 - macOS 10.13.6

Nuke 12.1v1 - macOS 10.13.6

Nuke 12.0v1 - macOS 10.13.6

Nuke 11.0v1 - macOS 10.13.6

Nuke 10.0v1 - macOS 10.13.6

Nuke 9.0v1 - macOS 10.13.6

Nuke 8.0v1 - macOS 10.13.6


Earliest version tested

Nuke 8.0v1 - This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why