Doc Bug: Model.options code example


example code has a bug. This is the current example:

# Output all options available.
options_manager = Sketchup.active_model.options
options_manager.keys.each { |options_provider|
  options_provider.each { |key, value|
    puts "> #{key} - #{value}"

The 2nd line of code should not include .keys and should just be:

options_manager.each { |options_provider|
1 Like

Issues with the API docs can also be reported on Github:

1 Like

@Aerilius , Thomas has been moving all issue reports to the main official API issue tracker …

@MaschMaker, I’ve already offifcially reported this sample code error … see:

… as well as …


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.