Skip to content

Instantly share code, notes, and snippets.

@bonsak
Created October 21, 2015 20:09
Show Gist options
  • Select an option

  • Save bonsak/66b25705dea2295c5d0a to your computer and use it in GitHub Desktop.

Select an option

Save bonsak/66b25705dea2295c5d0a to your computer and use it in GitHub Desktop.
Script to toggle between Live selection and Renctangle
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