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 18/01/2012 at 09:29, xxxxxxxx wrote:
User Information: Cinema 4D Version: R12-R13 Platform: Windows ; Mac OSX ; Language(s) : C++ ;
--------- I can't find any reference to Tcaik (except for its own .h/.res/.str files) and definitely no Plugin ID to use to make one. I've scanned the entire Cinema 4D R13 install and it didn't find a reference to the Plugin ID (not even in the c4d_symbols.h!). And it is not available as a Command so I'm at a loss (except for a bit of coding to display the tag's Plugin ID myself).
On 18/01/2012 at 10:01, xxxxxxxx wrote:
Not sure if this is what you're asking for:
#include "..\..\..\..\resource\modules\ca\res\description caik.h" BaseDocument *doc = GetActiveDocument(); BaseObject *obj = doc->GetActiveObject(); if(!obj) return FALSE; obj->MakeTag(1019561, NULL); //Create a new IK tag BaseTag *newtag = obj->GetFirstTag(); //Find the new tag and give it a new variable newtag->SetParameter(DescID(ID_CA_IK_TAG_ENABLE), GeData(TRUE), DESCFLAGS_SET_0); //Enable "Use Ik" option
-ScottA
On 18/01/2012 at 10:09, xxxxxxxx wrote:
Where did you find the Plugin ID? It is not anywhere in the install (incl. resource folder). And it didn't show up in the Command Manager which shows the Plugin ID.
On 18/01/2012 at 10:28, xxxxxxxx wrote:
I created the tag by hand. Then dragged it into the bottom of script console window where it displayed this: temp(1). So I edited that to this: println(temp(1)->GetType()) Which gave me the ID#1019561 in the console.
I went searching for that number using windows search tool. And oddly enough. I found it listed in a file called "interface_icons.txt" of all things. *Seems like a strange place to enumerate ID# to me personally.
On 18/01/2012 at 11:53, xxxxxxxx wrote:
Thanks for the information.
I hate when they do this. It makes our work a bit more difficult, mystical and an art-form instead of being a regimented, clear-cut process.
Now I can convert my IK chains to R12+ IK chains.
On 18/01/2012 at 12:09, xxxxxxxx wrote:
NP. I'm just thrilled I could finally help you out for once. Rather than you always helping me out.
On 19/01/2012 at 01:31, xxxxxxxx wrote:
Originally posted by xxxxxxxx I went searching for that number using windows search tool. And oddly enough. I found it listed in a file called "interface_icons.txt" of all things. *Seems like a strange place to enumerate ID# to me personally.
Originally posted by xxxxxxxx
"interface_icons.txt" is just a file listing all the interface icons ID#.