pyleecan.Methods.Slot.HoleM51.has_magnet module

has_magnet(self)[source]

Return if the Hole has magnets

Parameters:

self (HoleM51) – A HoleM51 object

Returns:

has_magnet – True if the magnets are not None

Return type:

bool