how to design a tool for M8 hex fastener in Autocad?

in ISO standard please give PDM solution also.