AttributeError



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/06/2011 at 15:09, xxxxxxxx wrote:

    Hi,
    I created an own Object with python and now i want to get a few attributes.
    how can I get these attributes?

    ID of the Attribute: [TP_GEOMETRY], so i tried this:
    > print TP[c4d.TP_GEOMETRY]

    but there is a attribute error:
    AttributeError: 'module' object has no attribute 'TP_GEOMETRY'



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/06/2011 at 22:07, xxxxxxxx wrote:

    Why is TP your object ? (and are you sure it is written uppercase ? ;-)
    the tp module is automatically loaded in the skript manager as well as tag an generator.

    Make sure you use the right variable, the one representing your object.

    op[c4d.TP_GEOMETRY]
    


  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/06/2011 at 22:23, xxxxxxxx wrote:

    TP_GEOMETRY is an attribute of an third-party-object which I created on my own (ObjectPlugin). so the attributed is not stored in the c4d-module.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/06/2011 at 22:55, xxxxxxxx wrote:

    If it shows up in your AM, then try trashing the "coffeesymbolcache" file
    found in your user pref folder and restart Cinema.

    Cheers
    Lennart



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/06/2011 at 23:36, xxxxxxxx wrote:

    Ah, okay, thank you :)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 29/06/2011 at 03:51, xxxxxxxx wrote:

    Ah, lol I am sorry. Mixed sth up.


Log in to reply