Model.setoffsetconflictoptionmessage#

Model.setoffsetconflictoptionmessage(mode)#

Sets the message option when there is offset conflict during drag-and-drop.

Parameters:

mode (int) –

0 - Do not keep the user input for all following drag-and-drop operations

1 - Keep the user input for all following drag-and-drop operations

Example#

Keep the user input for all follow drag-and-drop operations#
import hm
import hm.entities as ent

model = hm.Model()

model.setoffsetconflictoptionmessage(mode=1)