Announcement

Collapse
No announcement yet.

duplicated render elements

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • duplicated render elements

    It would be great if any duplicated render element has got additional number when created, for example if I have vraylight render element added and I am creating the next one it should have automatically assign name vraylight01. The were number of occasions where I just forgot to change it and it override the previous setup (as the render element name was the same).
    Best Regards

    Tomek

    Portfolio: http://dtown.pl/

  • #2
    The problem with semi-automatic naming are many.
    There are a number of cases where the auto-naming would conflict with user intention, so perhaps it *shouldn't* be us making the change (this has historically been very problematic with scripted operations and complex pipelines.).
    It can be, however, scripted as a post-process for after the REs have been added, which would result in much cheaper processing (name checking done once instead of each time an RE is added) and it would be user initiated, so intention would be clear.

    Run the attached script, f.e., to get your identical names suffixed.
    The script comes as a pointer, without any support.
    Feel free to modify it as you see fit.
    Attached Files
    Last edited by ^Lele^; 17-12-2021, 04:28 PM. Reason: changed "should" with "shouldn't". sorry for the silly mistake.
    Lele
    Trouble Stirrer in RnD @ Chaos
    ----------------------
    emanuele.lecchi@chaos.com

    Disclaimer:
    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

    Comment


    • #3
      Thank you Lele!
      Best Regards

      Tomek

      Portfolio: http://dtown.pl/

      Comment

      Working...
      X