I need the x:y co-ordinates of the point where i clicked in the layout editor window.
Requirement : need to get the points and print in to the file.
Please suggest the command to be used ASAP
Is this some University project? This sounds remarkably like https://www.cadence.com/Community/forums/p/12606/18010.aspx#18010 posted a few minutes ago.
My response from another post:
There are a couple of ways to do this:
enterPoints - This enter function can prompt for points and use the callback to enter the information into a file.
- gets the location of the pointer at the last click, place in a loop
and as the user clicks the points, the points will be returned.
3 - there are 3 ways to do this:
hiGetPoint - Gets the current xy location of the cursor. Does not need a mouse click.
In addition to what Ted has said, you will also probably want to use the outfile(), fprintf() and close() SKILL functions for opening, writing to and closing the file respectively.
No. its not the university project. we both are friends but without notice bharath also raised the issue.
Please reply for this alone. Thanks Bracknell for pointing.
Haha... looks like you and Bharath is lookign for same coding. Probably is some assignment or task. You may refer to Bharath post.