<?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: Help needed with Object Label 12 in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151369#M25555</link>
    <description>Kliment,&lt;BR /&gt;
&lt;BR /&gt;
your very first line in 2D script should be this:&lt;BR /&gt;
IF label_custom_arrow THEN ADD2 label_position[2][1]+label_position[3][1]+symb_a_size/2,label_position[2][2]+label_position[3][2]+symb_b_size/2</description>
    <pubDate>Mon, 12 Jan 2009 03:53:51 GMT</pubDate>
    <dc:creator>Rob</dc:creator>
    <dc:date>2009-01-12T03:53:51Z</dc:date>
    <item>
      <title>Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151366#M25552</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I use Object Label 12 to place information abour the size of Objects in plan, usually for cabinets and tables. &lt;BR /&gt;
AC places it attached to the right upper corner at some strange distance from it! &lt;BR /&gt;
I want to have it placed in the centre of the object.&lt;BR /&gt;
Can anyone help?&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/72635iA74B6FFDA5C57738/image-size/large?v=v2&amp;amp;px=999" border="0" alt="labels.gif" title="labels.gif" /&gt;</description>
      <pubDate>Sat, 10 Jan 2009 11:18:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151366#M25552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-10T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151367#M25553</link>
      <description>I get what you want, whit Italian library. &lt;BR /&gt;
I only have to uncheck "use symbol's arrow" in the label parameters panel.&lt;BR /&gt;
&lt;BR /&gt;
But ... checking more, it turned out that, if I rotate the object by 180°, the label does not detect this, and I get the same result shown in your image.&lt;BR /&gt;
&lt;BR /&gt;
And, more over, the label is really centered ONLY if the placing hotspot (origin) is in the lower left corner.</description>
      <pubDate>Sun, 11 Jan 2009 10:52:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151367#M25553</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-01-11T10:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151368#M25554</link>
      <description>Thank you, Roberto!&lt;BR /&gt;
I saw that with some objects the label appeared in the center, but couldn't fing why! &lt;BR /&gt;
Alas, I walt to use the label exactly for objects with a center insertion point - lamps and switches! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sun, 11 Jan 2009 11:21:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151368#M25554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-11T11:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151369#M25555</link>
      <description>Kliment,&lt;BR /&gt;
&lt;BR /&gt;
your very first line in 2D script should be this:&lt;BR /&gt;
IF label_custom_arrow THEN ADD2 label_position[2][1]+label_position[3][1]+symb_a_size/2,label_position[2][2]+label_position[3][2]+symb_b_size/2</description>
      <pubDate>Mon, 12 Jan 2009 03:53:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151369#M25555</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2009-01-12T03:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151370#M25556</link>
      <description>Rob, I am afraid something is not working properly. Now the label goes to a certain position, but not in the center. The insertion piont of the object does not affect the positioning of the label.&lt;BR /&gt;
&lt;BR /&gt;
I used Object Label 12 with your line of script inserted as the first line of the 2D script.&lt;BR /&gt;
&lt;BR /&gt;
Please, see the attached picture:&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/10208i4106BD66580F64B1/image-size/large?v=v2&amp;amp;px=999" border="0" alt="labels 2.jpg" title="labels 2.jpg" /&gt;</description>
      <pubDate>Mon, 12 Jan 2009 07:47:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151370#M25556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-12T07:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151371#M25557</link>
      <description>Kliment,&lt;BR /&gt;
&lt;BR /&gt;
the problem is:&lt;BR /&gt;
the label anchor is ALWAYS pointed to local zero of an object. So in your case the chair has the local zero in the left bottom corner (open the chair script as check the 2D full view). &lt;BR /&gt;
&lt;BR /&gt;
So we have to move the label along X and Y by a half of the object's size each way (SYMB_A_SIZE/2 and SYMB_B_SIZE/2 respectively)&lt;BR /&gt;
&lt;BR /&gt;
Now if you rotate this system it does not work because when rot. angle = 0; deltaX= SYMB_A_SIZE/2 and deltaY=SYMB_B_SIZE/2, however if rot.angle=90; deltaX=SYMB_B_SIZE/2 and deltaY=SYMB_A_SIZE/2.&lt;BR /&gt;
&lt;BR /&gt;
in other words only if you had a lib part with centered 2D view it would work. I am pretty sure it could be resolved mathematically but it is not an easy task.&lt;BR /&gt;
&lt;BR /&gt;
Does it make a sense?</description>
      <pubDate>Mon, 12 Jan 2009 09:34:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151371#M25557</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2009-01-12T09:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151372#M25558</link>
      <description>Thank you, Rob! Everything is clear now! I'll have it in mind when I create new custom objects in the future!</description>
      <pubDate>Mon, 12 Jan 2009 12:10:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151372#M25558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-12T12:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151373#M25559</link>
      <description>I wonder if anyone else has noticed a change in AC12.  Before, you could associate a label to an element, the label was on it's own layer and could be shown independent.&lt;BR /&gt;
&lt;BR /&gt;
Now, even though a label is on an independent layer, it will NOT show unless the layer containing the ELEMENT that is is associated with is on.&lt;BR /&gt;
&lt;BR /&gt;
Anyone?&lt;BR /&gt;
&lt;BR /&gt;
Probably not a huge deal, but I had set up my layer combos to show only the clg ht tags (assoc. labels) without showing the ceilings they are assoc with for some structural base plans.</description>
      <pubDate>Tue, 13 Jan 2009 18:20:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151373#M25559</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2009-01-13T18:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151374#M25560</link>
      <description>Duane, I have gone back to 10 and its just the same there. If the element is hidden the associated label will be hidden. As far as I know this has always been the case (sorry this is a bit of duplication)</description>
      <pubDate>Sat, 17 Jan 2009 10:59:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151374#M25560</guid>
      <dc:creator>David Shorter</dc:creator>
      <dc:date>2009-01-17T10:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151375#M25561</link>
      <description>Here's a new one...&lt;BR /&gt;
&lt;BR /&gt;
Is there a GLOB_variable to tell whether the OPAQUE button is pushed in a LABEL?&lt;BR /&gt;
&lt;BR /&gt;
Rather than the cheesy "add my fill" parameters, I'd like to tap into the existing setting dialog....&lt;BR /&gt;
&lt;BR /&gt;
Anyone?</description>
      <pubDate>Thu, 28 Jul 2011 00:21:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151375#M25561</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2011-07-28T00:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151376#M25562</link>
      <description>I guess I need some help here... &lt;BR /&gt;
&lt;BR /&gt;
I am scripting an object (label) that is trying to read the GLOB_ID, Width and Height of the associated object...&lt;BR /&gt;
&lt;BR /&gt;
1.  Results are sketchy.. First it works, then it doesn't... Only open up the LABEL object and close and the display changes.&lt;BR /&gt;
&lt;BR /&gt;
2.  Open up the OBJECT, and the display changes back.&lt;BR /&gt;
&lt;BR /&gt;
3.  The one shown here tagged to the BASE CABINET shows correctly.&lt;BR /&gt;
&lt;BR /&gt;
4.  The one linked to the upper cabinet never shows correctly..&lt;BR /&gt;
     -  Either it shows correct WxH but no ID&lt;BR /&gt;
    - or it shows the ID but incorrect width...&lt;BR /&gt;
&lt;BR /&gt;
Any Help is greatly appreciated.  I should mention the STRING Calculation takes place in the PARAMETERS dialog... maybe that's a no-no?</description>
      <pubDate>Thu, 28 Jul 2011 02:17:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151376#M25562</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2011-07-28T02:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with Object Label 12</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151377#M25563</link>
      <description>Heres the object (wouldn't let me attach 2 items... then it attaches none..).</description>
      <pubDate>Thu, 28 Jul 2011 02:19:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Help-needed-with-Object-Label-12/m-p/151377#M25563</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2011-07-28T02:19:28Z</dc:date>
    </item>
  </channel>
</rss>

