Dynamic Component with max Len X
-
Hi,
I'd like to create a component that can't be streched more than 240cm but when I resize jumps to weird sizes instead of just not scaling over 240cm width.
LenX =SMALLEST(CURRENT("LenX"),240)
I followed the formula from Sketchup the chapters straight from SketchUp.
Creating a Dynamic Component that Snaps to a Specific Size
You can constrain a component to a series of predefined sizes by placing specific formulas in the LenX, LenY, or LenZ fields of the parent component.Snapping to the nearest rounded valuePlace the following formula in the LenX field for a component to snap the component's LenX to the nearest width within 2 inches after scaling:LenX =ROUND(CURRENT("LenX")/2)*2This formula is useful for components that represent items that only come in whole number sizes.
(help.sketchup.com)
What's going on? Thanks guys!
-
Aparently it's a bug and I'm to use inches only..
-
Hi Lego! I encountered this limitation too! Try to add a *2.54 after LenX. This converts the LenX value (returned in inches) to cm!
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