Linked block wishes


#1

Hi RMA,

We are working with linked blocks a lot recently with files that contain dozens of them sometimes >100 in separate files.

  1. I have noticed that when copy-paste linked blocks from one file to another, or importing a file that contains all the linked blocks, the redraw is on and the blocks keep popping up and redraw each time the new one loads. On heavy scenes with slower redraw it is a considerable slowdown. Could this be fixed to have redraw off when doing the above actions?
    ( it does not happen when opening a file with linked blocks, just copy and insert). This could be avoided now with simple SetRedrawOff macro but ideally normal Rhino actions would work with no redraw.

  2. in V5 and WIP when switching the block from Linked to Embed, the selection highlight color stays off-color (slightly darker as for linked blocks). This only gets fixed once the file is reopened. This off-color selection is a good indicator of block type so it makes it confusing now.

  3. Also when switching from Linked to Embedded block, there is a weird behavior: try copy/paste the newly switched block. It pastes a copy OK, but also, at origin Rhino pastes an exploded version of the block, all on current layer. Both V5 and WIP. After re-opening the file behavior is OK.

  4. And related wish for scripting - @dale - could we add a wish to the pile for RhinoScript method to allow inserting blocks from external files, with all the current command options (link/link-embed/embed and layer style active vs. reference)?

thanks!

–jarek


(Pascal Golay) #2

Hi Jarek - thanks, I’ll check this.

-Pascal


(Dale Fugier) #3

Hi @Jarek,

The Insert command is fully scriptable, correct?

– Dale


#4

Hi Dale,

Yes, except for the layer mode (reference vs active - this is dialog only, the command version inserts the block based on the last mode used in the dialog). As long as that would get exposed in the command, no big need for scripted version.

–jarek


(Dale Fugier) #5

Hi @Jarek,

Are you not seeing this in the Rhino WIP?

Untitled

– Dale


#6

Hi Dale - great! this wish was based on testing my script in V5, didn’t see it was already added to the command in V6. Thanks, that will do the job.

–jarek


#7

Hi Pascal, - do you see the #2 and #3 behavior on your end? Do you think that also can get tweaked in WIP?
Thanks for having the other issues fixed - looks like they made it to the new WIP already (didn’t have a chance to test them out yet though).

cheers,

–jarek


(Pascal Golay) #8

Hi Jarek - I cannot reproduce either at the moment - all block types select with normal selection yellow here, unlike worksession selections, which are darker… and copy/paste of just-embedded-previously-linked blocks also seems OK - (in a simple test, not 100+ ) Does it make a difference at your end for either of these if the example is simple?

-Pascal


#9

Hi Pascal,

Just downloaded and checked the latest WIP #2 and #3 are fixed now - must have been related to the other problem with linked blocks that was recently solved (all still there in V5 obviously).

Thanks!

–jarek


(Pascal Golay) #10

Good, thanks.

-Pascal