現在のスタディに磁界のコンタープロットを追加する。
import designer
app = designer.GetApplication()
study = app.GetCurrentStudy()
contour = study.CreateContour("AddedByScript")
contour.SetResultType("MagneticFieldStrength")
view = app.View()
view.SetContourView(1)


