Class: Sketchup::Entity

Inherits:
Object show all
Defined in:
lib/entity.rb

Direct Known Subclasses

AttributeDictionaries, AttributeDictionary, Behavior, Curve, DefinitionList, Drawingelement, EdgeUse, Layer, Layers, Loop, Material, Materials, Page, Pages, RenderingOptions, ShadowInfo, Style, Styles, Texture, Vertex

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) add_observer(entity_observer)



6
7
# File 'lib/entity.rb', line 6

def add_observer(entity_observer)
end

- (Object) attribute_dictionaries



8
9
# File 'lib/entity.rb', line 8

def attribute_dictionaries
end

- (Object) attribute_dictionary



10
11
# File 'lib/entity.rb', line 10

def attribute_dictionary
end

- (Object) delete_attribute



12
13
# File 'lib/entity.rb', line 12

def delete_attribute
end

- (Boolean) deleted?



14
15
# File 'lib/entity.rb', line 14

def deleted?
end

- (Fixnum) entityID

Since:

  • 2006 The ID is not persistent between sessions.

  • 2014 Groups and ComponentInstances are persistent.



22
23
# File 'lib/entity.rb', line 22

def entityID
end

- (Object) get_attribute



25
26
# File 'lib/entity.rb', line 25

def get_attribute
end

- (Sketchup::Model) model

Returns the Model of the receiver

Examples:

model = face.model


32
33
# File 'lib/entity.rb', line 32

def model
end

- (Object) parent



34
35
# File 'lib/entity.rb', line 34

def parent
end

- (Object) remove_observer(model_observer)



37
38
# File 'lib/entity.rb', line 37

def remove_observer(model_observer)
end

- (Object) set_attribute(dict_name, key, value)

Sets the value of an attibute in an AtrtributeDictonary



47
48
# File 'lib/entity.rb', line 47

def set_attribute(dict_name, key, value)
end

- (Object) to_s



50
51
# File 'lib/entity.rb', line 50

def to_s
end

- (Object) typename



52
53
# File 'lib/entity.rb', line 52

def typename
end

- (Boolean) valid?



54
55
# File 'lib/entity.rb', line 54

def valid?
end