Create new family from family template then load into active project

Hi! I am trying to make detailing of reinforcement drawing. To do that, I have to create new detail item based on rebar curves from detail item template and then load into the active project. Anyone here can tell me if there is custom node using python to do it? or where can i find relative resource? Thanks very much!