<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Taku,
<div><br>
</div>
<div>Can you post your relevant macros?</div>
<div><br>
</div>
<div>My guess right now, though I have not tested it, is that the attachTo command is only for actual movement of the source (i.e. commands under VOLUME_NAME/moves/). Commands that are under VOLUME_NAME/placement/ are probably ignored. This would explain why
you still need to use posrot, since it is a positioning command and not a movement command.</div>
<div><br>
</div>
<div>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Marc</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>__________________________</div>
<div><br>
</div>
<div>Marc Chamberland, MSc</div>
PhD candidate<br>
Department of Physics<br>
Carleton University<br>
Ottawa (ON)</div>
</span></div>
<br>
<div>
<div>On 2013-01-15, at 2:16 AM, 山中 琢</div>
<div> <<a href="mailto:takuyama@med.hokudai.ac.jp">takuyama@med.hokudai.ac.jp</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Hello GATE users,<br>
<br>
I've been working on the rotation of the source.<br>
I checked through the mailing list and found it should work with "attachTo" command.<br>
I tried it with a simple geometry, but never succeeded. Always only the phantom rotates and not the source.<br>
<br>
The old method using posrot1 and posrot2 worked but the theory behind it is still kinda confusing.<br>
<br>
My GATE is ver6.2, is there anyone who did rotate the source with "attachTo" command?<br clear="all">
<br>
Thanks.<br>
<br>
-- <br>
Hokkaido University, Graduate school of medicine, medical physics and engineering D1<br>
Taku Yamanaka<br>
<br>
<a href="mailto:takuyama@med.hokudai.ac.jp" target="_blank">takuyama@med.hokudai.ac.jp</a><br>
-- _______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</blockquote>
</div>
<br>
</div>
</body>
</html>