Dear All,

Please help me on this.
I am looking for code with following steps

1) Select object to Offset
2) pick point P1 & P2 for offset distance
3) Pick Point on Side to Offset

and with step 2 I need offset distance 20% of distance between p1 & p2.
any help will be much appreciate.