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.
This is a Pro only feature.Following is a list of all predefined attributes for use in creating your dynamic components.X, Y, ZThe X, Y, and Z attributes contain the value for the component's X (red), Y (green), or Z (blue) coordinate.LenX, LenY, LenZThe LenX, LenY, and LenZ attributes contain the length of the component in the X (red), Y (green), or Z (blue) direction.RotX, RotY, RotZThe RotX, RotY, and RotZ attributes contain the rotation about the X, Y, or Z axis, in degrees.
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.
A constrained dynamic component is a component that has elements (sub-components or sub-groups) that, when scaled with the Scale tool, will not change size or orientation to the axes. To constrain entities of a dynamic component:
A repetitive dynamic component is a component containing a sub-component that replicate, such as the tiles within a floor component. In the case of a floor and tiles, the component scales in 2 dimensions, X, and Y.
A repetitive dynamic component is a component containing a sub-component that repeats, such as the pickets of a fence component, or the steps of a stair component.