Macros allow programmers to run sequences of instructions as a single statement, making programming less tedious and error-prone. Examples of macros include creating patterns for families of parts, automating clamp locations, adding special punching functions, and inputting information for machine canned cycles. A family of parts macro uses a panel to define size variations for length, width, profile type, and trim locations that generate different sized parts from the same macro.