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!
    Urasik Extensions | Lots of new extensions to check out Learn More

    Hiding the DC Components Attributes Menu

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    3 Posts 2 Posters 722 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 Offline
        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

          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