Good suggestion. Added to the issue tracker: https://bitbucket.org/thomthom/component-properties/issue/1/allow-multiple-instances-to-be-changed
Posts
-
RE: [Plugin] Component Properties
-
RE: Read_default webdialog position on OSX
I think I have a trick up my sleeve... but not on this machine...

-
RE: Progress bar
You mean the statusbar? You can certainly output text there, but it does tend to stop refreshing during long tasks. What I hope we can do now that we are a full team on the Ruby API in SketchUp is get a ProgressBar class. But no promises!

-
RE: CleanUp v3.2.0 crashes since TT Library v2.9.8
Hi there
TT_Lib 2.9.8 didn't have any changes that should affect CleanUp. I think this is just a coincidence. Did you try rolling back to older version?
https://bitbucket.org/thomthom/tt-library-2/downloadsIn any case, you appear to have two issues here: crashing and errors in the console.
-
The error: what are the steps to reproduce this? Does it happen on every model? Does it happen on a specific model? (if so, can you share it?) I've seen some very rare reports about errors that doesn't really make sense - like the ine your reported. It's as if some entities references has been mixed up, corrupted memory perhaps. But whenever I've tried to track that down it has disappeared, either by itself, a reboot, or reinstallation.
-
The crash, when you did get a BugSplat, did you submit it? Did you enter your email or any other message? I can then look it up and see where it crashes. Without I cannot do much.
Mind you, SketchUp 8 is nearing four years old this year. Many bugs has been fixed since then. The issue you experience might very well be fixed already.
-
-
RE: Does this plugin exists?
I'm not 100% sure what you are after, perhaps an image of what you want to achieve?
By the sound of it, I wonder if "Profile Builder" might be the tool for you?
-
RE: JScript innerHTML not working in WebDialog !
@onidarbe said:
So Sketchup uses IE instead of Chrome, although I uninstalled IE? strange
You cannot completely uninstall IE. You may have uninstalled the front-end, but the IE engine is embedded deep into the OS. Help files (chm files) are using the HTML engine, HTA files are also using it. And the embedded HTML IE webcontrol is more conservative in terms of compatibility, which is why you need to use META tags to force WebDialogs to use the very latest IE engine.
And because so many things use the system HTML engine I recommend you keep IE up to date, even if you use a different browser. You can never remove it 100% anyway. The "uninstaller" is just a shim to please the public (and EU anti-trust).
-
RE: JScript innerHTML not working in WebDialog !
You should compare against the render engine that the WebDialog uses: IE under Windows and Safari/WebKit under OSX.
Not sure if all HTML engines allow innerHTML under all doc types.
-
RE: List of all possible functions
@tig said:
I know TT has done some 'shortcut fiddling' with some of his tools [VertexTools?], so pressing M is Move [Vertex] in that tool, rather than invoking the native Move, which already uses that shortcut, and will do so when TT's tool is exited...
Perhaps TT can explain what he does to allow that... the files re encrypted...I never modified the shortcuts. What I did in Vertex Tools was that I wanted to activate Vertex Tool's Move tool when vertex mode was activated, and the native Move tool when it was not. So I created a method that did that - but the user still had to reassign it's short-cuts to my proxy-delegating command.
-
RE: .gsub( /\n/, "\n\r" ) not working in WebDialog
Yea, Notepad is fuzzy about new lines.
-
RE: .gsub( /\n/, "\n\r" ) not working in WebDialog
@dan rathbun said:
... except that immediate methods (names ending with
**!**,) returnnilif no changes are made,... so do not use them in an assignment expression.This is such an annoying behaviour of Ruby. Source of so many creeping bugs.
-
RE: List of all possible functions
And then there is the issue of localizations... I'm afraid this one isn't easy.
-
RE: Base Camp 2014.
@solo said:
Damn! looks like I'm sitting this one out, too many costs this year, kid going to college and all.

-
RE: Applying new Material to a Selection is extremely slow
It'd be good if you had a test model and some metrics to your existing code.
-
RE: List of all possible functions
@onidarbe said:
mmmm, how does System Preferences/Shortcuts/Function do it then?
It doesn't find all available - items from context menus will only list when appropriate selection is made before opening that Window.
-
RE: Material.Texture not working as explained in the doc
Yes, the description in the docs is wrong. (Adding an issue for that.)
But the example (messy example) does demonstrate the correct way - using a string with the path to an image resource.Texture.filename refer to the file the texture was originally created from. But all textures are embedded in the SKP file - so you cannot expect to find the texture file at that location. You need to use the TextureWriter for that.
-
RE: List of all possible functions
There isn't anything in the Ruby API to list all possible items that can be assigned a shortcut - only to display what has already been assigned.
With extensions and context menus etc I'm not sure if this would be easy to achieve...
-
RE: Open dialog box
To open it as you would via File > Open:
<span class="syntaxdefault">skp_file </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">openpanel</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'Choose model to import'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'*.skp'</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">open_file</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">skp_file</span><span class="syntaxkeyword">)</span><span class="syntaxdefault"> </span>To load it as a component and let the user position it:
<span class="syntaxdefault">skp_file </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">openpanel</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'Choose model to import'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'*.skp'</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">unless skp_file</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">nil</span><span class="syntaxkeyword">?<br /></span><span class="syntaxdefault"> model </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">active_model<br /> definition </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">definitions</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">load</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">skp_file</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault"> model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">place_component</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">definition</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">end</span>To load it as a component and insert at ORIGIN:
<span class="syntaxdefault">skp_file </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> UI</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">openpanel</span><span class="syntaxkeyword">(</span><span class="syntaxstring">'Choose model to import'</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> </span><span class="syntaxstring">'*.skp'</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">unless skp_file</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">nil</span><span class="syntaxkeyword">?<br /></span><span class="syntaxdefault"> model </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Sketchup</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">active_model<br /> definition </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">definitions</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">load</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">skp_file</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault"> tr </span><span class="syntaxkeyword">=</span><span class="syntaxdefault"> Geom</span><span class="syntaxkeyword">;;</span><span class="syntaxdefault">Transformation</span><span class="syntaxkeyword">.new<br /></span><span class="syntaxdefault"> model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">active_entities</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">add_instance</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">definition</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> tr</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">end</span> -
RE: [Plugin] V-Ray Tools
Can you describe in more detail?
Do you get errors in the Ruby Console (if you keep it open)?
Do you have screenshots of what you see?
What are the steps you do when you can not export?