I am working on Layout XL. When I select the a net on layout then it will automatically route. For example in layoutXL 3 devices has "net1" connection. If I select "net1" then "net1" routing will be automatically done for those 3 devices. Is there any command for this directly or need to write code for this. Please suggest me on this.
It is very important to include the version that you are using, this will greatly affect the answer that you receive, and therefore the effectiveness of that answer (for example, I tell you about a feature of IC615 that you don't have because you are using IC5141 - not too useful to you).
In IC615, if you select a net in the Navigator Assistant you can route directly from there using the built-in routing features (right mouse click and choose Route with Default Lookup, or Route with Wire Assistant Overrides).
Please provide more details and perhaps you can get a better answer.