Hi,
I have a Action Menu called "Snap" where I need to set the PinX and PinY to a formulae. Using SETF I am able to set either PinX or PinY - how do I do both in a single action.
Right now my formulae looks like this
=SETF(GetRef(PinX),"Sheet.5!Width*0")
I need to do
=SETF(GetRef(PinX),"Sheet.5!Width*0")
AND
=SETF(GetRef(PinY),"Sheet.5!Height*0")
both in a single action.
Thanks,
Naresh
=SETF(GetRef(PinX),"Sheet.5!Width*0") + SETF(GetRef(PinY),"Sheet.5!Height*0")
Hi Naresh,
You might also look in the Visio developer help under SETATREF. There is an example there that uses these (newer) functions to do some snapping.
Are you making an I/O port builder? ;) ;)
Chris,
Thanks - was trying to get the wire to show the CompID at both ends - just some stuff I am experimenting with in my free time. Will let you know if I get stuck.
Cheers,
Naresh