Model.recalculatetol#

Model.recalculatetol(cleanuptol='', nodetol='')#

Recalculates the cleanup tolerance, node tolerance, or both.

Parameters:
  • cleanuptol (hwString) – The cleanup tolerance to be recalculated. Valid values are cleanuptol and nodetol.

  • nodetol (hwString) – The node tolerance to be recalculated. Valid values are cleanuptol and nodetol.

Example#

Recalculate cleanup tolerance#
import hm
import hm.entities as ent

model = hm.Model()

model.recalculatetol(cleanuptol="cleanuptol")
Recalculate node tolerance#
import hm
import hm.entities as ent

model = hm.Model()

model.recalculatetol(nodetol="nodetol")
Recalculate cleanup and node tolerance#
import hm
import hm.entities as ent

model = hm.Model()

model.recalculatetol(cleanuptol="cleanuptol", nodetol="nodetol")