Modifying draw order in ACAD 2019

This widget could not be displayed.

Modifying draw order in ACAD 2019

Anonymous
Not applicable

I have several .net routines that clone blocks from a library dwg file and insert them into the working drawing. Unfortunately the clone process messes with the draworder of some wipeouts built into the block. I have code in my routine that handles the draw order fix on insert, however that code fails to have any effect in AutoCAD 2019. It has worked beautifully up to this point. I have installed the draw order hotfix with no improvement. I have also tested Kean's code (found here: http://www.keanw.com/2013/05/fixing-autocad-drawings-exported-by-smartsketch-using-net.html) with the same results as my own code. Since his is simpler in this context I figured I would use it as the baseline. If his can be made to work then mine can too. Attached is a sample dwg file containing objects that have been impacted by the draw order. If Kean's WTB routine can successfully set the wipeouts to back on the attached dwg then I should be good to go. Thanks!

 

Michael Coffman

0 Likes
Reply
Accepted solutions (1)
742 Views
2 Replies
Replies (2)

Virupaksha_aithal
Autodesk Support
Autodesk Support
Accepted solution

Hi,

 

What is your AutoCAD vernum ? I tried Kean’s code at my end in AutoCAD 2019 with latest updates (_VERNUM = "P.152.0.0 (UNICODE)" (read only)). The code is able modify the draw order in AutoCAD 2019.

 

 



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

0 Likes

Anonymous
Not applicable

Thank you. I installed the latest update pack and the wipeout functionality returned to normal.

0 Likes