Skip to content

Changing shape isn't deleting the old part #26

@ghost

Description

Changing a shape with having the former shape not as RootObject doesn't delete the old shape. This is because in json_part: "root_objects = list(active_document.app_active_document.RootObjects)" doesn't delete objects not on the root object layer

What is the wanted behavior here?:

  • Replacing "RootObjects" with "Objects" then correctly delete all old objects
  • A more non destructive way could be to actually replace the objects with: getObjectBy... methods to only delte the old objects (and the sheet?) and then create the new object (at the same position in the object hirachie?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions