Announcement

Collapse
No announcement yet.

Pymxs code for enabling the checkbox for Max Subdivs when using Bucket image sampler?

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

  • Pymxs code for enabling the checkbox for Max Subdivs when using Bucket image sampler?

    As the title says, I'm wondering what the code is to enable this checkbox. I found this website which lists out all the classes in the struct but I can't find one for that specific option https://www.scriptspot.com/forums/3d...ender-settings

    I tried both
    .adaptiveSubdivision_rand : boolean
    .adaptiveSubdivision_showSamples : boolean​

    but it didn't work. Any ideas?

  • #2
    Hello,

    The parameter for this is
    twoLevel_adaptiveEnable

    Best regards,
    Yavor
    Yavor Rubenov
    V-Ray for 3ds Max developer

    Comment


    • #3
      Originally posted by yavor.rubenov View Post
      Hello,

      The parameter for this is
      twoLevel_adaptiveEnable

      Best regards,
      Yavor
      That worked great thank you, I think I was looking at an outdated list.

      Sorry another question I was wondering if you'd know, how to add render elements through Pymxs?
      I've found with MaxPlus to use MaxPlus.RenderSettings.GetCurrentRenderElementMana ger() but unsure how to convert it for Pymxs and VRay

      Comment


      • #4
        Hi, sorry for the delayed reply.

        There's nothing V-Ray specific with render elements so standard Max ways work. How to access them through pymxs - not sure, but if you don't find an alternative - you could execute MAXScript commands through pymxs with pymxs.runtime.execute
        Yavor Rubenov
        V-Ray for 3ds Max developer

        Comment

        Working...
        X