2

How do I setup the poll method for a panel causing it to only display when 2 objects are selected ?

satishgoda
  • 8,064
  • 2
  • 18
  • 35
Retrax
  • 1,480
  • 13
  • 32

1 Answers1

8
    @classmethod
    def poll(cls, context):
        return len(context.selected_objects) == 2
batFINGER
  • 84,216
  • 10
  • 108
  • 233