Find my Tag ??
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 12:53, xxxxxxxx wrote:
yeah you are right.. let me look at the SDK and get back to you in a min..
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 12:56, xxxxxxxx wrote:
while I'm looking you could find an instance of a coffee tag using the above method...
just do
instanceof(Tcoffeeexpression)
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 13:02, xxxxxxxx wrote:
found this...
http://www.py4d.com/forum/?wpforumaction=viewtopic&t;=15.0
(python)
but still it finds just a type of a tag... not exactly myself
hey thanks for the support shawn !
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 13:04, xxxxxxxx wrote:
and this... which exactly addresses the same problem
sadly no solution
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 13:15, xxxxxxxx wrote:
Looks like you asked this question before.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 13:33, xxxxxxxx wrote:
oi... this was 2008
i knew i had the problem before...
but still ... it is totally unsolved -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 13:35, xxxxxxxx wrote:
lol... I am not finding a satisfactory answer on my end. But again, I am not all that familiar with the COFFEE SDK.. lol Sorry!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 14:23, xxxxxxxx wrote:
The reference 'op' in Coffee tag is not the same as in a Python tag. 'op' in a Coffee tag references
the object where your tag is attached to. In Python its the tag itself. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/03/2011 at 16:14, xxxxxxxx wrote:
It's always safest to declare your object in both languages with "obj". Or whatever you prefer.
That way it's less confusing.Here's an example of selecting a tag by it's name:
var obj = doc->GetActiveObject(); if(!obj)return; // Error handling if no object was selected var ft = obj->GetFirstTag(); // Get the first tag on the currently selected object while(ft->GetName() != "MyTag") // Looks for a tag with the name MyTag { if(ft->GetNext()==NULL) //If there are no more tags { println("Tag name was not found"); return;// End the script } ft = ft->GetNext(); // Get the nex tag } ft->SetBit(BIT_ACTIVE); // Make the tag selected in the OM //We've got the proper tag selected...Lets do something with it now.
You can combine this with the "instanceof" function to filter for your tags.
If you don't already have my CoffeeBible. Then I recommend that you go get a copy from CGTalk.
It's free. And it has all kinds of examples in it.-ScottA
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/03/2011 at 16:09, xxxxxxxx wrote:
Why does Maxon not add a overloaded 'tag' variable for Tcoffeeexpressions ? There is absolutely no sense in overloading the Origin of the Tag, instead of the Tag!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/04/2011 at 05:13, xxxxxxxx wrote:
Hi, Basic C4D mac 11.5 user here, trying to get a grip on exactly what PY4D is all about, specially I have a few 3rd party plugins Im trying to install that requires PY4D to get them to work, unfortunately I can seem to find them anywhere, Ive been looking high and low and all I can seem to find out is that Maxon acquired
PY4D and thats pretty much it. Can anyone PLEASE let me know where I can even find the free beta plugin? thanks -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/04/2011 at 07:18, xxxxxxxx wrote:
@Stribiz: Py4D was available for R11.5 (beta expired in december'10) and is now part of C4D R12.