If it be subsequent to the commencement of the action, a separate petition or an amendment to the petition must be filed, and in all cases the proceedings relative to the attachment are to be deemed independent of the ordinary proceedings and only auxiliary thereto.
Iowa Code § 639.2