|
no undo entry when adding sketch relation
i use a centralized macro to add the most common sketch relations. the problem comes when trying to undo any action taken by the macro. any constraints added by the macro (via multiple executions) are lumped together and undone as a group up to and including the last non-macro action. here's an example.
actions taken
sketch - point
sketch - point
sketch - point
macro - vertical relation
macro - horizontal relation
corresponding undo history
sketch - point
sketch - point
sketch - point
the two macro actions are attached to the last non-macro feature. so when i click undo two relations and a point are deleted. i tried using the swdocext.startrecordingundoobject and swdocext.finishrecordingundoobject functions, but no additional undo objects are added to the list. does anyone have any ideas for what i could do to give each sketch relation its own undo listing?
mahir abrahim, cswp/core. cswp/smtl
mechanical design engineer
sw 2009 sp2.1
proe wf3/4
edited: 03/31/2008 at 07:58 pm by mahir abrahim
any ideas, api gurus?
mahir abrahim, cswp/core. cswp/smtl
mechanical design engineer
sw 2009 sp2.1
proe wf3/4
it's been a while since i asked this. maybe someone's tripped over a solution?
mahir abrahim, cswp/core. cswp/smtl
mechanical design engineer
sw 2009 sp2.1
proe wf3/4
quick |
|