Author Topic: draw order in block  (Read 6455 times)

0 Members and 1 Guest are viewing this topic.

kruuger

  • Swamp Rat
  • Posts: 635
Re: draw order in block
« Reply #15 on: October 16, 2014, 02:53:46 PM »
@ kruuger:
I was surprised by your use of ssadd. But according to the docs it should work in AutoCAD as well.
According to those same docs you could also have used:
Code: [Select]
(ssadd %2)
this one also doesn't work. i stay with (list VLA)

marko not sure what exactly your new code should do :(
if i'm correct you can eliminate xref from the list with (ai_table "BLOCK" (+ 4 8) ). not necessary to check for xrefs.

kruuger

ribarm

  • Gator
  • Posts: 3268
  • Marko Ribar, architect
Re: draw order in block
« Reply #16 on: October 16, 2014, 03:26:56 PM »
marko not sure what exactly your new code should do :(
if i'm correct you can eliminate xref from the list with (ai_table "BLOCK" (+ 4 8 ) ). not necessary to check for xrefs.

kruuger

I want to reduce time, (qselect - block by name - draworder)... And also qselect is not very appropriate when dealing with selections of External References by name... Also my routine can find nested block and BEDIT its parent reference to set appropriate draworder inside parent... I hope this has some sense, unless you have time to do all this manually...

BTW. Firstly I wanted to eliminate Xrefs from routine operations, but then I realized this problem with qselect and hopefully I did find solution - I want routine to operate both and blocks and Xrefs... And now so it does...

Regards... Marko
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube