Source code for pyleecan.Methods.Machine.LamSlot.has_magnet

[docs]def has_magnet(self): """Return if LamSlot has magnets Parameters ---------- self : LamSlot A LamSlot object Returns ------- has_magnet : bool True if LamSlot has magnets """ return hasattr(self, "magnet")