本文整理汇总了Python中model.jigs.Jig.edit方法的典型用法代码示例。如果您正苦于以下问题:Python Jig.edit方法的具体用法?Python Jig.edit怎么用?Python Jig.edit使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类model.jigs.Jig
的用法示例。
在下文中一共展示了Jig.edit方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: edit
# 需要导入模块: from model.jigs import Jig [as 别名]
# 或者: from model.jigs.Jig import edit [as 别名]
def edit(self): # in class ESPImage
"""
Force into 'Build' mode before opening the dialog
"""
#bruce 060403 changes: force Build, not Select Atoms as before; only do this if current mode is not Build.
# (But why do we need to force it into any particular mode? I don't know. [bruce 070608])
commandSequencer = self.assy.w.commandSequencer #bruce 071008
if commandSequencer.currentCommand.commandName != 'DEPOSIT':
commandSequencer.userEnterCommand('DEPOSIT')
Jig.edit(self)