Appendix C

SketchUp API Class and Method Reference

This is a complete listing of all classes and methods as they are included in the version of SketchUp that was current as of this writing (Version 8, Maintenance Release 3).

Animation 
(Parent: Object) 
.nextFrame .pause .resume .stop 
AppObserver (Parent: Object) 
.onNewModel .onOpenModel .onQuit .onUnloadExtension 
ArcCurve (Parent: Curve) 
.center .end_angle .normal .plane .radius .start_angle .xaxis .yaxis 
Array (Parent: Object) 
.cross .distance .distance_to_line .distance_to_plane .dot .normalize .normalize! .offset .offset! .on_line? .on_plane? .project_to_line .project_to_plane .transform .transform! .vector_to .x .x= .y .y= .z .z= 
AttributeDictionaries (Parent: Object) 
.[] .delete .each 
AttributeDictionary (Parent: Object) 
.[] .[]= .delete_key .each .each_key .each_pair .keys .length .name .size .values 
Behavior (Parent: Entity) 
.always_face_camera= .always_face_camera? .cuts_opening= .cuts_opening? .is2d= .is2d? .no_scale_mask= .no_scale_mask? .shadows_face_sun= .shadows_face_sun? .snapto .snapto= 
BoundingBox (Parent: Object) 
.add .center .clear .contains? .corner .depth .diagonal .empty? .height .intersect .max .min .new .valid? .width 
Camera (Parent: Object) 
.aspect_ratio .aspect_ratio= .description .description= .direction .eye .focal_length .focal_length= .fov .fov= .height .height= .image_width .image_width= .new .perspective= .perspective? .set .target .up .xaxis .yaxis .zaxis 
Color (Parent: Object) .alpha .alpha= .blend ...

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.