Hi,
Sorry, but what's "ADD" ??
If it's a script (I don't have it on my site), can't you assign a shortcut to it (spacebar for instance, like Autocad) ?

Posts
-
RE: Repeat Last command??
-
RE: Annoying "Reference to a deleted page"
Thanks guys,
You pointed me to my error, which were elsewhere in the code. Solved ! -
Annoying "Reference to a deleted page"
Hi guys,
After an extensive search here (and there), I didn't find an answer to this problem:
Suppose I have a scene named "Plan" in my model,
@model=Sketchup.active_model @pages=@model.pages @pages.erase(@pages["Plan"]) #... some code here ... @pages.add("Plan", 127, 0)
cause this error message:
@unknownuser said:
Error: #<TypeError: reference to deleted Page>
C:\Program Files\Google\Google SketchUp 8\Plugins...I tried to rename the page to delete before erasing it but no luck.
Saving the file also doesn't solve the problem (was thinking some garbage collector or similar would clean the memory and SKP)
Even creating a brand new file doesn't work, it seems that deleted objects remains through SKP's that are edited...)Any idea someone ???
Thanks in advance, -
RE: Help: what does this message mean? [Error Loading File .rb]
Hi Edson,
This means that the script tries to add a menu item to a pop-up menu but this menu is nil or has not been defined in the script.
Also note that the loaded script is ".rb", that's strange (it should have a name before the extension).
Cheers, -
RE: [Plugin] Align tool 3D (bug fix)
Hi Ken,
You can also think that X represent the red axis, Y the green axis, just as when you locate/translate/rotate the SU axis system. -
RE: ADO automatic dwg export
I've so many things to do, that I can't satisfy everyone in time
-
RE: Prompt windows too small
The solution would be that I recode it for Mac
I've often used a trick to give prompts more "place" in the dialog, for instance:
prompt=["What is your family name:"] becomes prompt=["What is your family name:..............."] (.=space)
Inserting spaces in the values dropdown list items should do the trick, too.@gilles: Here is the modified RBS (I guess you have the french version
)
If it works OK on Mac I'll publish a Mac version.-> dรฉzippes dans ton sous-dossier "Projection" et รฉcrase le fichier "fr_projection.rbs" prรฉcรฉdent. Relances SU et croise les doigts... Tiens-moi au courant.
-
RE: Prompt windows too small
@unknownuser said:
i think the problem is with Safari
I don't think so. This is not a WebDialog, but the usual inputbox Ruby method. No options or parameters in this method related to the OS.
I'm a bit confused, this is the first time a mac user reports this behavior of the dialog, while a bunch of them are using the plugin since a year or so... -
RE: Prompt windows too small
@Gilles:
C'est certainement un problรจme d'OS, je n'ai jamais vu รงa sur XP,Vista,ou 7.It's surely an OS problem, because I never saw that on XP, Vista or 7.
-
RE: [Plugin]Hole on Solid tool v1.6.3 upadate Jan 09, 2012
Hi,
Does this tool "autoloads" when starting sU, since there is no rb file in the Plugins folder ? -
RE: [Plugin] Cloud
Hi,
I'm not aware of a free plugin that do these kinds of thing, but here is a (payware) interesting plugin:
http://scanable.org/software/modeling/pointools-introduces-point-cloud-plug-in-for-google-sketchup/
Rather expensive -
RE: Attn: Didier (or some other :geek: :D )
Done. Both versions (us & french) are now rbs.
You can download the new version at the same link: http://rhin.crai.archi.fr/rld/plugin_details.php?id=21
Regards, -
RE: Add_faces_from_mesh returns what ?
Thanks ThomThom,
Here is what I planned to do:nEntsBefore=Sketchup.active_model.entities.length Sketchup.active_model.entities.add_faces_from_mesh(m) nEntsAfter=Sketchup.active_model.entities.length arrayOfNewFaces=[] nEntsBefore.upto(nEntsAfter-1) { |i| next if ent=Sketchup.active_model.entities[i]; arrayOfNewFaces.push(ent) }
Your code is mush more simple than mine
-
Add_faces_from_mesh returns what ?
Hi guys,
As the API doc says, 'add_faces_from_mesh' is supposed to return an array of newly created faces, if successful.
I always got 0 or nil as return values (like 'fill_from_mesh').
If I want to retrieve the newly created faces, do I have to store the number of entities before an 'add_faces_from_mesh', then count the new entities.length after the 'add_faces_from_mesh' call, then iterate through these new entities to retrieve the faces ???
Any help appreciated -
RE: SKM load with API ?
Thanks TIG, I was sure you had the solution ! (but didn't remember your SKM Tools
)
-
SKM load with API ?
Hi,
Sorry if this has been discussed before but I didn't find anything on this: can a ruby script (or is there a method to) load a skm material, or a whole library of materials in the current model ?
Any help appreciated. -
RE: [Plugin] Parametric Copy v1.01 20111030
Hi,
I've made a small guide with mikenon's instructions and included it in the zip. I post the guide here and the Zip is now on RLD site. Thanks Mikenon !
-
RE: Obj Exporter
Hi,
If it doesnt work, try this one by TIG: http://rhin.crai.archi.fr/rld/plugin_details.php?id=591
Cheers,