An eccentric SUNY Purchase art professor held a “class” yesterday in SoHo where he instructed his hipster students on how to illegally squat in condos around the city.

Chris Robbins organized the seminar with the hopes that at least one or two of the 20 attendees will find an unoccupied apartment or condo and unsafely and illegally move in — without paying rent or taxes.

Robbins, who lives in idyllic South Salem in Westchester, advocated that people need to move outside their comfort zones.

“My biggest goal in this is to activate people with political beliefs who aren’t actually engaging and get them to cross a boundary,” said Robbins.

“Basically, we don’t know what we are doing, but we have this impetus that we are going to make it happen.”

“Sunset Park has tons and tons of these condos that are finishing” and unoccupied, he explained in an interview with The Post.

“Jamaica, tons and tons of foreclosed single and two-family homes that were boarded up, and that seems like an ideal spot,” he added.

Robbins took students step-by-step through the process of converting someone else’s property into their own.

First, he said, determine if a building is indeed empty. Then check to see if it’s structurally sound. Try to pick a building owned by a bank or the city, since it’s easier to stay longer, he suggested.

And once all that’s done, make friends with the new neighbors and “become a member of the community.”

The former Peace Corps volunteer organized his tutorial through The Trade School, a social-networking site at OurGoods.org where people teach a skill in exchange for gifts. It has no affiliation with his college courses.

Robbins received fruits, vegetables and a Cormac McCarthy novel for his troubles yesterday.