To produce a Common operation in the Main Menu select Operations - > Boolean - > Common
This operation cuts the common part of two shapes and transforms it into an independent geometrical object.
The Result will be a GEOM_Object (COMPOUND).
TUI Command: geompy.MakeCommon(s1, s2)
Arguments: Name + 2 shapes.
Example:
Our TUI Scripts provide you with useful examples of the use of Boolean Operations.