5141 change layout grid

S

stuso

Guest
Hi there, i'd like to change my grid quickly mid layout so i tried
these env varibales:

envSetVal( "layout" "xSnapSpacing" 'float 0.26)
envSetVal( "layout" "ySnapSpacing" 'float 0.26)

this does not seem to have any effect? Am i changing the wrong
variables?

Thanks

Stu
 
stuso wrote, on 07/17/09 18:11:
Hi there, i'd like to change my grid quickly mid layout so i tried
these env varibales:

envSetVal( "layout" "xSnapSpacing" 'float 0.26)
envSetVal( "layout" "ySnapSpacing" 'float 0.26)

this does not seem to have any effect? Am i changing the wrong
variables?

Thanks

Stu
These are used to seed the xSnapSpacing on the window when it is opened. So what
you need is:

hiGetCurrentWindow()~>xSnapSpacing=0.26
hiGetCurrentWindow()~>ySnapSpacing=0.26

Regards,

Andrew.
 
On Jul 17, 6:54 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
stuso wrote, on 07/17/09 18:11:

Hi there, i'd like to change my grid quickly mid layout so i tried
these env varibales:

envSetVal( "layout" "xSnapSpacing" 'float 0.26)
envSetVal( "layout" "ySnapSpacing" 'float 0.26)

 this does not seem to have any effect? Am i changing the wrong
variables?

Thanks

Stu

These are used to seed the xSnapSpacing on the window when it is opened. So what
you need is:

hiGetCurrentWindow()~>xSnapSpacing=0.26
hiGetCurrentWindow()~>ySnapSpacing=0.26

Regards,

Andrew.
Thanks Andrew, that works for me.
 

Welcome to EDABoard.com

Sponsor

Back
Top