RenderSettings->Target Application
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/12/2012 at 01:43, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R12-R14
Platform: Mac OSX ;
Language(s) :---------
Hi guys. I just found a very small bug in Cinema 4D. It's in R12 and R13 and R14 demo (didn't check any other versions) on Mac.By default Cinema 4D spits "None" when checking what Save->Compositing Project File->Target Application is set. Even thought by default it's set to After Effects.
_<_img src="http://www.rendertom.com/downloads/c4d_bugs/c4d_bug1.png" border="0" /_>_
----------Once you change it to something else (like Combustion) it spits "1" as it should. _" />
----------Then again back to After Effects, now it spits correct value "0", as it should from the start_<_img src="http://www.rendertom.com/downloads/c4d_bugs/c4d_bug3.png" border="0" /_>_r="0" />
----------Here's a code I used to get this:
import c4d
doc = c4d.documents.GetActiveDocument()
RenderSettings = doc.GetActiveRenderData()
TargetApplication = RenderSettings[c4d.RDATA_PROJECTFILETYPE]
print TargetApplication -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/12/2012 at 01:51, xxxxxxxx wrote:
The same issue is reproducible on R13.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/12/2012 at 09:25, xxxxxxxx wrote:
Hi, sometimes attributes are not set by default (even though this is not indented). In that case they are None, so catch None or the corresponding value.
Cheers, Seb