Pre-judgment attachment is disfavored in litigation. Generally one must show that "the subject property was in imminent danger of irreparable loss or waste ." Beyond that showing, there are rules when the request for an attachment might be sought. Here is an example.
Breslin Realty Dev. Corp. v Shaw ; 2012 NY Slip Op 00478