for it to iterate properly of the set_attr.. start on 0 #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
for it to iterate properly of the set_attr.. I need to start on 0 to find the -type in the array..
---I tried it on a this maya asccii file, and had issues that it did not parse the translate and rotate correctly..
//Maya ASCII 2013 scene
//Name: Frame000001.ma
//Last modified: Thu, May 30, 2019 01:54:22
//Codeset: 1250
requires maya "2013";
currentUnit -l Meter -a degree -t pal;
createNode transform -n "Camera1";
setAttr ".translate" -type "double3" -61.3705913218465 -72.9083740863482 27.44402042745573;
setAttr ".rotate" -type "double3" 86.25937533399446 0.9089993643681026 -39.0049653572422;
createNode camera -n "cameraShape1" -p "Camera1";
setAttr ".focalLength" 129.4273098880071;
addAttr -ci true -sn "imageFileName" -ln "imageFileName" -dt "string";
addAttr -ci true -sn "originalImageFileName" -ln "originalImageFileName" -dt "string";
addAttr -ci true -sn "aspectRatio" -ln "aspectRatio" -at "double";
addAttr -ci true -sn "principalPoint" -ln "principalPoint" -dt "double2";
addAttr -ci true -sn "lensDistortion" -ln "lensDistortion" -dt "doubleArray";
setAttr -k on ".imageFileName" -type "string" "Cam01_000001.jpg";
setAttr -k on ".originalImageFileName" -type "string" "R:\Frame000001\Cam01_000001.jpg";
setAttr -k on ".aspectRatio" -type double 1.000022599329786;
setAttr -k on ".principalPoint" -type double2 0 -5.77383634949802e-017;
setAttr -k on ".lensDistortion" -type doubleArray 6 0 0 0 0 0 0;
setAttr ".cap" -type "double2" 1.082607182989887 1.417322834645669 ;