Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Quick script request:
show user profile  LionDebt
Howdy folks:

I'd like to be able to mash a button combo on my keyboard and have every object in my scene selected in sequence. Once selected, I'd like all Borders to be selected and if greater than 1+, I'd like that object to remain visible. At the end all objects with 0 borders (open edges) should be selected and hidden, alternatively, every object that had borders greater than 1, a 'Hide Unselected' should be done.

Qué possiblé?

?
read 490 times
8/30/2012 11:44:30 AM (last edit: 8/30/2012 11:44:30 AM)
show user profile  Garp
Say again?




read 475 times
8/30/2012 1:32:42 PM (last edit: 8/30/2012 1:32:42 PM)
show user profile  LionDebt
I'm a total script noob.

Say for example I have a scene with 50 objects.

I'd like to press a key-bind, then have each object which has a 'Border' (open edges) or and is therefore not 100% 'closed geometry' be selected and everything else hidden?
read 469 times
8/30/2012 1:51:30 PM (last edit: 8/30/2012 1:52:00 PM)
show user profile  Garp
Hold on. I posted the opposite.
. . .

edit: paste to the listener, hightlight and drag to a toolbar to make a button.



read 462 times
8/30/2012 2:21:04 PM (last edit: 8/30/2012 2:26:02 PM)
show user profile  LionDebt
Works like a treat! Thanks Garp :) Thought it'd be simple enough hehe
read 454 times
8/30/2012 2:42:21 PM (last edit: 8/30/2012 2:42:21 PM)
show user profile  Paunescudanutz
sorry for hijacking your thread LD :D, but its somewhat related, what is a good way of just SELECTING all the border loops in the selected object?

Portfolio

<---~( Daniel )~--->


read 437 times
8/30/2012 9:08:01 PM (last edit: 8/30/2012 9:46:22 PM)
show user profile  Garp
You're welcome, Lion :)

@Paune: something like
polyOp.setEdgeSelection $ (polyOp.getOpenEdges $)
for an editable poly, of course.
Alternatively, you could just hit 3 and ctrl-a ;)




read 427 times
8/30/2012 9:48:42 PM (last edit: 8/30/2012 9:52:37 PM)
show user profile  LionDebt
Yep 3 and Ctrl+A... even I knew that one :D hehe
read 418 times
8/30/2012 10:03:54 PM (last edit: 8/30/2012 10:03:54 PM)
show user profile  herfst1
Alternatively, you can select them by hitting 2 and click, click, click, etc.
read 409 times
8/30/2012 10:20:50 PM (last edit: 8/30/2012 10:20:50 PM)
show user profile  Garp
Even better: select all the polygons, add a capholes modifier, collapse the stack, invert the polygon selection, hold shift while clicking the edge button, delete the selected polygons, done.




read 405 times
8/30/2012 10:25:26 PM (last edit: 8/30/2012 10:25:26 PM)
show user profile  LionDebt
Another way you can select them is by selecting the element sub object, or, all the polygons of your model, and then press CTRL+click this little button here:


read 402 times
8/30/2012 10:30:23 PM (last edit: 8/30/2012 10:30:23 PM)
show user profile  herfst1
That's actually pretty genius, Garp. Took me three readings to fully understand before I could laugh.
read 400 times
8/30/2012 10:34:35 PM (last edit: 8/30/2012 10:34:35 PM)
show user profile  Paunescudanutz
lol, i want to have that automated in a bigger script :P, not that i don't know how to do it manually.....you noooooooooobs (jk)

Thanks garp!

Portfolio

<---~( Daniel )~--->


read 383 times
8/31/2012 10:39:10 AM (last edit: 8/31/2012 10:39:10 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org