mcjHideAllBut ( also includes the secret "Pivot Cam Toward button" )

mCasualmCasual Posts: 4,605
edited November 2014 in Freebies

for DS 1,2,3,4 ==========> https://sites.google.com/site/mcasualsdazscripts4/mcjhideallbut


following a request by Ruphuss, a script to hide all the objects in the scene except the selected ones

then i added a "Show all button"

a "Hide Selected" button

a "Frame selected"

and a "Pivot Cam Toward" button,

it aims your current camera toward the selected object

BUT does not move the camera

AND only modifies the Y-Rotate rotation

shoohiide.jpg
512 x 512 - 89K
aopi.jpg
732 x 422 - 136K
goodabing.jpg
1920 x 1080 - 915K
Post edited by mCasual on

Comments

  • mCasualmCasual Posts: 4,605
    edited November 2014

    Ready !

    for DS 1,2,3,4 ==========> https://sites.google.com/site/mcasualsdazscripts4/mcjhideallbut


    ----
    image Below is unrelated and was made around the time i was working on the bullet physics kit, and Miley's video came out

    figure 2 , titles "AikoStyle" is there to just slightly annoy the kind viewer

    figure 3 is a rather old promotional picture for mcjTeleBlender

    ok ok ok i stop ! :)

    notabena.jpg
    720 x 1080 - 147K
    aikostyle.gif
    180 x 270 - 785K
    hammersaber.jpg
    1280 x 720 - 477K
    Post edited by mCasual on
  • RuphussRuphuss Posts: 2,631
    edited December 1969

    really you are quick, casual
    will try that
    thank you very much

  • RuphussRuphuss Posts: 2,631
    edited December 1969

    ok this works very well with different objects
    very nice so far
    now my main intention was to do this with bones
    say I would just like to see the pinky of a figure or the teeth or tongue
    sorry that I did not make that clear enough

  • RuphussRuphuss Posts: 2,631
    edited December 1969

    ....and more of your lovely Ami please
    especially with voiceover
    (who is that voice?)
    do not tell me its a machine

  • mCasualmCasual Posts: 4,605
    edited December 1969

    ruphuss said:
    ok this works very well with different objects
    very nice so far
    now my main intention was to do this with bones
    say I would just like to see the pinky of a figure or the teeth or tongue
    sorry that I did not make that clear enough

    i'll add bones tomorrow, i didn't think this through :)

  • mCasualmCasual Posts: 4,605
    edited December 1969

    ruphuss said:
    ....and more of your lovely Ami please
    especially with voiceover
    (who is that voice?)
    do not tell me its a machine

    yes it's a .... well not totally synthetic voice, the base material was recorded from a real human http://www.nextup.com/attnv.html

  • mCasualmCasual Posts: 4,605
    edited November 2014

    - Update - Update - Update - Update - Update - Update - Update - Update -

    November 5th 2014 1:37 pm -

    bones and skeletons now take part in the hide and show game

    the 'Hide Selected' button is now a 'Hide/Show Selected' button


    https://sites.google.com/site/mcasualsdazscripts4/mcjhideallbut

    Figure 1 : totally unrelated archived render from 2005 !

    that's part of a cat's plane and part of a video-movie that is not made .... yet :)

    lattepanel2.jpg
    576 x 432 - 31K
    Post edited by mCasual on
  • RuphussRuphuss Posts: 2,631
    edited December 1969

    Casual said:
    ruphuss said:
    ....and more of your lovely Ami please
    especially with voiceover
    (who is that voice?)
    do not tell me its a machine

    yes it's a .... well not totally synthetic voice, the base material was recorded from a real human http://www.nextup.com/attnv.html


    very useful link

  • RuphussRuphuss Posts: 2,631
    edited December 1969

    can it be you uploaded the old script because it doesn't work on bones for me ?
    tried to see only the head but it vanishes also

  • mCasualmCasual Posts: 4,605
    edited December 1969

    ruphuss said:
    can it be you uploaded the old script because it doesn't work on bones for me ?
    tried to see only the head but it vanishes also

    sorry about this i'll fix it today

    the reason is .... the script sees that the head is selected, then it goes through the scenes hundreds of nodes and finds the figure which owns it and goes "well that's a bone or a skeleton, and, it's not selected, is it? no it's not" and proceeds to hide it

    i probably tested it only in DS3

  • mCasualmCasual Posts: 4,605
    edited December 1969

    (second) Update -

    the Hide-all-but-selected now works for bones in DS4

    the problem was that mcjhideallbut would correctly not-hide the selected bone but would then go about hiding the (non-selected) skeleton

    so now the script builds a list of skeletons that own any selected bone before starting to hide things

    https://sites.google.com/site/mcasualsdazscripts4/mcjhideallbut

    biganim.gif
    1041 x 612 - 1M
  • RuphussRuphuss Posts: 2,631
    edited December 1969

    works all fine now
    a big thank you again

  • mCasualmCasual Posts: 4,605
    edited August 2018

    UPDATE 

    August 13th 2018 7:44PM - you can now select just the root/skeleton of a figure and there wont be issues like the bones are all hidden even if the root isnt and the result is we cant see a dang thing

    the solution since 2014 was to select all the bones, magine the work !

    privume.jpg
    794 x 794 - 108K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,605
    edited August 2018

    Sorry Sorry .... 3rd version should be The One

    still here - dowload area at the bottom, click the down-arrop button

    https://sites.google.com/site/mcasualsdazscripts4/mcjhideallbut

    August 13th 2018 noon - version 3 fixed issues with selected bones with unselected skeletons

    -----

    the idea is, when modeling a dress, you want to export the figure parts under the dress and not carry the weight of things like the head hand and feet

    so you select chest collars, abdomens hips amd thighs , and use the script an bam you are ready to use daz's built-in exporter

     

    datstheway.jpg
    800 x 800 - 49K
    wowee.jpg
    1280 x 1024 - 97K
    Post edited by mCasual on
  • functionfunction Posts: 279

    @mCasual

    Thank you very much for this great tool! Really appreciated.

    I just found this tool and it works very well.

    One more function that I wish it can has is: the main function 'Hide All But Selected', is it possible to add an 'undo' only for this hide, not for everything?

    I'm not mean the undo function in the DAZ menu. For example, I made a character with different dress put on her, then I hide many dress and only left one on her body, now I click the 'Hide All But Selected' botton, the character hide, and I did some other steps such like adjust something, then I want her back, I can not use DAZ menu undo for it, but when I click the 'Show All Object' botton, everything are back include all dress, but I only want her back with the latest dress, which is the accurate 'undo' of the 'Hide All But Selected'.

    Could you update the scripts for this function?

    Or could you give a script scentense so that I can add to the script myself?

    Many thanks!

Sign In or Register to comment.