Ruby Console noise


#1

Developing my own extension while I have Skatter installed gets noisy with it’s messages outputted to the console:

---- Skatter 1.4.6---- 
Regenerate render instances from attributes : 0.0 s
---- End ----

Could this instead be muted in release builds please? Could be wrapped around a debug setting if it’s useful to collect info from users.


#2

This appears because you have an active Skatter setup in your file. Go to Skatter’s Render List and delete everything.
If there is nothing, Skatter will stay silent.


#3

I see this every time I open a file or do a file new.

In either case I’d prefer if I could silence this.


#4

I’ll add it to my todo list.

In the meantime, do you have a custom template?


#5

Yea, an old UV-cube I’ve been using for years:

UV Cube.skp (24.5 KB)


#6

That’s weird, I don’t have anything in the console when opening your file. There are no attributes that should trigger Skatter.
Are you starting Skatter manually?

To silence Skatter, edit C:\ProgramData\SketchUp\SketchUp 2018\SketchUp\Plugins\jbb_skatter\rb\methods.rb and set @debug = false on line 6

(Please don’t look at the code, it’s embarrassing :stuck_out_tongue: )


#7

Nope - I see it when I’m not using Skatter on models I’ve never used Skatter on.

2019-02-07_20h09_36


#8

Can you try with the default templates?


#9

Tried with the Architecture Millimetre template, same thing.