RailClone > RailClone Pro (*)

SME - really slow problem lag make me crasy

<< < (2/2)

Paul Roberts:
Hi,

Please try the following

for _rc in (for _o in objects where( classof _o == RailClone_Pro ) collect _o) collect _rc.sobjnode

Cheers!

Paul

IE6260:
Hi,

just a little update of the mascript for next users if needed because _rc.sobjnode return an array so we got a 2Darray


_finalNodes=#()
_ndBase = for _rc in (for _o in objects where( classof _o == RailClone_Pro ) collect _o) collect _rc.sobjnode
for _e in _ndBase where ( _e != undefined) do (
   for _nd in _e where ( _nd != undefined) do (
      appendIfUnique _finalNodes _nd
   )
)
select _finalNodes

so _finalNodes is a 1D array containning only defined node


To remove material on all node :
_finalNodes.material = undefined

To verify result :
for _o in _finalNodes  do _finalNodes.material






IE6260:
And now the result on the test !  :-\

After removing all material from src node, i've save the scene, restart and reload scene. ...
it's a little bit faster but it's stay slowwwwww and i always have a large number of duplicate material (duplicate.png)

Material look's to be assign but i can get the holder, it's really strange. To do, i've rename one of the materials ("RailClone_PdxAndRack__Test") and run this script to find node :
for _o in objects where (_o.material != undefined ) do (
   if _o.material.name == "RailClone_PdxAndRack__Test" do print _o
)

And the result is empty .... how rc holding material, how can i clean it ?

Other question, i got a lot of information in the listner (listener.png), can i diseable message somewhere because 3dsmax is really the worth optimised software to print output messages ....  ::) :-X

Can you send me a private email to try send a 3dsmax scene ?

Thanks by advance

IE6260:
pas de news ?

Paul Roberts:
Sorry for the slow reply,

Please feel free to send an email to helpdesk@itoosoft.com so that we can take a closer look.

Kindest regards,

Paul

Navigation

[0] Message Index

[*] Previous page

Go to full version