NXOpen.UF.ModlGeneral.ImportExp

ModlGeneral.ImportExp()

Refer to UF_MODL_import_exp for documentation.

Signature: ImportExp(fileSpec, newDef)

Parameters:
  • fileSpec (str) – File name specification to import expressions from.
  • newDef (int) – Flag designating action to be taken if a name read from the file is already used for an expression. 0 = ok to replace existing definition 1 = must not exist. If it does, quit reading and give an error. 2 = delete all imports that are not used.

License requirements: SOLIDS MODELING