Class: Sketchup::LineStyle

Inherits:
Entity
  • Object
show all

Overview

This provides a way for SketchUp to customize a line style and be set on a layer.

Version:

  • SketchUp 2019

Instance Method Summary # collapse

Methods inherited from Entity

#add_observer, #attribute_dictionaries, #attribute_dictionary, #delete_attribute, #deleted?, #entityID, #get_attribute, #inspect, #model, #parent, #persistent_id, #remove_observer, #set_attribute, #to_s, #typename, #valid?

Instance Method Details

#nameString

The #name method retrieves the name of the line style object.

Examples:

line_style = Sketchup.active_model.line_styles["Solid Basic"]
line_style.name # returns "Solid Basic"

Returns:

  • (String)

    The name of the line style.

Version:

  • SketchUp 2019