Skip to main content
Jul 17, 2014 10:16 AM UTC
Question

Small macro for Drafting to interactively change the angle of hatches

Example, to change by increment of 15 degrees (if degree is the current unit): Hach_chg_angle_inc 15

DEFINE Hach_chg_angle_inc

  PARAMETER Increment

  LOCAL Cloture

  LOCAL Pt

  LOOP

    READ PNT "Select hatching for changing the angle" Pt

    INQ_ENV 1 LET Cloture (INQ 2)

    INQ_SELECTED_ELEM HATCHING PICK_VP_PNT Cloture Pt

    CHANGE_HATCH_ANGLE (( INQ 4 ) + Increment) PICK_VP_PNT Cloture Pt

  END_LOOP

END_DEFINE