I design the Inventor part - DIN Rail (also known as Top Hat Rail or type Ω).
Model is fully parameterized by list of parameters and iLogic rules.
To get the rail model you must select type in combo box, then choose with/without perforation by check box and enter length of rail
iLogic form is shown on Place Component to assembly.
Click here to download (file DIN Rail.ipt, 177 Kb).