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!
    FredoBend | Powerful new bending tool for SketchUp Download

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

    Scheduled Pinned Locked Moved SketchUp Discussions
    1 Posts 1 Posters 97 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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better đź’—

      Register Login
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement