Descriptionfiles for e.g. MoGraph ?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/02/2011 at 11:16, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :---------
Hi Guys,I am searching for the descriptionfiles for MoGraph, but i can't find them.
I need the ID for the Renderinstances of the Clonerobject.
Because C4D Versions older than 11.5 do not have renderinstances, i need to insert the ID manually too make my plugin usable for them too without having to distribute another version.cheers, nux
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/02/2011 at 11:22, xxxxxxxx wrote:
Omg, why not just print the variable for it ? Found a way
But now another question.
Why does it not work, when i declare a varibale with the specified ID for the Element and use it with PointNotation ?
var RENDERINSTANCES = 1025; op#RENDERINSTANCES = 0;
does not work.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/02/2011 at 00:34, xxxxxxxx wrote:
The ID for the Render Instances option of the Cloner is MGCLONER_VOLUMEINSTANCES.
You can obtain description ID names by dragging them into the console or the COFFEE/Python script editor.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/02/2011 at 03:24, xxxxxxxx wrote:
Haha, I know Matthias, thanks.
But I needed the *real* ID for this entry. As you can read here, I want my plugin working for Versions older than 11.5, too.Because C4D Versions older than 11.5 do not have renderinstances, i need to insert the ID manually too make my plugin usable for them too without having to distribute another version.
Renderinstances are not enumerated in older C4D Versions, because it's not built in, so C4D tells me there was a variable or function expected (because it acrually doesnt know that variable). But in newer Versions I have to make sure that Renderinstances is not marked in the ClonerObject.
I needed the real ID, which is 1025 in the ClonerObject.To get it, i just printed it into the Console:
println(MGCLONER_VOLUMEINSTANCES);
My 2.nd Question was, why it does *not* work, when i declare an own variable with that id.
var INSTANCES = 1025; op#INSTANCES = 0;
cheers, nux
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/02/2011 at 05:21, xxxxxxxx wrote:
You should always work with ID names whenever possible. ID numbers can change between versions.
As for your second question, this is a limitation of the COFFEE # operator.
cheers,
Matthias