Dear Hadi Taleshi Ahangari, <br><br>try this :<br><br>bad code:<br> <br> /gate/my_phantom/attachPhantomSD<br> # PHANTOM<br> /gate/world/daughters/name my_phantom<br> /gate/world/daughters/insert cylinder<br> /gate/my_phantom/setMaterial Water<br> /gate/my_phantom/vis/setColor grey<br> /gate/my_phantom/geometry/setRmax 10. mm<br> /gate/my_phantom/geometry/setHeight 30. mm<br> <br> good code:<br><br># PHANTOM<br>/gate/world/daughters/name my_phantom<br>/gate/world/daughters/insert cylinder<br>/gate/my_phantom/setMaterial Water<br>/gate/my_phantom/vis/setColor grey<br>/gate/my_phantom/geometry/setRmax 10. mm<br>/gate/my_phantom/geometry/setHeight 30. mm<br>/gate/my_phantom/attachPhantomSD<br> <br>explanation :<br><br>you MUST define your "my_pahntom" BEFORE to "attachPhantomSD"<br><br>directory "/gate/my_phantom/" doesn't exist before you call "/gate/world/daughters/name my_phantom"<br> <br>Best regards,<br><br>Samuel<br><br><b><i>hadi taleshi
<hadi.taleshi@gmail.com></i></b> a écrit :<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <div>Dear sir</div> <div>my problem in any macro file like this.</div> <div> </div> <div>Thank you<br><br> </div> <div><span class="gmail_quote">On 10/16/07, <b class="gmail_sendername">Samuel BURG</b> <<a href="mailto:samuel_burg@yahoo.fr">samuel_burg@yahoo.fr</a>> wrote:</span> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Can you post you *.mac file ?<br><br>Regards,<br><br>Samuel<br><br><b><i>Simon Stute <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gate.stute@gmail.com" target="_blank"> gate.stute@gmail.com</a>></i></b> a écrit : <blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"><br><br>---------- Forwarded message
----------<br><span class="gmail_quote">From: <b class="gmail_sendername">hadi taleshi</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:hadi.taleshi@gmail.com" target="_blank">hadi.taleshi@gmail.com</a>><br>Date: 15 oct. 2007 17:36 <br>Subject: Fwd: problem in macro file<br>To: Simon Stute < <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gate.stute@gmail.com" target="_blank">gate.stute@gmail.com</a>><br><br></span> <div><br clear="all">Dear sir</div> <div>Inside the Gate environment, i can deffining a phantom geometry using following command line</div> <div> </div> <div>/gate/my_phantom/attachPhantomSD</div> <div> </div> <div>But in the macro file the Gate has errore and after this command , write that '''command not found''' </div> <div>what sould i do??<br>thank you</div> <div>-- <br>Hadi Taleshi Ahangari<br>MSc. Tarbiat modarres University </div><span class="sg"><span><br clear="all"><br>--
<br>Hadi Taleshi Ahangari<br>MSc. Tarbiat modarres University </span>_______________________________________________ <br>Gate-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Gate-users@lists.healthgrid.org" target="_blank">Gate-users@lists.healthgrid.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank"> http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br></span></blockquote><span class="ad"><br> <div> </div><hr size="1"> Stockage illimité de vos mails avec Yahoo! Mail. <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://fr.promotions.yahoo.com/mail/nouveau_yahoomail2.html" target="_blank">Changez aujourd'hui de mail ! </a> <div></div><div></div></span></blockquote></div><br><br clear="all"><br>-- <br>Hadi Taleshi Ahangari<br>MSc. Tarbiat modarres University </blockquote><br><p> 
<hr size="1">
Ne gardez plus qu'une seule adresse mail ! <a href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail