cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Any how (like macro) to repeat last command?

mgupta-4
1-Newbie

Any how (like macro) to repeat last command?

Hello All,

Is it there any command or any way to (like macro) to repeat last command?

Please help.

Manish

14 REPLIES 14
mmonteiro
4-Participant
(To:mgupta-4)

Dear Marco,

Attached site has some unexpected error ,showing on my system.

Thanks,

Manish

Manish,

try this one http://communities.ptc.com/ideas/2337

Martin Hanak


Martin Hanák

Dale_Rosema
23-Emerald III
(To:mgupta-4)

When copy and paste in a link, you need to "unlink" it (the "A" with the piece of chain next to it) before posting. This will prevent the duplicate http://communities.ptc.com....... stuff at the begining.

http://communities.ptc.com/ideas/http://communities.ptc.com/ideas/2337

(This was what I copied an pasted from the link with the error.)

If you delete the part with the strike through, you should be able to open the link properly.

There is a product idea to fix that also:

http://communities.ptc.com/ideas/2622

Thanks, Dale

Dale_Rosema
23-Emerald III
(To:Dale_Rosema)

.... and after you post, click on your link to see if it works correctly or if you forgot to unlink it. Then you can edit your response and then unlink and resave.

Oops!

Dale_Rosema
23-Emerald III
(To:JWayman)

Jose_Costa
6-Contributor
(To:mgupta-4)

When you finish a feature, the feature keeps selected in the modeltree. What I usually do is copy paste with Ctrl+C and Ctrl+V. It´s pretty fast and intuitive for me.

I only have a mapkey for paste special since there´s no straight shortcut.

You can make a mapkey for that if you want:

mapkey \ ~ Command `ProCmdEditCopy` ;~ Command `ProCmdEditPaste`;

Another option is to use the find tool to select the last feature and copy paste it:

mapkey q @MAPKEY_NAMERepeat with find;@MAPKEY_LABELRepeat;\

mapkey(continued) ~ Command `ProCmdMdlTreeSearch` ;~ Open `selspecdlg0` `SelOptionRadio`;\

mapkey(continued) ~ Close `selspecdlg0` `SelOptionRadio`;\

mapkey(continued) ~ Select `selspecdlg0` `SelOptionRadio` 1 `Feature`;\

mapkey(continued) ~ Open `selspecdlg0` `LookByOptionMenu`;\

mapkey(continued) ~ Close `selspecdlg0` `LookByOptionMenu`;\

mapkey(continued) ~ Select `selspecdlg0` `LookByOptionMenu` 1 `Feature`;\

mapkey(continued) ~ Select `selspecdlg0` `RuleTab` 1 `Misc`;\

mapkey(continued) ~ Select `selspecdlg0` `RuleTypes` 1 `Last Feat`;\

mapkey(continued) ~ Activate `selspecdlg0` `EvaluateBtn`;~ Activate `selspecdlg0` `ApplyBtn`;\

mapkey(continued) ~ Activate `selspecdlg0` `CancelButton`;~ Command `ProCmdEditCopy` ;\

mapkey(continued) ~ Command `ProCmdEditPaste`;

And no, I think you can´t use the space bar for mapkeys

Jose

hello Jose,

Sorry for the late reply.

I tried the text file copy it and then paste at the mapkey OS script ,but its not working.

Please help.

Manish

Jose_Costa
6-Contributor
(To:mgupta-4)

You have to paste it into your Config.pro and reload it or restart Creo.

Jose

Hi Manish,

Let us know if you are still working on this or mark one of the user posts as "Correct Answer" if applicable.

Hello Clint ,

I am still searching for something to repeat last command.

Manish

Good day Manish,

Have you been able to resolve your issue?

Please indicate if one of the suggestions above helped you or if you solved things another way.

Best,

Toby

Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags