@mr_creator said:
group1 = entities.add_groupNext I need to move everything to the origin of global coordinates.
This line of code will create a new group at the origin of entities. If this is the top level model's entities, then this is the global origin. If it is some other component's or group's entities, then it is their local origin.
@mr_creator said:
group1.transformation.origin have zero coordinates, but group1 is not at zero.
This confirms then that group1's origin is at the origin of the active edit context's origin.