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

    Hiding the DC Components Attributes Menu

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    3 Posts 2 Posters 640 Views 2 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.
    • kenK Offline
      ken
      last edited by

      I have made a Dynamic Component and I wish to hide the Component Attributes Menu to prevent someone from changing the math. So is there a way to hide this menu?

      Thanks in advance

      Ken

      Fight like your the third monkey on Noah's Ark gangway.

      1 Reply Last reply Reply Quote 0
      • TIGT Online
        TIG Moderator
        last edited by

        Get them to use Free ! πŸ˜•
        Otherwise you are stuck - because a Pro user has access to DC attributes through that dialog.
        You could perhaps try starting their names with an '_' so use '_calc' versus 'calc' etc... that's because these kinds of attributes don't display in the same way, but then of course unless you use some Ruby magic to access them / change them in the console, then they are no longer editable by YOU either πŸ˜’ ]
        To see all attributes of a DC select a DC instance an in the Ruby Console type [or copy/paste] this, to see the entire list:
        Sketchup.active_model.selection[0].attribute_dictionary("dynamic_attributes").each_pair{|k,v|puts"#{k}=#{v}"}
        It'll show a list like this:
        _has_movetool_behaviors=0.0 _hasbehaviors=1.0 _lengthunits=CENTIMETERS _name=tila ala=1 lenx=39.37007874015748 leny=39.3700787401575 nimi=Name tunnus=666
        In this case the non-standard attributes could have been give other _ names ??

        TIG

        1 Reply Last reply Reply Quote 0
        • kenK Offline
          ken
          last edited by

          Thank you TIG. I didn't think there was a way to hide the menu. But it wouldn't be the first time I missed something right in front of my face.

          Ken

          Fight like your the third monkey on Noah's Ark gangway.

          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