Class: Sketchup::Entity

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

Instance Method Summary collapse

Instance Method Details

#add_observer(entity_observer) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)


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

def add_observer(entity_observer)
end

#attribute_dictionariesObject



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

def attribute_dictionaries
end

#attribute_dictionaryObject



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

def attribute_dictionary
end

#delete_attributeObject



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

def delete_attribute
end

#deleted?Boolean

Returns:

  • (Boolean)


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

def deleted?
end

#entityIDFixnum

Returns:

  • (Fixnum)

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

#get_attributeObject



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

def get_attribute
end

#modelSketchup::Model

Returns the Model of the receiver

Examples:

model = face.model

Returns:



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

def model
end

#parentObject



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

def parent
end

#remove_observer(model_observer) ⇒ Object

Parameters:

  • model_observer (ModelObserver)

    a instance of a model observer



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

def remove_observer(model_observer)
end

#set_attribute(dict_name, key, value) ⇒ Object

Sets the value of an attibute in an AtrtributeDictonary

Parameters:

  • dict_name (String)

    the name of te AttributeDictionary

  • key (String)
  • value

    Alowable values are: true, false, [Length], [Integer], [Float], [String], [Array]

    Color], [Time], [Point3d], [Vector3d


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

def set_attribute(dict_name, key, value)
end

#to_sObject



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

def to_s
end

#typenameObject



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

def typename
end

#valid?Boolean

Returns:

  • (Boolean)


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

def valid?
end