0

find out entity in shotgun when right click on it

Hi

 

How can i find out which entity i click on in shotgun.

So very simple task when i write self.log_info() how can i get it to print out the entity ?

 

thx

Hannes

댓글 1개

  • 0
    Avatar
    Manne Öhrström

    Hello Hannes!

    Sorry about the delay!

    The entity will be in the context, try print self.context or print self.context.entity

    Hope that helps!
    Manne

댓글을 남기려면 로그인하세요.