NXOpen.UF.Drf.CreateNonAssocHatch

Drf.CreateNonAssocHatch()

Refer to UF_DRF_create_non_assoc_hatch for documentation.

Signature: CreateNonAssocHatch(numLines, hatchLines, matrix, view, color, lineWidth)

Parameters:
  • numLines (int) – number of hatch lines = sizeof(hatch_lines)/4
  • hatchLines (list of float) – num_linescrosshatch lines ([x1, y1, x2, y2]) quadruples As with all annotations the coordinates are in the coordinater system of the matrix
  • matrix (Tag) – matrix for crosshatch if NULL_TAG then the matrix of the WCS is used
  • view (Tag) – view of crosshatch if NULL_TAG then the crosshatch is not view dependent
  • color (int) – color
  • lineWidth (int) – line width
Returns:

crosshatch created or NULL_TAG if error

Return type:

Tag

License requirements: DRAFTING