O'Reilly logo

Architectural Design with SketchUp: Component-Based Modeling, Plugins, Rendering, and Scripting by Alexander Schreyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required