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

    Bug in custom attributes exposed by Ruby...

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 279 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.
    • F Offline
      fizgig
      last edited by

      1. Make a group and give it a custom attribute "TEST_1" equaling "abc" (value isn't important, the underscore in the var name is...)

      2. Select the group and in the ruby box, type Sketchup.active_model.selection[0].set_attribute("dynamic_attributes","TEST_1","efg")

      3. Now try to delete both custom attributes in the custom attribute dialog box.

      Good luck! I've got some library components where I'm trying to delete these doubled attributes and I haven't figured out how yet. Not even the delete_attribute method appears to help.

      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