sketchucation logo sketchucation
    • Login
    1. Home
    2. kostiaarh
    3. Topics
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 29
    • Groups 1

    Topics

    • K

      Fix and improve the code

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      1
      0 Votes
      1 Posts
      12 Views
      No one has replied
    • K

      Convert complex components into simple

      Watching Ignoring Scheduled Pinned Locked Moved SketchUp Discussions sketchup
      6
      0 Votes
      6 Posts
      755 Views
      K
      @dave r said: I use the CutList extension and it reports the bottom level components only so there's no need to explode parent components at all. I do not need to report. I use the Assemblage plugin. https://www.youtube.com/watch?v=9GbwPRm7qxg
    • K

      How to automatically set the attribute?

      Watching Ignoring Scheduled Pinned Locked Moved Dynamic Components sketchup
      2
      0 Votes
      2 Posts
      6k Views
      P
      =_name returns the original component definition name, there is no instance name, I believe its part of a different definition set, you can see it when inspecting "drawing elements" [image: 5dHK_Capture.jpg] there is no DC way of getting the instance name, only viewing it in both the option dialog title and the attribute dialog header provided the name attribute is not used. [image: 7lf5_Capture2.JPG] however you could use a script sel = Sketchup.active_model.selection sel.grep(Sketchup;;ComponentInstance).each do |s| s.set_attribute "dynamic_attributes","aname",s.name $dc_observers.get_latest_class.redraw_with_undo(s) end I use toolbar editor to store and run such scripts. In that you can create a button and assign the script. You then include "aname" or an attribute of your choosing an create other formula / relationships for your data, reports....
    • 1 / 1