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
❯ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'ubuntu/trusty64'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'ubuntu/trusty64' is up to date... | |
==> default: Setting the name of the VM: hogehoge_default_1544239631704_28299 | |
==> default: Clearing any previously set forwarded ports... | |
Vagrant cannot forward the specified ports on this VM, since they | |
would collide with some other application that is already listening | |
on these ports. The forwarded port to 8080 is already in use |
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
import c4d | |
def main(): | |
spline = op.GetObject() | |
emitter = spline[c4d.ID_USERDATA, 1] | |
if emitter == None: | |
return | |
if emitter.GetType() != 5109: | |
spline[c4d.ID_USERDATA, 1] = None |