Created
October 21, 2015 20:09
-
-
Save bonsak/66b25705dea2295c5d0a to your computer and use it in GitHub Desktop.
Script to toggle between Live selection and Renctangle
This file contains hidden or 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
| import c4d | |
| | |
| def main(): | |
| if c4d.IsCommandChecked(200000083): | |
| # If Live switch to rect | |
| c4d.CallCommand(200000084) | |
| else: | |
| # Else switch to Live | |
| c4d.CallCommand(200000083) | |
| if __name__=='__main__': | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment