if I try to edit a linked block I get the message “An other copy of rhino will be opened to edit this linked block”. Could be nice to get an option to set the block to embedded mode and edit in place. If it can’t be implement for this situation and little command could be nice too, that could be started before block edit.
Hi Micha - a couple of scripts then, for now. The rvb can be ‘drag and dropped’ to add EmbedBlock, the python can be run with RunPythonScript or `-RunPythonScript “Full path to script file in double quotes”.
the both Python scripts are perfect working. The LinkBlock makes the tool complete, both added to my personal toolbar.
The RVB doesn’t work, the block stays linked and the file wan’t be embed. It’s no problem, since the both Python scripts are working. The advantage of RVB scripts is that the source code can be direct saved to the button, good for switching the toolbar to a new computer or new Rhino installation.
Hi, @pascal just a quick question.
The py script for linking blocks works also like a charm, but… would it be possible to make it link the blocks to dwg files? It would indeed need to “turn” them into 3dm files to be proper rhino xrefs, right? Can that be scripted to complement the first script? In pseudocode “if the file is not a *.3dm, open it, save as and then link it”… Ups, I worte it and I think it is too much…
Sorry @pascal for the misleading description.
Dwg files are indeed linked, but after that they can’t be double clicked to be worked on from within rhino.
@pascal Hi Pascal, the scripts are great helpers at Rhino 6 too. Thanks again.
A question - could you modify the scripts so that the user can select a whole scene and all blocks are switched to embed or link mode? So, the scripts could be used to pack projects in one Rhino file.
(General the script functionalities could be added as standard Rhino tools.)
@Micha@pascal I have the same issue here; a massive list of block instances that all need to be embedded prior to importing into Keyshot. Not knowing how to write Python, I’ve been searching for an “Embed All Blocks” type script.
Hi Micha - the script I just posted above is for embedding linked blocks only - it works on multiples, not just one at a time. The other scripts farther up above I have not changed - I was under the impression that these did what they are supposed to…
So the EmbedBlocks.py does nothing if you select linked blocks?