Author Topic: Real beginner in Python and code needs some help to create Scripts  (Read 9243 times)

0 Members and 1 Guest are viewing this topic.

Offline Jw2t

  • Newbie
  • *
  • Posts: 10
Re: Real beginner in Python and code needs some help to create Scripts
« Reply #15 on: December 22, 2015, 08:34:53 am »
Hi Ryanfenik,

Thank you for your answer. Before see it, I have edited my post because I solved 2 problems. However I have always difficulties about my last question "How quickly replace a character such as '%' in the name in my many renderings without replace it in each line such as path = "Product1name-view..."?".
I will study your files and try to understand this step. Concerning .psd rendering if you have an idea on the way to do it, let me know.
Thank you again for your answer. I will keep you inform of my progress.

Offline Jw2t

  • Newbie
  • *
  • Posts: 10
Re: Real beginner in Python and code needs some help to create Scripts
« Reply #16 on: December 23, 2015, 06:54:59 am »
Hi all,
I finally succeed (and understand how) to ;
    - Apply and change colors
   - Create and activate differents views
   - Launch .png renderings with layers
   - Named as I want all my .png renderings

However, when I launch my renderings, for 1 combination, I get 4 files (3 layers and another one). How can I get only my layers rendering? (If I have 30 colors, 3 views and 3 layers, I get 360 files (and only 270 usable files) for 1 product. For 150 products, I would avoid a work step where I should delete almost 13 500 files...

Thank you in advance for your answer.

Offline Ryan Fenik

  • Newbie
  • *
  • Posts: 24
Re: Real beginner in Python and code needs some help to create Scripts
« Reply #17 on: December 23, 2015, 09:15:02 am »
Post code for review...