Forum

Author Topic: Reset Transform (Object mode)  (Read 3513 times)

Seboon

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Reset Transform (Object mode)
« on: January 05, 2018, 04:29:13 PM »
Hello,

Is there anyone here who knows how to reset transormation applied (different from Reset Region) to an object in python scripting?
I've searched in the Python API reference, but found no results.
Thanks!
S.Poudroux
Archaeologist - Topographer - Drone remote pilot

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15133
    • View Profile
Re: Reset Transform (Object mode)
« Reply #1 on: January 05, 2018, 05:38:36 PM »
Hello Seboon,

The analogue of Reset Transform operation would be the following:

Code: [Select]
chunk.crs = None
chunk.transform.matrix = None
Best regards,
Alexey Pasumansky,
Agisoft LLC

Seboon

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Reset Transform (Object mode)
« Reply #2 on: January 05, 2018, 07:32:52 PM »
Thanks!
S.Poudroux
Archaeologist - Topographer - Drone remote pilot