show/hide curves

Next
 From:  Andrei Samardac
6014.1 
Michael make pleas script that show/hide curves i have this script script:moi.geometryDatabase.getObjects().getCurves().setProperty( 'hidden', true );
but it onky hides.

-----------------------------------------
Portfolio: www.samardac.tumblr.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
6014.2 In reply to 6014.1 
Hi Andrei, normally you would use the Scene Browser to show/hide all curves, use the eye icon on the "Curves" entry that's under the Types section of the scene browser.

Here's also a script that will do it too though:

script: /* Toggle visibility of all curves */ var objs = moi.geometryDatabase.getObjects().getCurves(); var ishidden = objs.length > 0 ? objs.item(0).hidden : false; objs.setProperty( 'hidden', !ishidden );

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Andrei Samardac
6014.3 In reply to 6014.2 
Thank you, yes I know but prefer to use shortcuts)

-----------------------------------------
Portfolio: www.samardac.tumblr.com
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All