Math Functions SketchUp Functions Text Functions Trig Functions Logical Functions OnClick Functions SketchUp Functions (Specific to SketchUp Dynamic Components) Function
PRO This is a Pro only feature. The following HTML tags are supported within a Dynamic Component's Description and Summary fields: <a> <b> <i> <u> <strong> <em> <p> <br> <ol> <ul> <li> <font> Any tag or version of a tag that is not in this list will be ignored. The following additional rules also apply:
PRO Following is a list of all operators supported in dynamic component formulas. + (add) - (subtract) * (multiply) / (divide) < (less than) > (greater than) <= (less than or equal to) >= (greater than or equal to) = (equal) () (parentheses) <> (not equal to)
Following is a list of all functions supported within your dynamic components. Many of these functions are identical to functions found in spreadsheet applications such as the spreadsheet application that is a part of Google Docs. Math functions The following functions are for math-related use: ABS(number) The ABS function returns the absolute value of number.
PRO This is a Pro only feature. Following is a list of all predefined attributes for use in creating your dynamic components. X, Y, Z The X, Y, and Z attributes contain the value for the component's X (red), Y (green), or Z (blue) coordinate. LenX, LenY, LenZ The LenX, LenY, and LenZ attributes contain the length of the component in the X (red), Y (green), or Z (blue) direction. RotX, RotY, RotZ
The Dynamic Components Developer's Guide contains step-by-step instructions on how to perform specific dynamic component creation tasks. The content in this guide answers the 'How Do I...' questions of end-users.
To develop your dynamic component interactions, use the following references to the predefined attributes, functions, and operators. These are the building blocks for any dynamic component behavior that you can imagine.
You might want to allow the users of your dynamic component to configure some values of your dynamic component, such as the spacing between pickets in a fence or the width of your stairs. Values that are configurable will appear in a Component Options dialog box accessible from the component's context menu. To make a value configurable:
You can create a component whose pricing changes based on the type of material or size of component the user chooses. To implement dynamic pricing in your dynamic component:Create a component, such as a cabinet door.
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.