pyleecan.Methods.Slot.Hole.get_magnet_dict module

get_magnet_dict(self)[source]

Return a dictionary with all the magnets of the Hole

Parameters:

self (Hole) – A Hole object

Returns:

magnet_dict – Dictionary of magnet (key = magnet_X, value= Magnet or None)

Return type:

{Magnet}