Model.options
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|
puts options_provider.name
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
@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 …

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