cart: empty [ Login ]

DxfHatch display order On solid

1 
Asistcom
2/15/2019 2:28 PM
Hi Wout. I have a question concerning drawing DxfHatch Object Create Circle(Hatch) above Solid but... Circle(Hatch) is under Solid I know I can change their order in DxfEntityCollection I made it in the order of the collection, I did a simple Test
Code:
//Created last model.Entities.Add(hatchObjA); //Insert at the Top model.Entities.Insert(0, hatchObjB);
but I failed. Is this a mistake? Attachments File is Sample Project file And Screenshot Please contact me if any of the data is insufficient.
Wout
2/18/2019 3:12 PM
This particular drawing is using SORTENTS (class WW.Cad.Model.Objects.DxfSortEntsTable) to override the drawing order. You can disable it in the rendering by setting GraphicsConfig.UseSortEntsTables to false. Edit: if you want to know more about SORTENTS the you can have a look at this topic: /Forum/Topic/1982. - Wout
1