[ create a new paste ] login | about

Link: http://codepad.org/XQRU7Ggp    [ raw code | output | fork ]

Python, pasted on Sep 12:
1
2
3
4
5
6
7
import c4d
#Welcome to the world of Python

def main():
    rd = doc.GetActiveRenderData()
    rd[c4d.RDATA_XRES] = float(x)
    rd[c4d.RDATA_YRES] = float(y)


Output:
1
2
3
4
Traceback (most recent call last):
  Line 1, in <module>
    import c4d
ImportError: No module named c4d


Create a new paste based on this one


Comments: