<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to rotate custom library parts in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211917#M17111</link>
    <description>Yes. In the object's 3D Script type one of the following to say rotate the object over an axis 90 degrees:&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ROTX 90&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ROTY 90&lt;E&gt;&lt;/E&gt; &lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ROTZ 90&lt;E&gt;&lt;/E&gt; &lt;BR /&gt;
&lt;BR /&gt;
Very simple and listed in the Help Menu&amp;gt;GDL Reference Guide (Coordinate Transformations) page 30 for these specific commands in the 14 version.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16712i14A376862B419749/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Rotate GDL Object.jpg" title="Rotate GDL Object.jpg" /&gt;</description>
    <pubDate>Tue, 10 May 2011 04:08:28 GMT</pubDate>
    <dc:creator>NCornia</dc:creator>
    <dc:date>2011-05-10T04:08:28Z</dc:date>
    <item>
      <title>How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211916#M17110</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi there masters &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
I did create a library part of a spider fixing and I would like it to be able to rotate along the X or Y axes to align it with the glass and beam.&lt;BR /&gt;
Is it possible?&lt;BR /&gt;
&lt;BR /&gt;
See attached image for reference&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/73747i4F83AE525C378358/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Spider.jpg" title="Spider.jpg" /&gt;</description>
      <pubDate>Tue, 10 May 2011 03:15:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211916#M17110</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-10T03:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211917#M17111</link>
      <description>Yes. In the object's 3D Script type one of the following to say rotate the object over an axis 90 degrees:&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ROTX 90&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ROTY 90&lt;E&gt;&lt;/E&gt; &lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ROTZ 90&lt;E&gt;&lt;/E&gt; &lt;BR /&gt;
&lt;BR /&gt;
Very simple and listed in the Help Menu&amp;gt;GDL Reference Guide (Coordinate Transformations) page 30 for these specific commands in the 14 version.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16712i14A376862B419749/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Rotate GDL Object.jpg" title="Rotate GDL Object.jpg" /&gt;</description>
      <pubDate>Tue, 10 May 2011 04:08:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211917#M17111</guid>
      <dc:creator>NCornia</dc:creator>
      <dc:date>2011-05-10T04:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211918#M17112</link>
      <description>Thanks Nicholas.&lt;BR /&gt;
&lt;BR /&gt;
I did try and read the manual too. I'm currently on a project on AC12 FYI.&lt;BR /&gt;
Doing it this way it looks to me that you can only change the angle of the whole library part, therefore you don't have the option to change it in the settings.&lt;BR /&gt;
If that's correct and you have several angles that you need to apply to the library part, you'd need to have as many library parts as many different angles you have.&lt;BR /&gt;
&lt;BR /&gt;
Another thing I noticed is that the angle is rotating the library part around the global axis, not the axis relative to the library part itself... can I change that?</description>
      <pubDate>Tue, 10 May 2011 04:48:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211918#M17112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-10T04:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211919#M17113</link>
      <description>...another thing I just noticed is that the plan view of the library part moves and it's not aligned to the 3D object...</description>
      <pubDate>Tue, 10 May 2011 04:57:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211919#M17113</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-10T04:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211920#M17114</link>
      <description>I noticed also that there is a parameter where you can specify angles but I can't find how it works properly. If I put a value (e.g.: 6.75), the library part doesn't rotate, though, if I also add the ROTX on the 3D script of an equal value (6.75) the library part still doesn't rotate, cancelling therefore the 3D script instructions...!?</description>
      <pubDate>Tue, 10 May 2011 05:18:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211920#M17114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-10T05:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211921#M17115</link>
      <description>&lt;BLOCKQUOTE&gt;Deviz wrote:&lt;BR /&gt;I did create a library part of a spider fixing and I would like it to be able to rotate along the X or Y axes to align it with the glass and beam.&lt;BR /&gt;
Is it possible?&lt;/BLOCKQUOTE&gt;
This is easy to do with &lt;A href="http://encina.co.uk/objective.html" target="_blank"&gt;OBJECTiVE&lt;/A&gt;. It will both upgrade your objects with rotation properties and give you the tools to do it. Referring to the attached image:&lt;UL&gt;&lt;LI&gt;1. The 3D view before rotation.&lt;BR /&gt;
&lt;BR /&gt;
2. Open a section view, select the object(s) to rotate (you can rotate one or many objects about a common axis), click the menu &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;OBJECTiVE &amp;gt; Tools &amp;gt; Rotate&lt;E&gt;&lt;/E&gt;, and rotate just as you would in the Floor Plan (define start and sweep angles).&lt;BR /&gt;
&lt;BR /&gt;
3. The finished rotation in section&lt;BR /&gt;
&lt;BR /&gt;
4. And in 3D.&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/15393i1BD02BF93A996FA4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Spider.jpg" title="Spider.jpg" /&gt;</description>
      <pubDate>Tue, 10 May 2011 09:06:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211921#M17115</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2011-05-10T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211922#M17116</link>
      <description>&lt;BLOCKQUOTE&gt;Deviz wrote:&lt;BR /&gt;Doing it this way it looks to me that you can only change the angle of the whole library part, therefore you don't have the option to change it in the settings.&lt;BR /&gt;
If that's correct and you have several angles that you need to apply to the library part, you'd need to have as many library parts as many different angles you have.&lt;/BLOCKQUOTE&gt;

&lt;BLOCKQUOTE&gt;Deviz wrote:&lt;BR /&gt;I noticed also that there is a parameter where you can specify angles but I can't find how it works properly. If I put a value (e.g.: 6.75), the library part doesn't rotate, though, if I also add the ROTX on the 3D script of an equal value (6.75) the library part still doesn't rotate, cancelling therefore the 3D script instructions...!?&lt;/BLOCKQUOTE&gt;

You need to create a parameter for the rotation (one for each axis), and add to the 3D script the &lt;FONT color="blue"&gt;ROT&lt;/FONT&gt; command, using the value of this parameter, for the object to be parametric.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Deviz wrote:&lt;BR /&gt;Another thing I noticed is that the angle is rotating the library part around the global axis, not the axis relative to the library part itself... can I change that?&lt;/BLOCKQUOTE&gt;

Yes, you need to move the local origin with &lt;FONT color="blue"&gt;ADD&lt;/FONT&gt; command to determine the point of rotation.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Deviz wrote:&lt;BR /&gt;...another thing I just noticed is that the plan view of the library part moves and it's not aligned to the 3D object...&lt;/BLOCKQUOTE&gt;

Yes, the 2D and 3D Scripts are separate, so they need to be written to coordinate with each other.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Tue, 10 May 2011 11:55:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211922#M17116</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2011-05-10T11:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211923#M17117</link>
      <description>See this article on ArchiWiki:&lt;BR /&gt;
&lt;A href="http://www.archicadwiki.com/RotateObjectInSpace" target="_blank"&gt;http://www.archicadwiki.com/RotateObjectInSpace&lt;/A&gt;</description>
      <pubDate>Tue, 10 May 2011 12:56:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211923#M17117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-10T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211924#M17118</link>
      <description>Thank you Ralph,&lt;BR /&gt;
&lt;BR /&gt;
I did not know of that application. I wonder why some basic tools of it (like rotating an object in 3D graphically rather than editing scripts) are not embedded into ArchiCAD itself. Though it's an amazing software and I'll push for it to be purchased by our firm.&lt;BR /&gt;
&lt;BR /&gt;
Thank you David and Andro55 too for your help.&lt;BR /&gt;
&lt;BR /&gt;
Your link has been very useful and now the library part rotate beautifully. Will attach a picture of the final result FYI &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
One last thing I need to ask though. Applying those changes to the scripts, made me lose the hot-spots that I had in my 2D symbol, which now only has the standard 5 points (one on each cnr and a center one)&lt;BR /&gt;
Is there anything else I should have done to my library part?&lt;BR /&gt;
&lt;BR /&gt;
Cheers</description>
      <pubDate>Wed, 11 May 2011 00:37:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211924#M17118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-11T00:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to rotate custom library parts</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211925#M17119</link>
      <description>&lt;BLOCKQUOTE&gt;Deviz wrote:&lt;BR /&gt;One last thing I need to ask though. Applying those changes to the scripts, made me lose the hot-spots that I had in my 2D symbol, which now only has the standard 5 points (one on each cnr and a center one)&lt;BR /&gt;
Is there anything else I should have done to my library part?&lt;/BLOCKQUOTE&gt;

This is one of the downsides to using the &lt;FONT color="blue"&gt;PROJECT2&lt;/FONT&gt; command for the 2D symbol, it is a 3D projection of the object so it does not have any custom hotspots, just the default "box". In order to have custom hotspots that change position correctly as the object is rotated, these points need to be calculated in the 2D Script using geometry and the &lt;FONT color="blue"&gt;Hotspot2&lt;/FONT&gt; command.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 11 May 2011 11:23:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-rotate-custom-library-parts/m-p/211925#M17119</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2011-05-11T11:23:09Z</dc:date>
    </item>
  </channel>
</rss>

