Hi,
Most of the layout functions have now got a smartSnap option.
For example:
for "leHiCreateRect()", we have the following to turn the smartSnap on/off
leRectXLForm->rectSmartSnapEnable->value= t
leRectXLForm->rectSmartSnapEnable->value= nil
for "leHiCreateRuler", we have the following to turn the snap option on/off
ruler->rulerSnapOff->checked=t
ruler->rulerSnapEdges->checked=t
So, i was thinking if i could set a global bindkey to turn the smartSnap on/off for all such functions. What i mean is, when the "leHiCreateRect()" is active pressing the bindkey for example "Shift<Key>s" would toggle the smartSnap for it on/off and if the function "leHiCreateRuler" is active, the same bindkey "Shift<Key>s" would toggle the smartSnap on/off for it.
Can anyone help out with a SKILL solution? I think its a good to have feature built in Cadence tool itself.
Thanks
Ram