sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Pull material name to parameter (i.e. Instance)

    Scheduled Pinned Locked Moved SketchUp Discussions
    1 Posts 1 Posters 1 Views 1 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.
    • P Offline
      ptasznick
      last edited by

      Dear Everyone. Could you help me with an advice or script/plugin?

      I need to automatically pull name of the material name into Instance Parameter of every group and component (both have it).
      I mean the name of the material that is used on top of each group/component (not specific materials for each face).

      This would be useful as it would allow to AutoText label material name in LayOut (actually labeling Instance Parameter).

      Workflow: after completing a model in Sketchup I execute a script / plugin that goes through all groups/components in model and writes Instance parameter with main material name. If I need an update, I update it manually by running the script again.

      Outcome: I can use a material library with material names / symbols for objects - mainly furniture, then extract those names and put them into a parameter that can be labeled, and then label them with AutoText in LayOut.

      Alternatively material name could be stored as a dynamic component text parameter, but this approach needs to first convert all groups to components first, and then adding this parameter to each of them.

      Can You please help me (and many others) with that? Thank You in advance.

      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