NXOpen.UF.Drf.SetXhatchMat

Drf.SetXhatchMat()

Refer to UF_DRF_set_xhatch_mat for documentation.

Signature: SetXhatchMat(fileName, materialName, util)

Parameters:
  • fileName (str) – The crosshatch definition file name
  • materialName (str) – The desired crosshatch material name
  • util (int) – Flag indicating whether to search the utility directory first or the user’s working directory. 1 = Search utility directory first. 2 = Search home directory first then utility directory.
Returns:

Error flag. Value > 0 indicates an error has occurred.

Return type:

int

License requirements: DRAFTING