[Plugin] AMS Library 3.7.1b (29 May 2021)
-
Thanks for your another report Pherim. I'm trying my best to reproduce that crash. In order to track it down, a little more information that lead to a crash would be appreciated.
- Did the crash occurred following a certain operation, like triggering a particular button, shortcut, or command or did the crash occur randomly?
- At what time did SU crash, when SU launched or some after it after is launched?
- Was the Window Settings dialog open at the time of the crash?
-
Alright, here's what I got so far:
When I start Sketchup with AMS Lib and Window Settings active, at first everything works fine. As I begin playing around with different tools, both native SU and from extensions, after a short time, tools begin to stay highlighted in the toolbar (only native SU toolbars in SU 2016, as tools in other toolbar are not highlighted at all in this version) even after changing to another tool, and then shortly after SU will crash when right-clicking, mostly on a group or component, I believe, and possibly only with a non-native tool active.
It does not happen with just AMS Lib active and Window Settings disabled in Sketchucation Plugins/Extensions Manager, but as no other plugin depends on it, I guess it could be the cause, as well.
-
Hello Wikii, I have added a feature to communicate between windows on same computer. See http://www.rubydoc.info/github/AntonSynytsia/AMS-Library/master/AMS/Sketchup#send_user_message-class_method
Pherim, I tried reproducing that crash and I came across it once, but, following similar operations, I couldn't reproduce it again. It seems to occur very rarely. I haven't been able to track the crash down, but I did make small changes and improvements, which could potentially resolve the crash.
-
I'm afraid it still happens... I was just able to reproduce it two times, using only standard tools.
-
Good! Looks like you know the exact steps to reproduce it. List 'em here, please.
-
Well there is not much more to it than I already wrote. I just use various tools, make groups and components and edit them, until the tools begin to stay highlighted in the toolbar - this happens all the time. Then, at some point, it eventually crashes when I right-click, possibly only or at least more often on groups or components. I tried to record a video of the process, but so far, I have not been able to produce a crash while recording. Maybe they are not happening as often now, but they definitely still do.
-
Hello everyone, AMS Library version 3.1.1 has been released. It is important to upgrade to a new version because it addresses a bug fix, which caused spike in performance, which lead to toolbar icons staying highlighted and eventually to a crash. Huge thanks to Pherim for reporting and verifying it. See first post for download links.
-
Thanks again for fixing it!
-
i think it no longer has a support for xp...it shows some error ...sorry i forgot to post some pics...but it really does.i hope some xp users show the error..but i'll post it soon...or maybe its a bug...please dont stop the support for xp unlike microsoft...this is a really great plugin with lots of possibilities....
-
Opps I forgot to test it on Win XP. Ill check it out.
-
Hello, junaramaro, I made it compatible with Windows XP. Thanks for reporting.
-
Thank you so much sir... ...i'm updating now. i really love being in this community of loving and thoughtful persons...
thank you again master ...may the force be with you...i really think you have to be a jedi to come up with this wonderful things...
-
Hello
Everytime I try to hide menu bar with AMS Window Settings crash my SU 2016. IΒ΄m using AMS Window Settings 4.2.0 and AMS Library 3.1.4
Please help, is really useful optimize my screen when I work on the laptop
Thanks for your greats plugins -
Can you downgrade to 3.1.3 and check if the crash still occurs? Here is the download link to 3.1.3: https://drive.google.com/open?id=0B3qg8f4WrNdHci1DLTZEbVpqdzQ
-
I had 3.1.3 before, actually I did upgrade to 3.1.4 trying to fix this
Thanks -
Hi Anton_S, is there an observer to detect whether the trays in sketchup2016 is automatically shown or hidden, and its width and position?
-
Hello lionk,
There is no observer that triggers when dialogs/trays are shown or hidden. There is a way, however, to detect if SU2016 trays are visible.
Consider the following code snippet to get all visible trays:
# Obtain visible trays visible_trays = [] AMS;;Sketchup.get_visible_dialogs.each { |handle| cname = AMS;;Window.get_class_name(handle) visible_trays << handle if cname =~ /Afx;ControlBar|Afx;MiniFrame/ } visible_trays
As well as, the following snippet to get all visible trays along with their information, such as title, width, height, and whether its docked or floating:
# Get tray information. # Afx;ControlBar resembles a docked tray # Afx;MiniFrame resembles a floating tray tray_data = {} AMS;;Sketchup.get_visible_dialogs.each { |handle| cname = AMS;;Window.get_class_name(handle) next if cname !~ /Afx;ControlBar|Afx;MiniFrame/ rect = AMS;;Window.get_rect(handle) tray_data[handle] = { ;caption => AMS;;Window.get_caption(handle), ;docked => cname =~ /Afx;ControlBar/ ? true ; false, # docked or floating ;width => rect[2] - rect[0], ;height => rect[3] - rect[1] } } tray_data
Anton
-
Thank you!
I want to get the status of trays in auto-hide mode, and its size and position, so I can get the accurate width or height of the view. Because the trays will overlap part of the view.
-
i have downloaded the zip file containing a folder and .rb file. How to install the plugin
-
θ½½ε ₯ζδ»Ά C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ams_Lib/main.rb ζΆεΊι
Error: #<RuntimeError: can't modify frozen String>
D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ams_Lib/main.rb:205:in<top (required)>' D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in
require'
D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:inload' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ams_Lib.rb:47:in
register_extension'
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ams_Lib.rb:47:in<module:Lib>' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ams_Lib.rb:27:in
<top (required)>'
Advertisement