Jump to content

  • “Great art picks up where nature ends.”  Marc Chagall 

Sign in to follow this  
Gilbert

Toggle On\Off VP filter script

Recommended Posts

Hi

I have a very simple script that toggles on\off the grid in the viewport. (years ago someone posted it here )

 

I'd like to create a similar script , that toggles all sort of objects from the viewport (under the VP Filter menu).

The goal is to turn off unwanted stuff, to get a clean software render (no Axis, Deformers, Cameras, Lights etc..)

 

So:

1. Is it something simple to do? - I have no clue in scripting..

2. I'll be happy to pay for such a script. (a reasonable price).

 

As for the grid script, not sure if it's ok to attach it here.

 

Thanks

 

Gilbert

 

 

 

Share this post


Link to post
Share on other sites

I think that was me. I did share a Grid / Horizon toggler a while back, but it's a COFFEE script, so shortly to be deprecated with R20. Might be better to get a Python version.

 

This is the script that does that (if yours is the same).

 

TGrid.thumb.JPG.c491ddaf13575ed7ea82276a2f2d756e.JPG

 

If you view this one in the Script manager you can copy and paste the lines into your new script, and add lines that also toggle the remaining attributes, which I believe are named logically after the hyphen so you should be able to just go down the list changing the words at the end.

 

Am no great scripter myself ( in fact think this was the only one I ever did !) so others may be able to give you more detail if you're still stuck.

 

CBR

 

 

Share this post


Link to post
Share on other sites

Also, forgot to mention the HB modelling bundle has the script you want already in it - it's called HB CleanView.

Obviously I can't give you that script, but if you were willing to pay for one, why not buy the bundle and also get the other 100 brilliant scripts it comes with ?

 

CBR

Share this post


Link to post
Share on other sites
  • Topic Author
  • mine is even simpler , it has only the grid lines. :)

     

    I'll give it a go.

     

    Regarding the HB modeling bundle- i'll check it .

     

    Thanks for answering

    Share this post


    Link to post
    Share on other sites
  • Topic Author
  • Well

    Did it the COFFEE  way.

    Seems to work fine for me.

    I'm attaching it ,with an icon for it, if anyone find it useful. Use it at your own risk

     

    All it does is turning On & Off elements from the viewport. Useful for working with a clean VP or clean preview render (when using Hardware\Software render).

     

    Cerbera- thanks for that cup of COFFEE.

    View Filter.rar

    Share this post


    Link to post
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    Sign in to follow this  

    • BLOGS / NEWS & SPECIAL ANNOUNCEMENTS

    About Us

    C4D Cafe is the largest Cinema 4D community. We provide facilities for discussion, showcasing and learning our favourite software.
    Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, watch tutorials directly from our video gallery,  get your own private messenger, post and upload images, manage your profile and much more. If you need to find solution to your problem or otherwise ask for help, C4D Cafe is the right place to be for learning 3D.  :cowboypistol:

    ×
    ×
    • Create New...