Results 1 to 5 of 5

Thread: Pivot Point

  1. #1

    Pivot Point

    Hi guys,

    Anyone would know how to change the space to View_3D before I run some other lines?

    It seems is the error I get when trying to change the pivot_point.

    AttributeError: 'SpaceTextEditor' object has no attribute 'pivot_point'


  2. #2
    It will be very interesting to see the help people are able to provide with the amount of information and context you provided.

  3. #3
    Thanks for trying to help mate. It's pretty simple I am trying to change the pivot center from a script but I get that error. When you change the pivot center you get this in the info window:

    bpy.context.space_data.pivot_point = 'INDIVIDUAL_ORIGINS'

    But that doesn't work as any other lines taken from the info window. So I was wondering why.

    Did that help?

  4. #4
    Oh, OK.

    import bpy
    for area in bpy.context.screen.areas:
        if area.type == 'VIEW_3D':

  5. #5
    Thanks a million MartinZ.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts