Model.aic_setoption#

Model.aic_setoption(optionname, value)#

Sets project directory, classifier, or label based on the specified option.

Parameters:
  • optionname (hwString) – Valid values are ProjectDirectory, CurrentClassifier, and CurrentLabel.

  • value (hwString) – Name of the project directory, classifier, or label to be set.

Example#

Set the project directory#
import hm
import hm.entities as ent

model = hm.Model()

model.aic_setoption(optionname="ProjectDirectory", value="D:/Temp/project_A")
Set the current classifier#
import hm
import hm.entities as ent

model = hm.Model()

model.aic_setoption(optionname="CurrentClassifier", value="ShapeAICar")
Set the current label#
import hm
import hm.entities as ent

model = hm.Model()

model.aic_setoption(optionname="CurrentLabel", value="DoorAssembly")