Aalt,
Are you subscribed to the developers forum?
I asked about this problem there.
I got a reply from Geoff Harland regarding the AskLocation process for PCB,
as you found out it does not exist.
I have a really small amount of Pascal programming experience, but am going
to try and get a freeware compiler and the Protel SDK over the weekend and
have a go at writing my own process for this.
I'll let the group know if I can sort this *little* task out, (don't hold
your breath).
PS: Note that I have updated the .zip file in in the Yahoo file area to
include a readme, and the spiral now starts one radius out (to allow room
for a via or pad). Also there was a small problem with the parameters passed
to the PlaceArc process that is now fixed (just fortunate that the default
was what I wanted).
Also I've noted that the spiral is placed relative to the bottom left corner
of the workspace, not the origin (using current units). The text in the
input boxes for the center location have been updated to reflect this.
Tom.
-----Original Message-----
From: Aalt Lokhorst [mailto:[EMAIL PROTECTED]]
Sent: Friday, 15 June 2001 6:15 PM
To: Protel EDA Forum
Subject: Re: [PEDA] Spiral generator.
Hello World,
Thomas wrote:
>I'm planning to get rid of the input box for the x,y location, and replace
>it with a mouse click if possible.
In the past I was looking for a 'process' to read the X,Y information from a
mouseclick.
It is available in Schematic but I couldn't find it in PCB.
It would be a nice feature, not only for placing the spiral but also for
other situations.
It could be used to 'construct' points which are based on other points.
Examples:
Click two points and let Client Basic calculate the midpoint.
Click the Start and EndPoint of two tracks and let Client Basic
calculate the point where the tracks cross.
Ik never used the SDK, this function might be a nice starting project.
The problem is that I only have Visual C++ from Microsoft and not the Delphi
software.
A few day's ago Ian wrote about the difficulties involved in using C++.
>The problem is linking in to the runtime libraries that Protel release. I
>suspect it is technically possible to write the headers (C/C++) to
>interface but to date no-one has done so
How big are the problems? Do I need all the headers if I only want to have
acces to the mouseclick position in PCB?
Aalt Lokhorst (e-mail [EMAIL PROTECTED])
address:
Schut Geometrische Meettechniek bv
Duinkerkenstraat 21
9723 BN Groningen, The Netherlands
tel. +31 50-5877877
fax. +31 50-5877899
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/subscrib.html
* - or email -
* mailto:[EMAIL PROTECTED]?body=leave%20proteledaforum
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Browse or Search previous postings:
* http://www.mail-archive.com/[email protected]
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *