---------- Forwarded message ---------- From: Adam Pemberton <akpembo@xxxxxxx> Date: Jul 8, 2007 1:59 AM Subject: Fw: [foxboro] Connection report with dedit in FoxView To: FITZGERRELL@xxxxxxxxx Kevin I don't have access to the freelists at the moment due to some email bug with our company (something about reverse lookup not working). Could you please add this to your comments: --------------------- You are correct. Actually there are three object properties that can affect the position. They are Move, Scale and Tran. These can be summarised as follows: MOVE Comes as a 2 element array. In every g file I have come across (our FoxView version is a little old) if the . move property and the .scale property were both applied to the same object, the first two elements of the scale property were always the same as the move elements. newX = oldX + move[1] newY = oldY + move[2] SCALE Comes as a 4 element array. Performs the following action to move a point. newX = scale[3] * oldX + scale[1] newY = scale[4] * oldY + scale[2] TRAN Comes as a 6 element array. I've not found any examples of g files where the 3rd and 6th elements weren't 0 so I'm not sure of their function. My guess at there function is contained in the formulas below. newX = oldX * tran[1] + oldY * tran[2] + tran[3] newY = oldX * tran[4] + oldY * tran[5] + tran[6] Note that it's further complicated with grouping. You can the above actions performed on a group as well as individual objects in the group. Hence one needs to apply each operation in turn starting at the end objects and moving up through groups etc. ----------------- ----- Original Message ----- From: <Adam.Pemberton@xxxxxxxxxxxx> To: <akpembo@xxxxxxx> Sent: Saturday, July 07, 2007 7:38 AM Subject: FW: [foxboro] Connection report with dedit in FoxView ------------------------------------------- From: foxboro-bounce@xxxxxxxxxxxxx on behalf of Kevin Fitzgerrell[SMTP:FITZGERRELL@xxxxxxxxx] Sent: Saturday, 7 July 2007 7:33:20 AM To: foxboro@xxxxxxxxxxxxx Subject: Re: [foxboro] Connection report with dedit in FoxView Auto forwarded by a Rule You can use the .g (portable ascii) version of a FV file to get coordinate info. Watch for moved objects though which have an original position and an offset if memory serves. Regards, Kevin FitzGerrell _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave