Search found 4 matches

by usitnikov
Mon Oct 22, 2018 11:10 am
Forum: Maxon Cinema 4D
Topic: How to detect octane version
Replies: 7
Views: 3216

Re: How to detect octane version

Code: Select all

a = documents.GetActiveDocument().GetDataInstance()
b = a.GetContainerInstance(1029499)
b.GetLong(c4d.SET_OCTANE_VERSION, -1)
Work for me, thx.
by usitnikov
Fri Oct 19, 2018 9:32 am
Forum: Maxon Cinema 4D
Topic: How to detect octane version
Replies: 7
Views: 3216

Re: How to detect octane version

BaseContainer *bc = mDoc->GetDataInstance();
BaseContainer *sceneBC = bc->GetContainerInstance(ID_OCTANE_LIVEPLUGIN);

version = sceneBC ->GetLong(SET_OCTANE_VERSION, -1);


if(version>0 && version<PLG_VERSION) info("Scene created in plugin version "+LS(version));


3080400 is 3.08.4
4000016 is V4 ...
by usitnikov
Tue Oct 16, 2018 12:27 pm
Forum: Maxon Cinema 4D
Topic: How to detect octane version
Replies: 7
Views: 3216

Re: How to detect octane version

Can you please write it on python, if it possible.
by usitnikov
Tue Oct 16, 2018 12:01 pm
Forum: Maxon Cinema 4D
Topic: How to detect octane version
Replies: 7
Views: 3216

How to detect octane version

Hi guys, i can't found how get octane version from cinema4d python API, can you please help me in this question? :?:

Go to advanced search