not a question per se, a word of warning if you were hoping to finally learn how to select objects with a textual command… ; )

Forum Archive not a question per se, a word of warning if you were hoping to finally learn how to select objects with a textual command… ; )

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8514
    Peter Varga
    Participant

      The method described for selecting objects (concluding at around 7:30) doesn’t seem to work, in 2.80 that is… I assume due to the Python version update…

      >>> bpy.data.objects[‘Cube’].select

      Traceback (most recent call last):

        File “<blender_console>”, line 1, in <module>

      AttributeError: ‘Object’ object has no attribute ‘select’

      #28873
      Peter Varga
      Participant

        some additional info…

        Selecting object by name in 2.8 (StackExchange)

        so, instead of the “direct” way, you need to use:

        select_get() and select_set()… mind the use of round brackets! : ) 

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The topic ‘not a question per se, a word of warning if you were hoping to finally learn how to select objects with a textual command… ; )’ is closed to new replies.