SketchUp Ruby methods


| a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z |


% : Vector3d
* : Transformation
* : Vector3d
+ : Point3d
+ : Vector3d
- : Point3d
- : Vector3d
< : Length
< : Point3d
< : Vector3d
<= : Length
<=> : ComponentDefinition
<=> : Layer
<=> : Length
<=> : Material
== : ComponentDefinition
== : InputPoint
== : Layer
== : Length
== : Material
== : Point3d
== : Vector3d
> : Length
>= : Length
[] : AttributeDictionaries
[] : AttributeDictionary
[] : DefinitionList
[] : Entities
[] : Layers
[] : Materials
[] : OptionsManager
[] : OptionsProvider
[] : Pages
[] : Point3d
[] : RenderingOptions
[] : Selection
[] : ShadowInfo
[] : Vector3d
[]= : AttributeDictionary
[]= : OptionsProvider
[]= : Point3d
[]= : RenderingOptions
[]= : ShadowInfo
[]= : Vector3d

- a -

abort_operation : Model
activate : Tool
active_entities : Model
active_layer : Model
active_layer= : Model
active_model : Sketchup
active_view : Model
add : BoundingBox
add : DefinitionList
add : Layers
add : Materials
add : Pages
add : Selection
add_arc : Entities
add_circle : Entities
add_cline : Entities
add_context_menu_handler : UI
add_cpoint : Entities
add_curve : Entities
add_edges : Entities
add_face : Entities
add_faces_from_mesh : Entities
add_frame_change_observer : Pages
add_group : Entities
add_image : Entities
add_instance : Entities
add_item : Menu
add_item : Toolbar
add_line : Entities
add_ngon : Entities
add_note : Model
add_point : PolygonMesh
add_polygon : PolygonMesh
add_separator : Menu
add_separator : Toolbar
add_submenu : Menu
add_text : Entities
all_connected : Edge
all_connected : Face
all_picked : PickHelper
alpha : Color
alpha : Material
alpha= : Color
alpha= : Material
always_face_camera= : Behavior
always_face_camera? : Behavior
angle_between : Vector3d
animation= : View
area : Face
arrow_type : Text
arrow_type= : Text
aspect_ratio : Camera
aspect_ratio= : Camera
at : DefinitionList
at : Entities
at : Layers
at : Materials
at : Selection
attribute_dictionaries : Entity
attribute_dictionaries : Model
attribute_dictionary : Entity
attribute_dictionary : Model
average_color : Texture
average_refresh_time : View
axes : Transformation
axes : Vector3d

- b -

back_material : Face
back_material= : Face
beep : UI
behavior : ComponentDefinition
best_picked : PickHelper
blend : Color
blend : Color
blue : Color
blue= : Color
bounds : Drawingelement
bounds : Model

- c -

camera : Page
camera : View
camera= : View
center : ArcCurve
center : BoundingBox
center : View
clear : BoundingBox
clear : InputPoint
clear : Selection
clear : Set
clear! : Entities
clone : Point3d
clone : Transformation
clone : Vector3d
closest_points : Geom
cm : Numeric
color : Material
color= : Material
commit_operation : Model
common_edge : Vertex
common_face : Edge
contains? : BoundingBox
contains? : Selection
contains? : Set
convex? : Loop
copy : Group
copy! : InputPoint
copyright : Extension
corner : BoundingBox
corner : View
count : DefinitionList
count : Entities
count : Layers
count : Materials
count : OptionsManager
count : OptionsProvider
count : Pages
count : PickHelper
count : Selection
count : TextureWriter
count_edges : Curve
count_instances : ComponentDefinition
count_points : PolygonMesh
count_polygons : PolygonMesh
create_cursor : UI
create_texture_writer : Sketchup
creator : Extension
cross : Array
cross : Vector3d
curve : Edge
curve_interior? : Vertex
cuts_opening= : Behavior
cuts_opening? : Behavior

- d -

deactivate : Tool
definition : ComponentInstance
definition= : ComponentInstance
definitions : Model
degrees : Numeric
degrees_of_freedom : InputPoint
delay_time : Page
delay_time= : Page
delete : AttributeDictionaries
delete : Set
delete_attribute : Entity
delete_key : AttributeDictionary
deleted? : Entity
depth : BoundingBox
depth : InputPoint
depth_at : PickHelper
description : Camera
description : ComponentDefinition
description : Extension
description : Group
description : Model
description : Page
description= : Camera
description= : ComponentDefinition
description= : Group
description= : Model
description= : Page
diagonal : BoundingBox
direction : Camera
direction : ConstructionLine
direction= : ConstructionLine
display? : InputPoint
display_leader= : Text
display_leader? : Text
display_name : Material
distance : Array
distance : Point3d
distance_to_line : Array
distance_to_line : Point3d
distance_to_plane : Array
distance_to_plane : Point3d
do_pick : PickHelper
dot : Array
dot : Vector3d
draw : InputPoint
draw : Tool
draw : View
draw2d : View
draw_line : View
draw_lines : View
draw_points : View
draw_polyline : View
draw_text : View
drawing_color= : View
dynamic= : View

- e -

each : AttributeDictionaries
each : AttributeDictionary
each : DefinitionList
each : Entities
each : Layers
each : Materials
each : OptionsManager
each : OptionsProvider
each : Pages
each : RenderingOptions
each : Selection
each : Set
each : ShadowInfo
each_edge : Curve
each_key : AttributeDictionary
each_key : OptionsProvider
each_key : RenderingOptions
each_key : RenderingOptions
each_key : ShadowInfo
each_key : ShadowInfo
each_pair : AttributeDictionary
each_pair : OptionsProvider
each_pair : RenderingOptions
each_pair : ShadowInfo
each_value : OptionsProvider
edge : EdgeUse
edge : InputPoint
edges : Curve
edges : Face
edges : Loop
edges : Vertex
edgeuses : Loop
element_at : PickHelper
empty? : BoundingBox
empty? : Selection
empty? : Set
enableVCB? : Tool
end : ConstructionLine
end : Edge
end= : ConstructionLine
end_angle : ArcCurve
entities : ComponentDefinition
entities : Group
entities : Model
entityID : Entity
erase! : Drawingelement
erase_entities : Entities
explode : ComponentInstance
explode : Group
explode : Image
explode_curve : Edge
eye : Camera

- f -

face : EdgeUse
face : InputPoint
face : Loop
faces : Edge
faces : Vertex
feet : Numeric
file_new : Sketchup
filename : Texture
filename : TextureWriter
fill_from_mesh : Entities
find_faces : Edge
find_support_file : Sketchup
find_support_files : Sketchup
first : Selection
first_edge : Curve
fit_plane_to_points : Geom
focal_length : Camera
focal_length= : Camera
followme : Face
format_angle : Sketchup
format_area : Sketchup
format_degrees : Sketchup
format_length : Sketchup
fov : Camera
fov= : Camera

- g -

getExtents : Tool
getMenu : Tool
get_UVHelper : Face
get_attribute : Entity
get_attribute : Model
get_back_UVQ : UVHelper
get_datum : Model
get_front_UVQ : UVHelper
get_last_state : Toolbar
get_locale : Sketchup
get_plane : SectionPlane
get_shortcuts : Sketchup
glued_to : ComponentInstance
glued_to= : ComponentInstance
green : Color
green= : Color
group? : ComponentDefinition
guess_target : View
guid : ComponentDefinition
guid : Model

- h -

handle : TextureWriter
has_key? : OptionsProvider
has_leader? : Text
height : BoundingBox
height : Camera
height : Image
height : Texture
height= : Camera
height= : Image
hidden= : Drawingelement
hidden? : ComponentDefinition
hidden? : Drawingelement
hidden_entities : Page
hide : Toolbar

- i -

identity? : Transformation
image? : ComponentDefinition
image_height : Texture
image_width : Camera
image_width : Texture
image_width= : Camera
inch : Numeric
include? : Selection
include? : Set
inference_locked? : View
init : PickHelper
inputbox : UI
inputpoint : View
insert : Set
insertion_point : ComponentDefinition
insertion_point= : ComponentDefinition
inspect : Length
inspect : Point3d
inspect : Vector3d
instances : ComponentDefinition
internal? : ComponentDefinition
interpolate : Transformation
intersect : BoundingBox
intersect_line_line : Geom
intersect_line_plane : Geom
intersect_plane_plane : Geom
intersect_with : Entities
invalidate : View
inverse : Transformation
invert! : Transformation
is2d= : Behavior
is2d? : Behavior
is_curve? : Selection
is_surface? : Selection

- j -

- k -

key? : OptionsProvider
keys : AttributeDictionary
keys : OptionsManager
keys : OptionsProvider
keys : RenderingOptions
keys : RenderingOptions
keys : ShadowInfo
keys : ShadowInfo
km : Numeric

- l -

label : Page
large_icon= : Command
last_edge : Curve
last_refresh_time : View
latitude : LatLong
latlong_to_point : Model
layer : Drawingelement
layer= : Drawingelement
layers : Model
layers : Page
leader_type : Text
leader_type= : Text
leaf_at : PickHelper
length : AttributeDictionary
length : Curve
length : DefinitionList
length : Edge
length : Entities
length : Layers
length : Materials
length : Selection
length : Set
length : TextureWriter
length : Vector3d
length= : Vector3d
line : Edge
line_stipple= : View
line_weight : Text
line_weight= : Text
line_width= : View
linear_combination : Geom
linear_combination : Point3d
linear_combination : Vector3d
list_datums : Model
load : DefinitionList
load : Extension
load : Sketchup
load : TextureWriter
lock_inference : View
locked? : ComponentInstance
locked? : Group
longitude : LatLong
loop : EdgeUse
loops : Face
loops : Vertex

- m -

m : Numeric
make_unique : ComponentInstance
make_unique : Group
material : Drawingelement
material= : Drawingelement
materialType : Material
materials : Model
max : BoundingBox
menu : UI
menu_text= : Command
mesh : Face
messagebox : UI
mile : Numeric
min : BoundingBox
mm : Numeric
model : Entities
model : Entity
model : Selection
model : View
modified? : Model
move! : ComponentInstance
move! : Group

- n -

name : AttributeDictionary
name : ComponentDefinition
name : ComponentInstance
name : Extension
name : Group
name : Layer
name : Material
name : OptionsProvider
name : Page
name= : ComponentDefinition
name= : ComponentInstance
name= : Group
name= : Layer
name= : Page
names : Color
new : BoundingBox
new : Camera
new : Color
new : Command
new : InputPoint
new : LatLong
new : Point3d
new : PolygonMesh
new : Set
new : Toolbar
new : Transformation
new : UTM
new : Vector3d
next : EdgeUse
nextFrame : Animation
nitems : Selection
normal : ArcCurve
normal : Face
normal : Image
normal_at : PolygonMesh
normalize : Array
normalize : Vector3d
normalize! : Array
normalize! : Vector3d

- o -

offset : Array
offset : Point3d
offset! : Array
offset! : Point3d
onCancel : Tool
onKeyDown : Tool
onKeyUp : Tool
onLButtonDoubleClick : Tool
onLButtonDown : Tool
onLButtonUp : Tool
onMButtonDoubleClick : Tool
onMButtonDown : Tool
onMButtonUp : Tool
onMouseEnter : Tool
onMouseLeave : Tool
onMouseMove : Tool
onRButtonDoubleClick : Tool
onRButtonDown : Tool
onRButtonUp : Tool
onReturn : Tool
onSetCursor : Tool
onUserText : Tool
on_line? : Array
on_line? : Point3d
on_plane? : Array
on_plane? : Point3d
openURL : UI
open_file : Sketchup
openpanel : UI
options : Model
origin : Image
origin : Transformation
origin= : Image
other_vertex : Edge
outer? : Loop
outer_loop : Face

- p -

page_behavior : Layer
page_behavior= : Layer
pages : Model
parallel? : Vector3d
parent : Entities
parent : Entity
parent : Pages
parse_length : Sketchup
partners : EdgeUse
path : ComponentDefinition
path : Image
path : Model
path_at : PickHelper
pause : Animation
perpendicular? : Vector3d
perspective= : Camera
perspective? : Camera
pick : InputPoint
pick_helper : View
pick_segment : PickHelper
picked_edge : PickHelper
picked_element : PickHelper
picked_face : PickHelper
pickray : View
pixelheight : Image
pixels_to_model : View
pixelwidth : Image
place_component : Model
plane : ArcCurve
plane : Face
play_sound : UI
point_at : PolygonMesh
point_in_polygon_2D : Geom
point_index : PolygonMesh
point_to_latlong : Model
point_to_utm : Model
points : PolygonMesh
polygon_at : PolygonMesh
polygon_points_at : PolygonMesh
polygons : PolygonMesh
position : ConstructionLine
position : ConstructionPoint
position : InputPoint
position : Vertex
position= : ConstructionLine
position_material : Face
previous : EdgeUse
project_to_line : Array
project_to_line : Point3d
project_to_plane : Array
project_to_plane : Point3d
pushpull : Face

- q -

- r -

radians : Numeric
radius : ArcCurve
raytest : Model
read_default : Sketchup
red : Color
red= : Color
register_extension : Sketchup
register_importer : Sketchup
remove : Selection
remove_frame_change_observer : Pages
rendering_options : Model
rendering_options : Page
require : Sketchup
restore : Toolbar
resume : Animation
resume : Tool
reverse : Vector3d
reverse! : ConstructionLine
reverse! : Face
reverse! : Vector3d
reversed? : EdgeUse
reversed_in? : Edge
rotation : Transformation

- s -

samedirection? : Vector3d
sapidoc : Model
save : Model
save_thumbnail : ComponentDefinition
save_thumbnail : Model
savepanel : UI
scaling : Transformation
screen_coords : View
select_tool : Model
selected_page : Pages
selection : Model
send_action : Sketchup
set : Camera
set! : Point3d
set! : Transformation
set! : Vector3d
set_attribute : Entity
set_attribute : Model
set_color_from_line : View
set_cursor : UI
set_datum : Model
set_plane : SectionPlane
set_point : PolygonMesh
set_status_text : Sketchup
set_text : Text
set_validation_proc : Command
set_validation_proc : Menu
set_visibility : Page
shadow_info : Model
shadow_info : Page
shift : Selection
show : Toolbar
show_frame : View
show_frame_at : Pages
single_object? : Selection
size : AttributeDictionary
size : OptionsManager
size : OptionsProvider
size : Pages
size : Set
size= : Image
size= : Texture
skpdoc : Model
slideshow_time : Pages
small_icon= : Command
smooth= : Edge
smooth? : Edge
snapto : Behavior
snapto= : Behavior
soft= : Edge
soft? : Edge
split : Edge
start : ConstructionLine
start : Edge
start= : ConstructionLine
start_angle : ArcCurve
start_operation : Model
start_timer : UI
status_bar_text= : Command
status_text= : Sketchup
stipple : ConstructionLine
stipple= : ConstructionLine
stop : Animation
stop_timer : UI
sun_direction : ShadowInfo
suspend : Tool

- t -

target : Camera
test_point : PickHelper
text : Text
text= : Text
texture : Material
texture= : Material
title : Model
to_a : Color
to_a : LatLong
to_a : Point3d
to_a : Set
to_a : Transformation
to_a : UTM
to_a : Vector3d
to_cm : Numeric
to_f : Length
to_feet : Numeric
to_i : Color
to_inch : Numeric
to_km : Numeric
to_l : Numeric
to_l : String
to_latlong : UTM
to_m : Numeric
to_mile : Numeric
to_mm : Numeric
to_s : Color
to_s : Entity
to_s : LatLong
to_s : Length
to_s : Point3d
to_s : UTM
to_s : Vector3d
to_utm : LatLong
to_yard : Numeric
toggle : Selection
toolbar : UI
tooltip : InputPoint
tooltip= : Command
tooltip= : View
transform : Array
transform : Point3d
transform : Vector3d
transform! : Array
transform! : ComponentInstance
transform! : Group
transform! : Image
transform! : Point3d
transform! : PolygonMesh
transform! : Vector3d
transform_by_vectors : Entities
transform_entities : Entities
transformation : ComponentInstance
transformation : Group
transformation : InputPoint
transformation= : ComponentInstance
transformation= : Group
transformation_at : PickHelper
transition_time : Page
transition_time= : Page
translation : Transformation
typename : Entity

- u -

undo : Sketchup
unique_name : DefinitionList
unique_name : Layers
unitvector? : Vector3d
up : Camera
update : Page
use_alpha? : Material
use_axes= : Page
use_axes? : Page
use_camera= : Page
use_camera? : Page
use_hidden= : Page
use_hidden? : Page
use_hidden_layers= : Page
use_hidden_layers? : Page
use_rendering_options= : Page
use_rendering_options? : Page
use_section_planes= : Page
use_section_planes? : Page
use_shadow_info= : Page
use_shadow_info? : Page
used_by? : Edge
used_by? : Vertex
utm_to_point : Model
uv_at : PolygonMesh
uvs : PolygonMesh

- v -

valid? : BoundingBox
valid? : Entity
valid? : InputPoint
valid? : Model
valid? : Texture
valid? : Vector3d
values : AttributeDictionary
vcb_label= : Sketchup
vcb_value= : Sketchup
vector_to : Array
vector_to : Point3d
version : Extension
version : Sketchup
version_number : Sketchup
vertex : InputPoint
vertices : Curve
vertices : Edge
vertices : Face
vertices : Loop
view : PickHelper
visible= : Drawingelement
visible= : Layer
visible? : Drawingelement
visible? : Layer
visible? : Toolbar
vpheight : View
vpwidth : View

- w -

width : BoundingBox
width : Image
width : Texture
width= : Image
write : TextureWriter
write_all : TextureWriter
write_default : Sketchup
write_image : View

- x -

x : Array
x : Point3d
x : UTM
x : Vector3d
x= : Array
x= : Point3d
x= : Vector3d
xaxis : ArcCurve
xaxis : Camera
xaxis : Transformation

- y -

y : Array
y : Point3d
y : UTM
y : Vector3d
y= : Array
y= : Point3d
y= : Vector3d
yard : Numeric
yaxis : ArcCurve
yaxis : Camera
yaxis : Transformation

- z -

z : Array
z : Point3d
z : Vector3d
z= : Array
z= : Point3d
z= : Vector3d
zaxis : Camera
zaxis : Transformation
zone_letter : UTM
zone_number : UTM
zoom : View
zoom_extents : View
zrotation : Image

SketchUp Ruby Reference: Contents © 2005 @Last Software, Inc. www.sketchup.com
Contents: