Is there any command or procedure to check the side of a given block port.
I have a port i need to find on which side this port is placed (left or top or right or bottom).
You can use dbGet to see the side of the pin. Assuming this is an "hterm" (i.e. pin of a hierarchical block 'fence'), do the following:
set htermPtr [dbGetHTermByInstTermName full_hier_path/pin_name]
However, it should be noted that this will return the side of the master and, thus, you would need to figure out what that transforms to if the clone has a non-R0 orient (i.e. North = South if clone is MX). I don't know what will come back if this "block" is loaded from LEF. Note that a LEF block's pin could be internal and not actually have a "side".
Hope that helps,