Skip to content

Instantly share code, notes, and snippets.

@bonsak
Created February 23, 2014 22:23
Show Gist options
  • Select an option

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

Select an option

Save bonsak/9178220 to your computer and use it in GitHub Desktop.
Toggle
import c4d
if c4d.IsCommandChecked(12101):
c4d.CallCommand(12298) # Model
elif c4d.IsCommandChecked(12298):
c4d.CallCommand(12101) # Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment