User avatar
By dk2079
#388474
is it somehow possible to only convert the material of the selected object from Rhino to Maxwell?

as far as i understand the command now it always globally scans the file for any non maxwell material and converts them (potentially creating a material mess because of all sort of scene geometry that can not undergo full maxwell treatment)

thanks!
By JDHill
#388476
There is no option for operating on only selected objects, but the command ignores hidden objects, so given that you have an object selection, you could create a toolbar button with the following script:
Code: Select all
_NoEcho
_-RunScript (
  Rhino.Command "_NoEcho _SetRedrawOff "
  Rhino.Command "_NoEcho _Invert _Group _Enter _Hide _Enter "
  Rhino.Command "_NoEcho _Maxwell_ExtractMaterials A "
  Rhino.Command "_NoEcho _Show _Sellast _Ungroup _Invert "
  Rhino.Command "_NoEcho _SetRedrawOn "
)
User avatar
By dk2079
#388517
Hi Jeremy,

thanks for the macro.. but before I could even respond to the limitations this might have.. you already coded something better into the new update as I see from the Updates page..

many thanks for the work on this and the other helpful improvements!
By JDHill
#388518
Well, it was something that simply hadn't occurred to me when I originally created the command, but the plugin function it calls internally already takes a "selected objects only" argument, so it was just a matter of adding a couple new options to the command.
Will there be a Maxwell Render 6 ?

Let's be realistic. What's left of NL is only milk[…]