CCP 3502     

Art. 3502.  Issuance of writ before petition filed

A writ of attachment or of sequestration may issue before the petition is filed, if the plaintiff obtains leave of court and furnishes the affidavit and security provided in Article 3501.  In such a case the petition shall be filed on the first judicial day after the issuance of the writ of attachment or of sequestration, unless for good cause shown the court grants a longer delay.