Just in case, (think you already done but...) did you try
Sketchup.active_model.active_view.refresh ?
Yours
Pascal
Posts
-
RE: Page UpDate problems
-
RE: How to add item to a menu created by another plugin
@chris fullmer said:
I do this with my plugins. They all get installed in a submenu called "CLF Tools" or something.
This is what I would like to achieve.
@chris fullmer said:
It is possible because I know how to check to see if that submenu object exists. Then add to it if it does exist, or create it if it does not exist.
Do not understand how you do this if the other plugin is not installed or not already loaded by SU ?
But I will have a look at Edge to see if I understand how it works.
Thanks for your answer
Pascal -
RE: How to add item to a menu created by another plugin
Hi Tom,
The goal is to share menus between 2 plugins (for exemple 2 plugins from the same author), but that can be installed separately with no require link from one to the other.
Idealy they (each plugin) even dont need to know the existence of the other, but want to share same submenu to not add too long list to the SU Plugins Menu.
Any idea appreciated.
Yours
pascal -
How to add item to a menu created by another plugin
Dear all,
I'm trying to test existence of a menu created by another plugin.
The goal is to share same menu from different plugins, and create the menu if not already done by the other plugin, and add items to it.
UI.menu returns id for plugins menu. Can it be used for non Sketchup menus ?
I made some tests but did not succeeded. Has somebody already done this ?
Yours
Pascal -
RE: [Plugin] Lattice Maker
Just reinstalled on a virgin setup of SU2014 the version downloaded from Pluginstore (installed with plugin store).
@tig said:
I do not understand your report regarding the UTF8 error
Did you perhaps copy files, instead of the necessary reinstall from the newest RBZ source ??Here is the error I got
I'm using french version of SU on Windows.
I was able to correct it myself :- opened latticemakerfr.lingvo in notepad++
- converted to UTF-8
- saved the file
and then it works.
But I think it should be done at the source within your package.
Do not know the details, but UTF-8 encoding for non ascii files is a change in Ruby 2.0 vs Ruby 1.0
Yours
Pascal
-
RE: [Plugin] Lattice Maker
I had a similar problem with my plugin.
Seems it only appears when extended caracters are read from non UTF-8 language string files.
Just re-encoded text files to solve this.
Problem did not occur with US-en version.
Yours
Pascal -
RE: [Plugin] Lattice Maker
Dear all,
I'm in the process re-installing my plugins for SU 2014.
Just downloaded from plugins store lattice maker.
got an error
Erreur de chargement du fichier latticeMaker.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
I think this is linked to language files not encoded in UTF-8.
Is there newer version somewhere ? or plans to update.
Yours
Pascal -
RE: Between different Macs plugin works and doesn't work
Dear all,
maybe nothing to do with this issue, but just fixed a bug with plugin and Mac and did not find the reason, just a workaround I want to share :
multiple calls to window.location worked fine on PC, but on Mac only the last call to window .location were received by SU from the webdialog.
Replaced all the window.location from Javascript by SU calling webdialog.get_element_value and this worked.
Yours
Pascal -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
@lee,
If the error message is "file not found", I do not think it is due to the content of the file itself. But maybe I'm wrong...Do not have many other ideas to solve the issue. Here are 2 options you may try :
-delete the file 3darcstudiotreeloader.rb
-delete the directory 3darcstudiotree and all its content- run SU
- reinstall the plugin from Sketchucation pluginstore
and see if you got the same error
If the problem is still there, copy all the files that are in the plugins directory somewhere else (to be able to put them back later).
Delete all the files in the plugin directory except 3darcstudiotreeloader.rb
Run SU and testJust to be sure, when you move from SU8 to SU2013, did you reinstalled your plugins or just copied the files from SU8 to SU2013 ? cause I have seen some errors linked to copy of old SU8 files into the SU2013 plugin dir.
-
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
@lee05 said:
I've installed home the plugin, here works fine.
Tonihi Toni,
So it works fine now ?
You copied files to Plugins/3darcstudiotree folder to solve it ?
Just want to know if it was a pb of security rights or files beeing in the right folder.
Yours
Pascal -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
@oxer said:
Yes, it works now on Mac.
I tried to send you a PM yesterday, but it's in the Outbox still, so I put here the Spanish Language Translation.[attachment=0:101urpzm]<!-- ia0 -->3darcstudiotreees.txt.zip<!-- ia0 -->[/attachment:101urpzm]
These are some strings not included in the original language file
tree converted from old
Thanks a lot Oxer for that work and pointing out some strings are missing. I will add them to the code in order to be able to localize them as well.
Yours
Pascal -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Hi Lee,
I do not understand why the file is not loaded by SU if it exists in the right place.
To see what happens from SU, can you run this commande from the Ruby Console :
File.exists?(Sketchup.find_support_file("Plugins/3darcstudiotree")+"/3darcstudiotree.rbs")
Does it return true ?
You can also make a try to run SU as Administrator.
Pascal -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Hi Lee,
Looks like Sketchup does not see the file.
Check the permissions as described here : http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=56005
Could you provide a screen capture of your Plugins/3darcstudiotree directory to check the files are there.
You should have something like this :
-
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Oxer, (and Mac Users)
Just published in the Sketchucation Plugin Store a new version that should fix the problem of nothing happens after "New Tree..." webdialog.
But as I have no Mac available, if Mac users may test and give feedback ?
Yours
Pascal -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Oxer,
I made a test on my PC changing show_modal by show, and got the same problem. So I suspect this is linked to the fact that modals webdialog are not working the same on PC and Mac.
I will need to get advice from experts on this in the developer forum.
Will come back to you as soon as possible.
Pascal -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Oxer,
As I understand, you correctly got the new tree webdialog.
Then you select a tree and clic on "Ok"
Here nothing happens.
Then if you clic somewhere on the model(do not clic escape or another toolbox at this time as it will exit from tree tool and go back to the other tool) to place the tree, still nothing drawn.
Does the Sketchup status text (on the left bottom) display a message from Tree Maker, like "Clic to place tree, Esc to cancel" or other message ?Can you confirm when you open the Ruby console before calling "New Tree", that you got no error displayed in the ruby console ?
Does not seems to be an installation problem, so maybe I need to make a "debug" version with some logs in this case, but I will need a little time to prepare this.
-
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Hi Lee05,
Currently 3D Tree Maker can only be setup into the Plugins folder of Sketchup, and cant be installed in other directory with AdditionalPluginFolders.
Seems the same issue than Bob James
see http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=52540%26amp;start=150#p509692
Yours
Pascal -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Oxer,
After clicking OK in the new tree window, move the mouse over other objects or near the origin of the model, or in the bottom part of your SU window and left clic.
I have this issue that when your mouse is pointing very far away from the camera, the lines used to draw the preview tree before it is actually placed into you model are not displayed.
But when clicking somewhere into your model the tree should be built.
Yours
Pascal
PS : yes of course I'm really interested in a translated version in other language. Looks like you discovered how to do it. If you could send me the file in order to integrate it into the package. You will receive a license key in exchange -
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Hi James,
thanks for the info. I need to have a look at the "additional plugin locations" to see if I can make the code work with this tool.Gabriele -> are you using the same additional plugin ?
-
RE: [Plugin][$] 3D Tree Maker - New version 1.10.14
Thanks micione to report this issue and the work around.
I will make tests with Thea Render and let you know if I can find how to fix it in the code.
PS : you can also force tree redraw or proxy redraw with the right clic menu on the tree (without opening the configuration window).
Yours