Hi,<div><br></div><div>There is a function in the wxgui to add a command layer(main GUI--&gt;Add grid or vector labels overlay--&gt;add command layer) .</div><div>Now I want to mimic same function ie add command layer via python script. How could I add a command layer via python script ? Someone has some quick idea on this ?</div>

<div><br></div><div><br></div><div>I checked wxgui.py file. It has a function OnAddCommand() , I think this function has a role to play , but I am not sure how to use it .</div><div><br></div><div>thanks</div><div>sudeep</div>