Draw order in dynamic block with array

Draw order in dynamic block with array

Anonymous
Not applicable
2,056 Views
10 Replies
Message 1 of 11

Draw order in dynamic block with array

Anonymous
Not applicable

Hi,

 

Is it possible to control draw order in a dynamic block which has an array? Somehow, I can't get the new elements of the array to be drawn under other elements of the block.

 

Is it possible?

 

THanks

0 Likes
Accepted solutions (1)
2,057 Views
10 Replies
Replies (10)
Message 2 of 11

Edwin.Saez
Advisor
Advisor

You could upload a file with what you want

Edwin Saez


LinkedIn / AutoCAD Certified Professional


EESignature


 


Si mi respuesta fue una solución para usted, por favor seleccione "Aceptar Solución", para que también sirva a otro usuarios.

0 Likes
Message 3 of 11

Anonymous
Not applicable

Sure! I'll add an image as well

 

ScrewInFrontOfNut.png

 

As you can see, the thread appears in front of the nut, and I want the nut to hide the thread...

0 Likes
Message 4 of 11

Libbya
Mentor
Mentor

Block editor and the test block window do not correctly respect draworder.  That said, I do not believe that you can place an arrayed object behind one that is part of the block.  The arrayed object are new entities and as such are drawn on top of what is already present in the block.  I wanted to test that and tried inserting your block into model space of another file.  Have you done that?  It all went weird. I didn't investigate the reason.  Maybe a units issue, maybe due to the constraints.  I don't see why you would use constraints in this block.  They will only make it harder to control.   

 

 

0 Likes
Message 5 of 11

Anonymous
Not applicable

Thanks for the feedback

 

I did test the block out in model space but just can't get it to work. I believe it's like you said: new array'd elements just can't be drawn under other objects.

 

Too bad...

0 Likes
Message 6 of 11

akaterr55
Advocate
Advocate
Accepted solution

A bit of a hassle, but it works

Message 7 of 11

Anonymous
Not applicable

Hi,

 

Thanks a lot, that's really clever!

 

That solved my problem, kudos!

 

0 Likes
Message 8 of 11

Anonymous
Not applicable

It will not works wit hatches. The vertical lines come to the front by an giving an array.

0 Likes
Message 9 of 11

akaterr55
Advocate
Advocate

jdupont,

The arrayed objects are drawn when the array action is triggered, so they will of course be on top of the 3 hatched objects that are already there.  Not sure what you are trying to accomplish (keep the 3 filled squares, and only 3 squares on top, or to make a continuous array with the squares on top) but here's a shot at it:

0 Likes
Message 10 of 11

akaterr55
Advocate
Advocate

jdupont,

The arrayed objects are drawn when the array action is triggered, so they will of course be on top of the 3 hatched objects that are already there.  Not sure what you are trying to accomplish (keep the 3 filled squares, and only 3 squares on top, or to make a continuous array with the squares on top) but here's a shot at it:

0 Likes
Message 11 of 11

Anonymous
Not applicable

Hello akaterr55

 

Now I have attached the orginal dwg. so you can see what really mine problem is.

I think that is better to explain mine problem than tje example i had posted.

 

The dwg:

  • You can move the arrows
  • Stretch the sign (big square)
  • Array the Straight aarow and the right arraow
  • Move the square with attribute
  • Choose 1 / 2 / 3 squares    

The Porblem:

 

When I arrayed the arrows en then move the squares on the arrows that I needed, then the arrayed arrows wil come tot the front of the squares. That is wrong. The squares must be always on the front.

 

I hope it is now clear what mine problem is.

 

Greetings Joram

0 Likes