loop/quadrify all objects


#1

any ideas why the following script

for o in $* do (PolyToolsModeling.Quadrify false false)

does not work as expected and how to make it work? :wink:

PolyToolsModeling.Quadrify false false

on selection works np…


3ds max script - select object and execute
#2

PolyToolsModeling.Quadrify false false

mmmmmmm seems to only work on one object at a time perhaps denisT or Bobo might be able to clear things up, it’s stumped me as well


#3

I don’t have max2010 and up, so I can’t test it, but try this:
(may be the object have to be selected)

for o in geometry do
(
select o
PolyToolsModeling.Quadrify false false
)


#4

Hi,

if you only want it to selected object you can do

for o in selection do (
 stuff
 )

#5

ok I understand now


#6
for o in $* do (select o; PolyToolsModeling.Quadrify false false)
---
cursel = getcurrentselection()
for o in cursel do (select o; PolyToolsModeling.Quadrify false false)
select cursel

*forgot to refresh the page :expressionless: … but yes like miauu said…


#7

many thanks, much appreciated


#8

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.