Adverti horiz upsell

TvPaint to Grease Pencil 1.0.1 for Maya (maya script)

Import your TVPaint animation to your Maya scene quickly

License
Button download
139 Downloads

Compatibility

  • 2016, 2015, 2014

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:05/16/2016
Last Modified:05/16/2016
File Size: 6.78 KB

Q/A

Error Help Please!!!

Date:05/27/2016
Submitted by: Chillrobski Chillrobski
I keep getting an error when the camera switches its view and the csv file only seems to work with TVPaint 10 Pro.  I'm on a mac. Do you have any advice how I could fix this.  I'm really excited to try this plugin and thanks for sharing!
# Error: OSError: file <maya console> line 192: 2 # 

Replies to this question:

  • macromaster23

    macromaster23 said over 10 years ago:

    Hi. I'm gonna look into it and see if I can fix this. The line when the script switches the panel to the right camera is situated at line 135 maya.mel.eval('lookThroughModelPanel '+ myCam + ' modelPanel4;') it calls for a mel command. You can try deleting the line (but you'll need to look through the right camera when importing). As for TVPaint compatibility. I have only one version of TVPaint in my sleeve : 10.0.16 in order for my script to work, you need a csv file that starts like this: UTF-8, TVPaint, "CSV 1.0" Project Name, Width, Height, Frame Count, Layer Count, Frame Rate, Pixel Aspect Ratio, Field Mode "Sans Titre", 1920, 1080, 232, 1, 24.000000, 1.000000, Progressive #Layers, "Sans Titre 1" #Density, 1.000000 #Blending, "Color" #Visible, 1 #00000, "frame000-00000.png" etc... if it doesn't, it won't work. But feel free to send me your current csv file so I can see what I could do. Good luck.
  • Chillrobski

    Chillrobski said over 10 years ago:

    Dude you're awesome! Thanks again for this! I'll try now to deleting line 135. I'm not an expert on code but I'll try to follow your instructions the best I can. I have TVP 10 so I'm all good. You should post this on the TVP forum. This is a great mel. :) https://www.tvpaint.com/forum/viewforum.php?f=11

Post a reply: