api-issue-tracker
api-issue-tracker copied to clipboard
Public issue tracker for the SketchUp and LayOut's APIs
It would be useful to be able to get an `ImageRep` object from a `View`. Currently we have `view.write_image` - which means writing to disk. Seeing how we are able...
Documentation states that the Sketchup::Materials#each method returns nil  https://ruby.sketchup.com/Sketchup/Materials.html#each-instance_method It actually returns self ```ruby Sketchup.active_model.materials.each{} => # ```
The method `view#draw_text` for Overlay seems to have some **random problems of rendering**. I have got blurring  ...
The generation of component thumbnails can take very long, I have seen models where it takes over 20 seconds..... Why? I don't know, and this is probably another issue (more...
1). RubyAPI - SketchUp 2017, 2). Windows. Sketchup.active_model.path is not updated properly in case of SaveAs - ModelObserver is unable to get new model.path. ``` module Issues module IssueSaveAs class...
1) Start a new model in SU2023 2) Take a component definition (`cdef`), for instance the Heather component, with name _Heather_ 3) Change its name via `cdef.name = 'Fredo'`. This...
# Bug Reports Please include the following: 1. SketchUp/LayOut Version: 2023.1.340 2. OS Platform: windows 10 I can not get right value by Layout::SketchUpModel#model_to_paper_point. When I mapped the edges from...
With SU 2020 and later: ```ruby layer0 = Sketchup.active_model.layers[0] layer0.name #=> "Layer0" layer0.display_name #=> "Untagged" ``` Maybe add a note to `Sketchup::Layer#display_name` and `Sketchup::Layer#name` to clarify... Additionally: 1. `Sketchup.active_model.layers['Untagged'] ==...
I**nstance Method Summary** [#](https://ruby.sketchup.com/Sketchup/ViewObserver.html#instance_method_summary) [collapse](https://ruby.sketchup.com/Sketchup/ViewObserver.html#) #onViewChanged(view) ⇒ nil The [#onViewChanged](https://ruby.sketchup.com/Sketchup/ViewObserver.html#onViewChanged-instance_method) method is called whenever the view is altered, such as when the user uses the Pan, Orbit, or Zoom tools...
When you create a new model SketchUp will ask you if you want to save changes. If you choose Cancel, the model won't be created, but AppObserver.onNewModel still gets called...