Hiding the DC Components Attributes Menu
-
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
-
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 ?? -
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
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 LoginAdvertisement