Announcement

Collapse
No announcement yet.

Object properties script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Object properties script

    Hi all!

    Is there any way to call externally those two functions ? I found a lot of scripts to change vray render, materials and general parameters but i dunno how to change object params.



    thanx,
    paro

  • #2
    Code:
    for obj in selection do
    (
       if (obj != undefined) then
       (
    	print (obj.name) (getUserPropBuffer obj)
       )
    )
    That should print out any of the object properties that are on the selected object.. it'll tell you what the stuff is named at least

    I've got a couple of scripts to export/save these into a preset like thing, but i haven't quite finished them off enough to be usable by everyone.. (mostly due to the mess of having the object props stored by name or node id... and the limitations of that) someday I'll do that last bit of work and feed them to the public meanwhile, ask questions!
    Dave Buchhofer. // Vsaiwrk

    Comment


    • #3
      pretty impresive ! thanx a lot !!



      Would you share the script to take a look or maybe to help a bit on it ?
      how would you manage to change these params of multiple selected objects?

      Code:
      VRay_GI_Generate = True
      VRay_GI_Receive = True
      VRay_GI_Multipier = 1,000000
      best regards,
      Paro

      Comment


      • #4
        anyone?

        vlado: is there any way to call it without having the obj props stored by node id as mentioned dbuchhofer?

        thanks a lot.
        Paro
        ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
        www.pavelroder.com

        Comment


        • #5

          http://www.buchhofer.com/AEI_SceneSetup_v0.05.ms

          Heres the script as is.. its functional, it will export out settings to a maxscript file, currently only supporting Scanline and Vray..

          The main problems I have with it, is that the Object/Light portions are highly dependant on scene objects.. meaning theres no check as yet to adjust for an object that was deleted from the scene, but is still in the script...

          That said, it comes in very handy with the network render 'script' option, either with the command line renderer for batching multiple scenes out of 1 file, or via the advanced thing in the render dialog..

          it should be fairly self explanatory, please post any bugs if you notice them

          Edit: linked it to the newest version of the script.. someday i'll make a page eh?
          Dave Buchhofer. // Vsaiwrk

          Comment

          Working...
          X