I cant seem to get this plugin to work in SU24. I can load the interface but once i try to place the item into the model it doesnt do anything. Any tricks to get this to work? or do we have to wait for the developer to update the plugin? Im dependent on it, any other suggestions for door/window plugins? paid or free.
first, try contacting them. an update could be on the way, or a fix.
second, try opening the ruby console (menu extension/dev tools) then restart sketchup and see if something appears there.
then try using the plugin and again, see if something appears there
thanks, i sent the author a message through the extension interface in sketchup
and here is my ruby console after many attempts. sometimes it works when some settings are set to zero:
Error: #<NameError: uninitialized constant DBUR::DB_WM::Fixnum>
It is not necessary to post the same error report 19 times.
This error comes from the fact that the Fixnum and Bignum subclasses have been removed from Ruby 3.x. Code should just test against the Integer class going forward.
A temporary solution is to define aliases to the Integer class.
If DB_WM is a module then …
module DBUR
module DB_WM
Fixnum = ::Integer
Bignum = ::Integer
end
end
But if DB_WM is a class, then:
module DBUR
class DB_WM
Fixnum = ::Integer
Bignum = ::Integer
end
end
It seems the same error that I had in the old Windowizer. The error messages seem to indicate that the extension is encrypted so it would require Didier to fix it himself. I fear Didier abandoned developing Ruby extensions quite many years ago.
Yes, but Ruby is a dynamic language whose code objects can be modified at runtime. As long as Didier did not freeze his modules and classes, then a patch file like I show above can define these constants.
If he did, then simply defining the aliases at the top-level would fix any old code that still refers to these now non-defined subclasses. (I am usually against doing stuff in the top-level global ObjectSpace but such aliases do not do much harm, as long as it is only done in SketchUp 24 or higher.)