sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Ruby access to "hidden" v-ray materials

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 373 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      skavan
      last edited by

      Hi,

      When using SU with heavy use of vray proxies, often materials get screwed up and need manual relinking. V-Ray reports which BITMAP it can't load at render time.

      I wrote a tiny script to iterate through the materials collection and query each texture to see if it matches the path of the BITMAP reported above.

      Unfortunately, many v-ray materials (particuylarly those in "multi materials" do not show up in the sketchup collection (including the SU material library window)...and only show in the v-ray material editor. How can I:

      1. Find those materials.
      2. Check any texture paths and compare with the BITMAP path collected above.

      Any ideas?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • dkendigD Offline
        dkendig
        last edited by

        those don't sound like issues that were in the latest service release. The V-Ray material information is stored in the material's attribute dictionary in xml format. Multi-Materials have the child material xml included with them.

        Devin Kendig
        Developer

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement