Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/03/2011 at 07:25, xxxxxxxx wrote:
My script have error in R12 how i fix it problem with Symbols
import c4d import os from c4d import documents,storage from c4d import symbols as sy #get Variable doc = documents.GetActiveDocument() rd = doc.GetActiveRenderData() sf = (rd[sy.RDATA_FRAMEFROM]) ef = (rd[sy.RDATA_FRAMETO])
i want get frame start and end frame with Int
On 23/03/2011 at 08:54, xxxxxxxx wrote:
Hi cglism,
the symbols module was part of Py4D and it was removed in R12. You can simply use "import c4d c4d.YOUR_SYMBOL"
Cheers, Sebastian
On 23/03/2011 at 09:53, xxxxxxxx wrote:
nice to see you again sebastian thank you
On 23/03/2011 at 12:23, xxxxxxxx wrote:
i get variable form Frame Start in Render Setting but show <c4d.BaseTime object at 0x0000000D6760D8> how i get Frame with Int
import c4d from c4d import documents,storage doc = documents.GetActiveDocument() rd = doc.GetActiveRenderData() sf = (rd[c4d.RDATA_FRAMEFROM]) print sf
On 23/03/2011 at 12:53, xxxxxxxx wrote:
ok i find fps for fixed-*- it work
import c4d from c4d import documents,storage fps = doc.GetFps() rd = doc.GetActiveRenderData() sf = (rd[c4d.RDATA_FRAMEFROM]).GetFrame(fps) ef = (rd[c4d.RDATA_FRAMETO]).GetFrame(fps) print sf,ef