FS#2540Retain original handle when Hatch properties are changed
- Type
- Feature Request
- Status
- Assigned
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- n/a
- Operating system
- All
- Reported
- 2024-03-03 by CVH
- Votes
- 1
Andrew,
When we alter about any property of a Hatch entity it seems to be recreated with a newer/higher handle.
This doesn't influence the drawing order in direct.
But already changing the drawing order of a Hatch it is recreated as a new entity.
It starts to matters in drawing order when there are multiple entities with the same drawing order and that after save/reload. Entities with the same drawing order then receive a new drawing order based on the original but sequentially increasing based on handle.
Because a Hatch is recreated with a newer/higher handle each time a property changes it will thus always end up above the others with the same order even when the original was created earlier.
This is more pronounced when copying/pasting entities from a source to a target drawing.
The original Hatch drawing order is retained but it will always be above existent entities with the same drawing order in the target drawing after save/reload.
Most other entities are probably just updated in situ.
It is unsure to me at this point if merely updating a Hatch is even possible.
And perhaps this is related to the addObject ForceNew flag what is false by default.
Regards,
CVH