On 19/07/2017 at 03:16, xxxxxxxx wrote:
Hi all!
Been fighting with an issue for more than a day now, maybe one of you sees the light I'm not seeing.
I've got one object with the Architectural Grass tag on it, and want to delete it from Python code.
'grassObject' is a direct link to the object in the python node in xpresso.
print (grassObject.GetTags() ) gives me in console:
[<c4d.BaseTag object called 'Grass/Architectural Grass' with ID 1028463 at 0x0000020295497E30>]
BaseObject.KillTag(type[, nr=0])
Killtag expects an int as type (asuming that is the ID I've got from the print)
Executing 'grassObject.KillTag(1028463)' crashes cinema4D. R17 as well as R18.
Anyone got a clue what I'm doing wrong?
Thanks!
Jur