Maintaining DRAWORDER of blocks to always be FRONT

Maintaining DRAWORDER of blocks to always be FRONT

Anonymous
Not applicable
2,615 Views
11 Replies
Message 1 of 12

Maintaining DRAWORDER of blocks to always be FRONT

Anonymous
Not applicable

Maintaining DRAWORDER of blocks to always be FRONT

0 Likes
2,616 Views
11 Replies
Replies (11)
Message 2 of 12

pendean
Community Legend
Community Legend
Not such core feature.
REGENALL fixes it for most users: give that a shot, if sending everything else BACK is not an option.
0 Likes
Message 3 of 12

vladimir_michl
Advisor
Advisor

You can try DOBT (DrawOrder By objectType; freeware) or the LAYERORDER command in AutoCAD Architecture. See:

https://www.cadforum.cz/en/qaID.asp?tip=5905

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz

 

0 Likes
Message 4 of 12

Anonymous
Not applicable

I have equipment tag block with wipeout that has to be always on top. Any leaders I draw to the equipment from this tag block has to start at the center of the block. I use draworder command to put this block on top of the leader and regenall after. I have to use the same layer for both block and leader means I can't send all objects on this layer under or on top.

0 Likes
Message 5 of 12

Anonymous
Not applicable

I have equipment tag block with wipeout that has to be always on top. Any leaders I draw to the equipment from this tag block has to start at the center of the block. I use draworder command to put this block on top of the leader and regenall after. I have to use the same layer for both block and leader means I can't send all objects on this layer under or on top.

 

I've tried dobt but so far I understand that I have to modify this lisp to fit my need, correct?

0 Likes
Message 6 of 12

vladimir_michl
Advisor
Advisor

You can add a line:

INSERT yourtagblockname

to the definition table below the ^^^^^ line - this will put all your tag blocks always to the top.

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz

 

0 Likes
Message 7 of 12

Anonymous
Not applicable

I did load dobt

(Command: DOBT, DOBT? commands loaded. (C)2021, www.arkance-systems.cz
_____ CAD, BIM, GIS/FM custom application development ______)

 

This is what I've got 

(Command: DOBT
Dobt.tab NOT FOUND!
0 objects processed)

 

after I modified 

;and now - send these to TOP (rise)
^^^^^
INSERT kclrec4

 

 

0 Likes
Message 8 of 12

pendean
Community Legend
Community Legend
Sadly today in May of the year 2021, your choices are to do it as explained above or explore customizing with LISP or other programming languages to help automate the process a bit more.
0 Likes
Message 9 of 12

Anonymous
Not applicable

Command: DOBT
DOBT.TAB LOADED (13 definitions)

0 objects processed

0 Likes
Message 10 of 12

nrz13
Advisor
Advisor

If the LISP doesn't end up working out, you could try putting your tags and each equipment drawing inside a block together.  I've found AutoCAD only reliably maintains hatch and block draw order inside blocks.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 64GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Message 11 of 12

Lukew3H8X7
Explorer
Explorer

LAYERORDER - command, TEXTTOFRONT - Command and HATCHTOBACK - commands could be used.

0 Likes
Message 12 of 12

nrz13
Advisor
Advisor

I suspect they are aware of those commands. The issue is a persistent bug in AutoCAD where the set layer order of elements is lost, at least visually if not actually. The only workaround I know of is still to put whatever elements needing to maintain a specific layer order all inside a single block.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 64GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes