Draworder in dynamic block

Draworder in dynamic block

lmnDCJSJ
Enthusiast Enthusiast
850 Views
3 Replies
Message 1 of 4

Draworder in dynamic block

lmnDCJSJ
Enthusiast
Enthusiast

I need some way to apply draworder to my intire drawing, and that includes dynamic block, normal blocks and maybe xref.

 

I really like it to be based on the layername.

 

I made all my dynamic block with draworder, but since i use array in the dynamic block, the parts that i just array, dont follow the draworder, since they are new objects.

 

I have tried a lot of lisp and script, but none of them affect the layers in the dynamic blocks.

 

Anyone have a solution?

 

e.g.

 

Layer_Text (should allways be on top)

Layer_Wall (no need to affect)

Layer_Insulation (should allways be at the back)

 

Some need to be in front, and some in the back, but most dont need to be affected.

851 Views
3 Replies
Replies (3)
Message 2 of 4

rapidcad
Collaborator
Collaborator

I've never been able to get this to work perfectly although mostly I've been fighting with either plain old wipeouts, Dimension wipeouts or MTEXT using the wipeout option where the block is annotative. There have been occasions where I have had to use visual styles controls to sort of reset the transparency of wipeouts for my tagging labels.

 

I do set the draw order in the dynamic block before I save it whenever these are part of the block, but i find that AutoCAD struggles to keep the draw order correct when a dynamic block resizes a wipeout object ,either by scaling, stretching or annotative selection so I have has to resort to changing the visual style in order to control what is printed.

 

I basically have little confidence in draworder when it comes to dynamic blocks containing wipeout entities. Other entities seem to stay on top for me though.

 

However, if you have layer control as part of your repertoire, you must be using MEP or AutoCAD Architechure since this is not part of standard AutoCAD and I have not experimented with the feature in MEP which I do have loaded (though rarely use).

 

ADN CAD Developer/Operator
0 Likes
Message 3 of 4

sepp6NPPB
Advocate
Advocate

I am also having this issue.

A simple dynamic block for a radiator where I want the dimensions to show.
With a dimension text set for Background fill color - which acts as a wipeout - the block is correct in the reset state, but as soon as the block is stretched the ARRAY function draws over the top of the dimension.

wipeouts do the same thing.

My guess is that when the Array is redrawn, the items are considered new and on the top layer.


This seems like a pretty basic problem to fix.

0 Likes
Message 4 of 4

rhudb
Explorer
Explorer

I've the exact same problem with array in dynamic block.

0 Likes