@acbsdesign wrote:
@Anonymous wrote:
@acbsdesign wrote:
@Anonymous
I made it work:
Just I add this to all commands that need Unmarking:
_AstM4CommUnmarkObjects;graphscr;redraw;
I can only get the opposite effect, it will work now if I select the object first. But not if I want to start the command, then select an object. This is driving me mad!
Does it work both ways for you?
No,
I start the command first, for both Isolate Identical Parts and Hide Identical Parts, I have them in the Default Shortcut menu.
Please find below variations on some of the recent custom commands.
These are all commands where it matters whether you select the object and then initiate the command, or whether you initiate the command and then select the object.
Personally I prefer to select the object first, but that's just my natural instinct, YMMV.
If someone could find the command string that would make them work both ways that would be the most elegant solution, I don't know enough about command strings to be able to do that.
Isolate Assembly (Clears Marking) (command first)
_^C^C_AstM4CommUnmarkObjects;_AstM4SwitchReprMode MAINSTRUCTURE \;_AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;
Isolate Assembly (Clears Marking) (select object first)
_^C^C_AstM4CommUnmarkObjects;_AstM4SwitchReprMode MAINSTRUCTURE graphscr;redraw;_AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;
Isolate Identical Parts (Clears Marking) (command first)
_^C^C_AstM4CommUnmarkObjects;_AstM5equalpartsMarkSame \;AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;
Isolate Identical Parts (Clears Marking) (select object first)
_^C^C_AstM4CommUnmarkObjects;_AstM5equalpartsMarkSame graphscr;redraw;_AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;
Hide Identical Parts (Clears Marking) (command first)
^C^C_AstM4CommUnmarkObjects;_AstM5equalpartsMarkSame \;AstM4CommSelectMarkedObjects ;_AstM4SwitchReprMode off
Hide Identical Parts (Clears Marking) (select object first)
^C^C_AstM4CommUnmarkObjects;_AstM5equalpartsMarkSame graphscr;redraw;_AstM4CommSelectMarkedObjects ;_AstM4SwitchReprMode off
Hide Similar Parts (command first)
^C^C_SelectSimilar \;_AstM4SwitchReprMode off
Hide Similar Parts (select object first)
^C^C_SelectSimilar graphscr;redraw;_AstM4SwitchReprMode off