Hello,Originally posted in cdnusers.org by Geoffm
I am having trouble getting data into the axlTransformObject command.
I am using concat to join the x value, a comma, and the y value, and then insert the result into the transform object line, but it's separating the first number with \'s. I guess this means there is something I don't know about concat.
when i run the program printf prints:
compLoc (9865.0 8195.0) 2135 1805
W- *WARNING* (axlTransformObject): ?move option requires a delta x/y location
here is an example from the Cadence skill guide:
axlTransformObject(ldbid, ?move '(100.0, 0.0))
see my code below...
(defun MoveIt ()
;pick new location
;printf("Plist %L \n" Plist)
(foreach comp Plist
;printf("compLoc %L " comp->xy)
printf(" %n %n \n" deltaX deltaY)
deltaXY=concat(deltaX "," deltaY)
printf("Concat %L \n" deltaXY)
axlTransformObject(comp, ?move 'deltaXY)
hope somebody can help!