Model.CE_GlobalSetString#

Model.CE_GlobalSetString(name, value)#

Sets a value to a global string variable.

Parameters:
  • name (hwString) – The name of the string variable to set. Currently only “g_ce_post_collector_name_setting” is supported.

  • value (hwString) – The value of the string. Currently only “use link names” and “use link ids” are supported.

Example#

Set global string variable “g_ce_post_collector_name_setting” to “use link ids”#
import hm
import hm.entities as ent

model = hm.Model()

model.CE_GlobalSetString(name=g_ce_post_collector_name_setting, value="use link ids")