Created
May 2, 2018 12:45
-
-
Save tlancon/6e92a3344d50760525867f7f2c6e66cf to your computer and use it in GitHub Desktop.
Auto-adjusts the colormap for Avizo/Amira Ortho Slice modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Copy/paste this into Avizo/Amira console | |
# 2. Select one or more Ortho Slices to auto-adjust and press F3 | |
# Note: Can change 'onKeyFX' to the desired keybinding | |
proc onKeyF3 {} { | |
foreach slice [all -selected HxOrthoSlice] { | |
$slice colormap adjustRange; $slice fire | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment