"style select" within a solid subset.
All  1-16  17-20

Previous
Next
 From:  Frenchy Pilou (PILOU)
9477.17 In reply to 9477.16 
"Seam's sphere" yes it's :)
So i suppose to rotate it before boolean Diff can solve this little disturb...

else
I correct the "sub object bug" in pasting your "English script" inside the "ShortCut" Moi editor and change comments directly !
(even with accents)
That works! :) I had previously copy / past the text from another prog... maybe this explain that! :)
  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:  neilwilson3412
9477.18 In reply to 9477.16 
hi Michael,


can you make another script to do the same for edges that get assigned a style.
  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
9477.19 In reply to 9477.18 
Hi Neil, re:

> can you make another script to do the same for edges that get assigned a style.

Sure, please give this one a try:

script: /* Expand selection over same styles on edge sub objects */ var styles = new Array(); var parents = new Array(); var sel = moi.geometryDatabase.getSelectedObjects(); for ( var i = 0; i < sel.length; ++i ) { var obj = sel.item(i); if ( obj.selected ) { styles[obj.styleIndex] = true; } if ( !obj.isTopLevelObject ) { var par = obj.getTopLevelParent(); parents[par.id] = par; } } for ( var i in parents ) { var subobjs = parents[i].getSubObjects(); for ( var j = 0; j < subobjs.length; ++j ) { var subobj = subobjs.item(j); if ( subobj.isEdgeCurve && styles[subobj.styleIndex] ) subobj.selected = true; } }

- 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:  neilwilson3412
9477.20 In reply to 9477.19 
nailed it thank you!
  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

 

 
 
Show messages: All  1-16  17-20