Extract geometry from the Block that linked to file


#1

Hi,

I sometimes import large block from file to use some geometry.
I have to explode block and delete so many geometries to find small geometry, because exploding shows all object.

Only I want to extract some geometry from block into working file. (like group. )

To copy and paste geometries from other file locate them into different position when I insert block from other file in different origin or scale.

Are there any easy ways to do like this?


#2

I would like to do this also. Sometime it would be nice to pick elements from a block and have them copied into the active file. An option to use active layer would be nice as well.


(Pascal Golay) #3

I suppose a workaround would be to BlockEdit - with a linked file, this will open the file in a second Rhino- you can then copy any elements from that file to the clipboard, close the linked file and then Paste in the first file.

-Pascal


#4

Hi Pascal,

Thanks for your idea.
I’m afraid , but your idea would not work good when insert with move origin, scale or rotation.
To copy and paste work in World system in both file.


(Pascal Golay) #5

Hi Katsu - here’s a quick script that may help-

PasteLinkedBlockElements.zip (582 Bytes)

To use the script, extract and save the .rvb file from the attached zip archive, then drag and drop the saved rvb over an open Rhino V4 or v5 window. This will load the script, set it up to load on startup in the future and register the alias

PasteLinkedBlockElements

that will run the script much like a regular command. An alias can be typed or added to a toolbar button or keyboard shortcut (F-key).

-Select the block - Rhino will open a second session- select the objects you would like, and CopyToClipboard, then CLOSE the second Rhino and return to the main session- your objects should be pasted in the correct location, orientation and scale.

Let me know if I bungled it- I did not test much but it is a pretty simple script.

-Pascal


#6

Hi pascal,
Thank you very much for sharing your nice script.
It worked fine!