Appendix E

Dynamic Component Function Reference

The following list includes all of the Dynamic Component functions available in the current SketchUp release (Version 8, Maintenance Release 3):

Predefined Attributes:
X, Y, Z, LenX, LenY, LenZ, RotX, RotY, RotZ, Hidden, Copies, Copy, Name, Summary, Description, Creator, ItemCode, ImageURL, DialogWidth, DialogHeight, onClick, Material 
Math Functions:
ABS(number), CEILING(number, significance), DEGREES(number), EVEN(number), EXP(number), FLOOR(number, significance), INT(number), ISEVEN(number), ISODD(number), LN(number), LOG10(number), ODD(number), PI(), RADIANS(number), RAND(), RANDBETWEEN(bottom, top), ROUND(number, count), SIGN(number), SQRT(number) 
SketchUp Functions:
CHOOSE(index,value1,value2, ...valueN), CURRENT("attributeName"), EDGES(), FACEAREA("materialName"), FACES(), LARGEST(value1,value2,...valueN), LAT(), LNG(), NEAREST(originalValue, value1, value2, ...valueN), OPTIONINDEX("attributeName"), OPTIONLABEL("attributeName"), SMALLEST(value1,value2,...valueN), SUNANGLE(), SUNELEVATION() 
Text Functions:
CHAR(number), CODE(text), CONCATENATE(text1, text2, ...textN), DOLLAR(value, decimals), EXACT(text1, text2), FIND(findText, text, position), LEFT(text, number), LEN(text), LOWER(text), MID(text, start, number), PROPER(text), REPLACE(text, position, length, new), REPT(text, number), RIGHT(text, number), SUBSTITUTE(text, searchText, newText, occurrence), TRIM(text), UPPER(text), VALUE(text) 
Trigonometric Functions: ...

Get Architectural Design with SketchUp: Component-Based Modeling, Plugins, Rendering, and Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.