Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

CUSTOM TOGGLE BUTTON FOR BACKGROUND COLOR?

chadholt

New member
Does anyone know how to create a custom button that will toggle the enviroment background color in Pro? I have created a custom mapkey that will change the color from gradient to white. How do I incorporate a command in this button that will allow the color to change back to a gradient, using the same button again?
 
Using Wildfire (I don't think this has changed from previous verions), here's what you do:



1) Pick Tools -> Customize Screen -> Command Tab

2) Scroll down to the mapkeys section toward the bottom of the list. You should see your mapkey description in the right window.

3) Select your mapkey's icon and drag it over to the icon bar. That's it.



You can modify the button's aesthetics from within the button menu - selecting new ones or starting from scratch.
 
I did manage to create a button of my black & white colour scheme mapkey, but you can't use the same button to return to the deafult colour scheme.

Two options: define your mapkey that the system colours menu stays in place. Press Default in the scheme menu.

Or: make another mapkey four your default colour scheme and make another button from it. Place next to each other of with a fly-out.



Huug
 
I haven't tried it but in theory you could make the last action of the button load a new mapkey definition that would change it's function to the other behavior.
 

Sponsor

Articles From 3DCAD World

Back
Top