Hi Pascal, Thank you for taking a stab at my ill worded post. I forgot all about that book. I have downloaded it and read parts of chapter 13. I have made progress now (I am sending information back to my WD as a result of picking something), but I did this by making my web dialog global. $wd instead of wd. So clearly my real issue here is losing scope of my objects. Thank you for your suggestion as chapter 13 pointed me to the $wd.
Posts
-
RE: Trying to invoke a selection from a web dialog
-
Trying to invoke a selection from a web dialog
Hello all, I am turning to the guru's here as I have spent too long on this. Here is what I am trying to do:
when my custom tool starts, invoke a web dialog.
on the wd, there is a button to "pick Z". The intention here is when the button is clicked, a callback will invoke "something" to allow the user to pick some entity (assuming some use of pick helper here). Then some parsing of the selection will allow the script to derive a Z value.
next that value needs to be sent back to the wd
This all seems like it should be simple, but I must admit I have not found the key yet. At this point I am not even sure what this will look like for a program flow stand point.
Any thoughts, questions, pointers are surely appreciated
-
RE: [Tutorial] SketchUp Ruby C Extension
Not allowed to PM yet, but email has been sent
-
RE: [Tutorial] SketchUp Ruby C Extension
Thanks Thomas, I offer to do testing if you need it. Otherwise I will keep my eye on this.
-
RE: [Tutorial] SketchUp Ruby C Extension
Hello All,
I am just starting on C extensions for SU and have a quick question. I have been successful following Thom's hello world example on bit bucket. My first question is are there any known IDE solutions to compile from? I don't relish the idea of writing code in notepad++ or other, then compiling from command line, then loading into SU and hoping it works.
Is this the way this is being done now or have I missed something?
In any event, THANK you all for the hard work you have put into this so far, if this is the best known solution, I will follow it.BTW, working within Win7(64)