How do i change length attributes in ruby
-
How do i change the length attributes lenx, leny, lenz to a value without using a formula.
if i use the set_attribute('dynamic_attributes', '_lenx_formula', number)
the component will not be scalable anymore -
please can somebody tell me if there is a solution for this
or does i have to make change request to the sketchup developer team? -
You have double posted - in the other thread there is some useful advice please read it.
If you use Ruby code to reset the formula to be a fixed number how can you expect it to be a formula again later on?
You must change the attributes that the formula is using to effect a change that is not permanent! The formula cannot be changed in anyway without changing how the DC works.
There are also other DC Ruby tools to scale objects too...
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