1. #1
    New Member Follow User Gallery
    Join Date
    May 2014
    Posts
    3

    Default Question: rename subtool? script execution issue

    Hello everyone! Please can someone explain me..
    1. is there a way to rename subtool?
    2. when i trying to use "decimation plugin" (like [IPress, "Zpluginecimation Master:Pre-process current" or anything else] right after that my script immediatly stops execution. Is there a way to continue it or maybe start another one?
    Ex:

    [IButton,"DoSomeThing",,
    [IPress, "Zpluginecimation Masterecimate Current"]
    [MessageOK,"It's Alive!!"] //Nope probably not
    ]

    Thank you in advance for your help

  2. #2
    Member Follow User Gallery
    Join Date
    Feb 2013
    Location
    UK
    Age
    36
    Posts
    59

    Default

    The problem is Decimation Master is Separated Scripts and in Zbrush u can run only one Script at time.
    So when your script trigger Decimation Master it stop working and Decimation Master script take controle.

  3. #3
    New Member Follow User Gallery
    Join Date
    May 2014
    Posts
    3

    Default

    Ok i got it, thank you. I just thought there might be some kind of tricky way

  4. #4
    Senior Member Follow User Gallery
    Join Date
    May 2007
    Location
    Raleigh NC
    Posts
    484

    Default

    There are a couple hacky ways to rename subtools. The way I rename subtools is by, setting the SubD to 1 then moving it to the top of the stack and then setting the path with:

    [ToolSetPath, Tool Index (zero based). If omited then uses the currently selected tool., New Path. Path extension (such as .ztl) will be omited.]

    You could also save the file to a temp directory to rename the subtool but I find this to be much slower on dense meshes. Either way I "believe" the subtool has to be at the top of the stack.

  5. #5
    New Member Follow User Gallery
    Join Date
    May 2014
    Posts
    3

    Default

    Nyx 702, thank you sooo much! It almost drives me crazy.


    Much appreciated for your help, guys

  6. #6

  7. #7

    Default

    Do not know exactly not it? Now backed exchange

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •