Message 1 of 2
TRIM / EXTEND Selection Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Until I have time to implement these functions properly for my custom entities, I'm trying to disable them.
I already have code to cancel the current command (for given commands) if my entities are selected. This only partially works for TRIM and EXTEND.
- If my entities are in the PICKFIRST selection - my code cancels the command via documentLockModeChanged
- If my entities are selected as the boundary entities (i.e. the trim-to or extend-to entities), my code cancels the command via endSSGet
- If my entities are not selected and an ACAD entity is picked for the boundary, I don't get the chance to cancel.
It seems like I can prevent anything untoward by implementing subIntersectWith to return eNotImplemented, but I'm concerned that disabling those functions will have unforeseen effects.
Is subIntersectWith only used by TRIM and EXTEND, or will I be breaking something else by disabling it? It seems to break intersection snaps for instance...