Jan 15, 2012 #1 Z zhang43 Newbie level 4 Joined Apr 14, 2009 Messages 5 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,314 I want use tcl variable to automatic do the underline --------------------------------------------------------- set x_coordinate 50 set y_coordinate 50 set_attribute -cell hoge -origin {$x_coordinate $y_coordinate} --------------------------------------------------------- but it not work. I am a newcommer of tcl,can anyone help me
I want use tcl variable to automatic do the underline --------------------------------------------------------- set x_coordinate 50 set y_coordinate 50 set_attribute -cell hoge -origin {$x_coordinate $y_coordinate} --------------------------------------------------------- but it not work. I am a newcommer of tcl,can anyone help me
Jan 15, 2012 #2 A Alosevskoy Member level 3 Joined Oct 11, 2011 Messages 55 Helped 19 Reputation 38 Reaction score 19 Trophy points 1,288 Location Zelenograd (Moscow) Activity points 1,634 Try to replace braces {} with quotes " ".
Jan 15, 2012 #3 Z zhang43 Newbie level 4 Joined Apr 14, 2009 Messages 5 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,314 Thank you very much for your answer. I wil try it tommorow.
Jan 17, 2012 #4 O oratie Full Member level 6 Joined Jan 10, 2007 Messages 387 Helped 179 Reputation 356 Reaction score 182 Trophy points 1,323 Activity points 4,763 Try something like set_attribute [get_cells hoge] origin "$x_coordinate $y_coordinate"
Jan 19, 2012 #5 Z zhang43 Newbie level 4 Joined Apr 14, 2009 Messages 5 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,314 Thank you Mr.oratie! It work!!!