Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro not working 1

Status
Not open for further replies.

mckeand13

Mechanical
Sep 20, 2002
37
I don't like having to right click on the top level item in the feature manager and click "collapse items." I wrote a macro to do that and then assigned a hotkey to it. When I run the macro, it doesn't do anything. Anybody have any ideas why that wouldn't work?
 
Replies continue below

Recommended for you

Have you opened the macro to see if the actions were actually recorded? Macro recording doesn't capture everything. This may need to be hand-coded.

[bat]Due to illness, the part of The Tick will be played by... The Tick.[bat]
 
THeTick is correct. If you view the code for the macro you will see that your function was not captured. Check out the API help files, I am sure there is a feature in there. Also, keep in mind that if the macro did work the first time, chances are it wouldn't work again since the recorded macro would be specific to the particular part you had open at the time of recording the macro (check out the code and you will see what I mean). Therefore, the long answer to your short question is it needs to be hand-coded.
 
You don't have to click on the top level item ... a RMB click on any clear space in the FM will bring up the Collapse items option ... but make sure nothing is highlighted or selected in the FM.

[cheers] from (the City of) Barrie, Ontario.

[smile] Support bacteria - they're the only culture some people have [smile]
 
CorBlimeyLimey,
That is way cool. I never knew that.
Thanks

Bradley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor