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

    Posts

    Recent Best Controversial
    • RE: Name of component

      Nice one that has worked well cheers for the help 👍

      fred

      posted in Developers' Forum
      F
      fred2420
    • Name of component

      Hi i am struggling with what i am sure is something really easy but after hours of search i can't work out how to get the name of the active component as a string. I can set the name in Component attributes.

      This is what I've tried
      model = Sketchup.active_model
      selection = model.selection.name
      but its no where near

      Cheers in advance

      Fred

      posted in Developers' Forum
      F
      fred2420
    • 1 / 1