Apr 11, 2011 #1 A analog1 Newbie level 2 Joined Mar 23, 2011 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,292 What is the simplest skill code to find the coordinates of an instance with the name Ixxx in a layout? Thanks!
What is the simplest skill code to find the coordinates of an instance with the name Ixxx in a layout? Thanks!
May 11, 2011 #2 S schowdary Newbie level 5 Joined Jul 14, 2010 Messages 10 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Location hyderabad Activity points 1,334 procedure( Computecoordinates( bBox ) ll = car( bBox ) ur = cadr( bBox ) llx=xCoord(ll) urx=xCoord(ur) lly = yCoord( ll ) ury = yCoord( ur ) cox=(llx+urx)/2 coy=(lly+ury)/2 ) ; procedure
procedure( Computecoordinates( bBox ) ll = car( bBox ) ur = cadr( bBox ) llx=xCoord(ll) urx=xCoord(ur) lly = yCoord( ll ) ury = yCoord( ur ) cox=(llx+urx)/2 coy=(lly+ury)/2 ) ; procedure
Sep 18, 2012 #3 V vijayR15 Full Member level 3 Joined Dec 10, 2011 Messages 172 Helped 69 Reputation 136 Reaction score 63 Trophy points 1,308 Activity points 2,381 (foreach inst cv ~> instances x = car(inst~>xy) y = cadr(inst~>xy) n = inst ~> name println println(x) println )
(foreach inst cv ~> instances x = car(inst~>xy) y = cadr(inst~>xy) n = inst ~> name println println(x) println )