1/Use AimConstrain command in python. 2/Use MVector as maya particle  and instancer the geometry to replace the particles. download the file here- 

https://drive.google.com/folderview?id=0Bw3y5P_6INNxfjVMaksydGlyZW8wb2xFUzlSbVBRTDBkd09XNzJEcGdsRzVlemJzaVZQSTg&usp=sharing

The Port of Barcelona are the nexus of material and data flows. As the locus of intense development and social exchanges at all levels, the Port in 2115 should reinvite a scenario to interact with the environments. By transcending the monofunctional infrastructure through a rhizomatic layer, the project acts as a Responsive Landscape to fluctuate the inherent territory between natural surroundings and stratification of infrastructure , incorporating civic possibilities on site upon which such systems cross.