[Plugin] AMS Library 3.6.0h (15 Nov 2018)

Re: [Plugin Tool] AMS Library 3.2.1 (Mar 30, 2016)

Postby Anton_S » Tue Apr 05, 2016 6:52 am

Ok I am able to reproduce it with Spanish localization. I even get frozen strings errors, which I have no idea what's causing them and how to prevent them. I will look into into it and do my best to fix it.
1

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin Tool] AMS Library 3.2.2 (Apr 05, 2016)

Postby Anton_S » Tue Apr 05, 2016 12:14 pm

Hi perecollo2000. Try the new version. I think it should be fixed now.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin Tool] AMS Library 3.2.2 (Apr 05, 2016)

Postby perroloco2000 » Tue Apr 05, 2016 10:59 pm

hi Anton .... YOU SOLVED IT!!!
100% working, thank you very much for your work, and quick reply
your plugins really help my work on the laptop screen
great autor, thanks
1

perroloco2000 
 

Re: [Plugin Tool] AMS Library 3.2.2 (Apr 05, 2016)

Postby pnickles » Thu Apr 07, 2016 4:35 pm

Forgive me but I'm a newb who can barely work his way through/around Extensions.

I'm unable to get the MSphysics to load/run. It is registered under Plugins but I receive the following message when I open Sketchup2016. I've tried copying/pasting the "main.rb" file into every imaginable Plugin folder but it still fails to see/find the file.?

(I installed the AMS Library v3.2.2 AFTER I installed the MSphysics extension but the order of installation shouldn't matter, correct?)

I'm running Win8 via Parallels, SU2016.
0

pnickles 
Premium Member
Premium Member
 

Re: [Plugin Tool] AMS Library 3.2.2 (Apr 05, 2016)

Postby Anton_S » Fri Apr 08, 2016 7:48 am

Pnickles, you got it into the correct plugins folder, but placed the content improperly.
I suggest deleteding whatever you placed in the plugins folder manually (including MSPhysics which is placed improperly based on your screenshot) and starting over with the following instructions. Download ams_Lib_3.2.2.zip, extract it, and place ams_Lib folder and ams_Lib.rb file into the plugins folder. Same applies to MSPhysics_0.5.0.zip. It should look something like this:
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin Tool] AMS Library 3.2.2 (Apr 05, 2016)

Postby pnickles » Fri Apr 08, 2016 5:36 pm

Different error messages now. See attached. Perhaps it's because I'm running Win8 via Parallels?
0

pnickles 
Premium Member
Premium Member
 

Re: [Plugin Tool] AMS Library 3.3.0 (July 10, 2016)

Postby Bryan K » Sat Jul 16, 2016 4:57 am

Are there how to use instructions somewhere?
0
User avatar
Bryan K 
 

Re: [Plugin Tool] AMS Library 3.3.0 (July 10, 2016)

Postby Anton_S » Sat Jul 16, 2016 11:06 am

Bryan, in case you're wondering if it's a plugin, well it's not. AMS library is more of a dependency for a few of my other plugins.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin Tool] AMS Library 3.3.0 (July 10, 2016)

Postby wikii » Sat Jul 16, 2016 2:40 pm

How to get the version number?

AMS.ver ?
0

wikii 
PluginStore Author
PluginStore Author
 

Re: [Plugin Tool] AMS Library 3.3.0 (July 10, 2016)

Postby Anton_S » Sat Jul 16, 2016 5:16 pm

Use AMS::Lib::VERSION It returns a string like "3.3.0".
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin Tool] AMS Library 3.3.0 (July 10, 2016)

Postby Bryan K » Sat Jul 16, 2016 6:52 pm

Anton_S wrote:Bryan, in case you're wondering if it's a plugin, well it's not. AMS library is more of a dependency for a few of my other plugins.


Thanks Anton, but what I'm looking for is how to use it. It's installed without a problem but I need some kind of instructions or tutorial on how to use the controls.


Thanks.
0
User avatar
Bryan K 
 

Re: [Plugin Tool] AMS Library 3.3.0 (July 10, 2016)

Postby Anton_S » Sun Jul 17, 2016 7:20 am

The first post contains a link to the library's documentation. I not particularly sure if that's what you desire though.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin Tool] AMS Library 3.4.0 (31 October 2016)

Postby Bryan K » Thu Nov 03, 2016 7:51 am

Anton, thanks. I found some great video tutorials. https://www.youtube.com/user/samketner/ ... shelf_id=0

My new problem is that the UI menu is not displaying correctly nor or the contents.. There are no tabs and the menu window is not resizable so I cannot access the contents at the bottom of the screen.

Here is a screen shot.

Any ideas?
0
User avatar
Bryan K 
 

Re: [Plugin] AMS Library 3.5.0 (9 July 2017)

Postby ladyquestio » Sun Jul 16, 2017 10:01 pm

I keep getting this error. What is happening?
0

ladyquestio 
 

Re: [Plugin] AMS Library 3.5.0 (9 July 2017)

Postby Anton_S » Mon Jul 17, 2017 12:04 am

Hmm. I'm not getting any errors in my SU8. Are you using the latest versions of both plugins? If not, try completely removing both and installing once again.

Edit: Actually I'm getting a similar error when I attempt to start MSPhysics simulation in SU8. I haven't been able to determine the cause, so try sticking to SU2013+.

Edit: I will ensure the compatibility with SU version prior to 2013 at some point.
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AMS Library 3.5.1 (17 July 2017)

Postby ladyquestio » Sun Jul 23, 2017 3:55 pm

Anton:
I removed all the files as per instruction. Defragged the HD. then reloaded SU8 . I have a video of what happens.
Watch and see. then Tell me what I did wrong.
https://youtu.be/nUL87J2N79A
0

ladyquestio 
 

Re: [Plugin] AMS Library 3.5.2 (25 July 2017)

Postby Anton_S » Tue Jul 25, 2017 8:33 am

Sorry, I forgot to test it on Windows XP. It should be fixed now. Upgrade to AMS Library, version 3.5.2.
1

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AMS Library 3.6.0h (15 Nov 2018)

Postby GalvinHRO » Thu Feb 14, 2019 5:20 pm

with the AMS library i can get the name of the default tray but not the object itself or the child dialogs like "Materials" or "Entity Info" anybody knows if this feature exist or a workaround. If not is it possible to make one with the win32API?

Thanks
0

GalvinHRO 
 

Re: [Plugin] AMS Library 3.6.0h (15 Nov 2018)

Postby Anton_S » Sat Feb 16, 2019 7:53 am

Galvin,

The Tray window structure in SU2018 is as follows:
Tray Window Structure.png

Provided that you have the handle of the tray, you can then obtain the first two levels of child windows, and then iterate through all windows of that child window to get all the dialogs.

With AMS Library, you can use the following function to get all trays:
Code: Select all
trays = AMS::Sketchup.get_active_dialogs.find_all { |handle|
  AMS::Window.get_class_name(handle) =~ /Afx:MiniFrame/i
}

# => [133134]

Then once you have the trays, you can get the first two levels of child windows:
Code: Select all
trays.each { |tray|
  c1 = AMS::Window.get_related(tray, 5) # GW_CHILD
  next unless c1
  c2 = AMS::Window.get_related(c1, 5) # GW_CHILD
  next unless c2
  dialogs = AMS::Window.get_child_windows(c2, false, false)
  panes = dialogs.find_all { |dialog|
    AMS::Window.get_class_name(dialog) =~ /CPanelHeader/i
  }
  panes.each { |pane|
    # First child window contains pane caption
    c3 = AMS::Window.get_related(pane, 5) # GW_CHILD
    next unless c3
    puts AMS::Window.get_caption(c3)
  }
}

# => Layers
# => Shadows
# => Fog
# => Materials
# => Soften Edges
# => Styles
# => Entity Info

Note that this will not work with sketchup versions prior to 14.

Anton
0

Anton_S 
PluginStore Author
PluginStore Author
 

Re: [Plugin] AMS Library 3.6.0h Does not work with Mac

Postby Headcase6969 » Tue Jul 02, 2019 2:21 pm

Mac=NOPE!
0

Headcase6969 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: 1611kjb, clovis sanches, Gabrielmfs, leo_hursh and 14 guests

Visit our sponsors: