I'm pretty sure I've tried these. I'll try it again...
Latest posts made by talig
-
RE: Yet another SavePanel question
-
Yet another SavePanel question
Hi everyone,
I have a savepanel question for you guys.
Is there any way to tell from the code if a savepanel was closed using "Cancel" or using "Ok"? Tried the documentation, didn't find any access to that particular thing.
Maybe you know if this sets some bit or something like that?Thanks a bundle,
- TaliG
-
RE: Setting file types in the savepanel
Thanks TIG,
I know I can set the default file name.
But I find it puzzling that the list of file types exists but it's empty and can't be filled. This isn't the case when you're trying to save a model - so it must be possible somehow, and if not - I guess it's the most trivial wishlist item...
I'll wait to see if someone knows how to do this. -
Setting file types in the savepanel
Hi again everyone,
I've got a simple one this time
I want to set the "save as type" value in the savepanel. To, let's say, *.csv. It's true that I can make the file be whatever I want it to be, but I'm thinking usability here.
So - does anyone have a clue?
Thanks,- Tali
p.s. Thanks to you guys I'm drawing near to wrapping up this project I'm working on.
-
RE: SketchUp SDK Scrambler - Problem with paths?
Scott,
You're a lifesaver! Worked like a charm. Just needed to get the plugins folder. Got it.
Thanks!- Tali
-
RE: SketchUp SDK Scrambler - Problem with paths?
Scott,
I'll give it a try. Yes, they are in a subfolder of the Plugin directory.
Frankly, even if I can get the plugin directory without hard-coding it, it will do the trick...- Tali
-
SketchUp SDK Scrambler - Problem with paths?
Hi everyone,
I've been trying to use the sdk scrambler, but it seems like File.directory(FILE) doesn't work very well in scrambled files (returns "file:///").
I tried Dir.getwd but that returns the directory the .skp file is in, and not that of the plugin script file...It's problematic because this way the icons don't display, and any web dialog that I want to open - I can't
I didn't see any notes about this phenomenon anywhere, so I'm thinking maybe I'm doing something wrong and no one has seen this problem before...
Please help,
Thanks,- Tali
-
RE: Iterating over the faces of a component - without exploding
AdamB,
No, the calculation that I'm doing is in the reversed direction. I do not want to raytrace the whole model and see what I hit,
I want to select a face (or a few faces) and say how much of it is lit. (i.e. out of the set of rays that should hit it, how many actually hit it first)This is working great, as already stated, for non-grouped/componented selections...
-
RE: Webdialog problem
Scott,
I'm not the one who posted the question- Tali
-
RE: Webdialog problem
Todd is right. Haven't thought of that...
If it's possible, you should debug the JS separately with the error pane in Firefox (or FireBug plugin, if you so fancy).
That will help focusing on the problem.- Tali