<?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: View name or ID request in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119272#M23076</link>
    <description>Zslot&lt;BR /&gt;
&lt;BR /&gt;
That is pretty much the same idea I had for 13 but as Erich said they are still on 12!&lt;BR /&gt;
13's new model view options for library parts will open up so many options for exactly this sort of stuff.&lt;BR /&gt;
I'm looking forward to getting in and having a serious play with it all!</description>
    <pubDate>Mon, 19 Oct 2009 07:55:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-19T07:55:51Z</dc:date>
    <item>
      <title>View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119261#M23065</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am hoping to revise my zone stamp to allow it to move to different x/y locations depending on the current saved view (ie floor plan, finish plan, electrical plan, etc) so that it can be moved out of the way of notes and symbols in one view and not affect the others.  &lt;BR /&gt;
&lt;BR /&gt;
In theory, this is fairly easy, however to do this I need to find a way to reference a saved view name or id. Looking through the GDL manual it does not appear that to be a request that can be used for this but I am hoping I am wrong. Does anyone know of a method? Can this be done?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Oct 2009 04:59:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119261#M23065</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2009-10-17T04:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119262#M23066</link>
      <description>I haven't studied all of the new command structures that were added in AC13 yet, but AFAIK there isn't an easy way to do this...&lt;BR /&gt;
&lt;BR /&gt;
In the past, I have managed to use some of the Model View Options and/or scale factors to change the appearance of the Zone Stamp. I have been asking for the ability to request and/or call Layers and Layer Combinations  forever. Still waiting. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sat, 17 Oct 2009 13:11:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119262#M23066</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2009-10-17T13:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119263#M23067</link>
      <description>David,&lt;BR /&gt;
&lt;BR /&gt;
Yes, I too have adjusted object and stamp appearance based on MVO options or scale but not based on a saved view. I will play with it some more this weekend and see what I can come up with. I am beginning to think that perhaps autotext might offer a means to address this. Has anyone done this successfully?</description>
      <pubDate>Sat, 17 Oct 2009 13:48:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119263#M23067</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2009-10-17T13:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119264#M23068</link>
      <description>It can be done thanks to the new LibraryGlobals.&lt;BR /&gt;
1 Create a new libraryglobal "YourLibraryGlobalName"(choose subtype Drawing symbol/Library Global Settings).&lt;BR /&gt;
2 Make a parameter for instance BooleanUseOffset, write a UI in the library global.&lt;BR /&gt;
&lt;BR /&gt;
UI_INFIELD{3}	"BooleanUseOffset", 10, 10,	265, 18,&lt;BR /&gt;
		7, "", 2, 1, 0, 0, 0, 0,&lt;BR /&gt;
		1, `Use offset`, 0,&lt;BR /&gt;
		2, `Use offset`, 1&lt;BR /&gt;
&lt;BR /&gt;
3 Then in the zone you create your offset script.&lt;BR /&gt;
Before that you write this:&lt;BR /&gt;
success = LIBRARYGLOBAL ("YourLibraryGlobalName", "BooleanUseOffset", reqBooleanUseOffset)&lt;BR /&gt;
IF success &amp;gt; 0 AND reqBooleanUseOffset THEN&lt;BR /&gt;
&lt;BR /&gt;
!here comes your offset script&lt;BR /&gt;
&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
So now when you set the offset on in the Model View Options Combination you will get the offset, and otherwise the original position. Note that this way you can only modify the offset when it is turned on in the MVOC.</description>
      <pubDate>Sat, 17 Oct 2009 13:58:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119264#M23068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-17T13:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119265#M23069</link>
      <description>Yeah...but I am using AC 12 not 13.</description>
      <pubDate>Sat, 17 Oct 2009 16:27:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119265#M23069</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2009-10-17T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119266#M23070</link>
      <description>In case of AC 12 you can &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;abuse &lt;E&gt;&lt;/E&gt;the Story view point type, which is the predecessor of the Library Global. No need to create a libraryglobal, just do a request in the zone.&lt;BR /&gt;
&lt;BR /&gt;
success  = request("Floor_Plan_Option", "", reqBooleanUseOffset )&lt;BR /&gt;
IF success &amp;gt; 0 AND reqBooleanUseOffset THEN&lt;BR /&gt;
&lt;BR /&gt;
!here comes your offset script&lt;BR /&gt;
&lt;BR /&gt;
ENDIF &lt;BR /&gt;
&lt;BR /&gt;
Advantage of this request is that is stored with each view. I hope this will work for you.</description>
      <pubDate>Sat, 17 Oct 2009 19:39:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119266#M23070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-17T19:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119267#M23071</link>
      <description>As I understand the Floor_Plan_Option, and I have used it for a number of objects previously, it will only work with the Story Viewpoint Type under the GDL Options of the Model View Options. This works great if you need a different view of the object in a ceiling plan view as opposed to a floor plan view. However, if you have two different floor plan views (say a finish plan and an electrical plan) then this does not work. &lt;BR /&gt;
&lt;BR /&gt;
Mostly I was hoping against hope that there might be an option I have missed.</description>
      <pubDate>Sat, 17 Oct 2009 21:28:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119267#M23071</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2009-10-17T21:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119268#M23072</link>
      <description>Erich&lt;BR /&gt;
&lt;BR /&gt;
I have created something similar here for and have used a mix of CONSTR_FILLS_DISPLAY, WINDOW_DOOR_SHOW_DIM and FLOOR_PLAN_OPTION. This has given us the ability to have 4 different plan locations from the one object.&lt;BR /&gt;
&lt;BR /&gt;
This is the guide I use in the 2D script.&lt;BR /&gt;
!!!!CON_FILLS_DISPLAY GUIDE!!!!&lt;BR /&gt;
!4 = Brochure Plan&lt;BR /&gt;
!6 = Floor Plan&lt;BR /&gt;
!1 = Elec Plan&lt;BR /&gt;
!6 = Sketch + Ceiling Plan (floor_op = 1)</description>
      <pubDate>Mon, 19 Oct 2009 00:42:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119268#M23072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-19T00:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119269#M23073</link>
      <description>Kristian,&lt;BR /&gt;
&lt;BR /&gt;
Interesting thought for a work around the problem. While it is not universal, it could work for the way we set up our drawings with some consideration. &lt;BR /&gt;
&lt;BR /&gt;
Thanks for the idea. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 19 Oct 2009 02:51:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119269#M23073</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2009-10-19T02:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119270#M23074</link>
      <description>Erich&lt;BR /&gt;
&lt;BR /&gt;
Yeah it certainly isn't a universal solution but our company is lucky in that we have a very refined company template so it gives me the ability to create library parts like this knowing it is going to work on every project!&lt;BR /&gt;
&lt;BR /&gt;
No worries at all, good luck.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 19 Oct 2009 03:42:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119270#M23074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-19T03:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119271#M23075</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
There's no direct support for creating view dependent displacement - but I think I have a workaround in v13. You define a view class parameter in your library global object. This can be anything but I advise you to pair it with positive integer numbers starting from 1. This way you can request this value in your stamp objects and use it as an index in a coordinate array.&lt;BR /&gt;
&lt;BR /&gt;
Something like this is on my mind:&lt;BR /&gt;

&lt;PRE&gt;dummy = LIBRARYGLOBAL(yourobject, yourIntParamName, iViewClass)
...
hotspot2 0, 0, ..., xOffsets[iViewClass], ...
hotspot2 -1, 0, ..., xOffsets[iViewClass], ...
hotspot2 xOffsets[iViewClass], yOffsets[iViewClass], ..., xOffsets[iViewClass], ...
hotspot2 0, 0, ..., yOffsets[iViewClass], ...
hotspot2 0, -1, ..., yOffsets[iViewClass], ...
hotspot2 xOffsets[iViewClass], yOffsets[iViewClass], ..., yOffsets[iViewClass], ...
&lt;/PRE&gt;

There is one important thing though. You have to communicate the difference between the two kind of dragging of zone stamps to your users. The 'built-in' drag moves the stamp in all views and the 'editable-hotspot-based' drag moves the stamp in the active view category only. It's easy to mess up but can be used with some extra care.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Zsolt</description>
      <pubDate>Mon, 19 Oct 2009 07:38:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119271#M23075</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2009-10-19T07:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119272#M23076</link>
      <description>Zslot&lt;BR /&gt;
&lt;BR /&gt;
That is pretty much the same idea I had for 13 but as Erich said they are still on 12!&lt;BR /&gt;
13's new model view options for library parts will open up so many options for exactly this sort of stuff.&lt;BR /&gt;
I'm looking forward to getting in and having a serious play with it all!</description>
      <pubDate>Mon, 19 Oct 2009 07:55:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119272#M23076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-19T07:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119273#M23077</link>
      <description>Zsolt,&lt;BR /&gt;
&lt;BR /&gt;
That is great to hear, that will work quite well, at least once we are able upgrade. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Thanks for the feedback it gives us something to look forward to.&lt;BR /&gt;
&lt;BR /&gt;
Until then I will just have to make do with the work around.</description>
      <pubDate>Tue, 20 Oct 2009 03:14:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119273#M23077</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2009-10-20T03:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119274#M23078</link>
      <description>Maybe it too late since you are upgrading to 13, but I thought of a nice way to get the zone marker offset.&lt;BR /&gt;
Instead of moving the zone marker you LABEL the zone. The label can extract any information of the zone. It is placed on a layer, so you can use layer combinations. To avoid double markers you can turn off the zone-marker with the MVOC.</description>
      <pubDate>Wed, 28 Oct 2009 06:53:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119274#M23078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-28T06:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119275#M23079</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I think this not possible- the zone is some kind of label itself &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_eek.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Neither requesting "ASSOCLP_PARVALUE" works on zones.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Master wrote:&lt;BR /&gt;Instead of moving the zone marker you LABEL the zone. The label can extract any information of the zone.&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 28 Oct 2009 21:30:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119275#M23079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-28T21:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119276#M23080</link>
      <description>There is this code with which an object (or a label) can request information of the zone it is in. Ok, it cannot request all parameters but it can request the name/category/code/name/number. &lt;BR /&gt;
(I was creating a new label, so I got a bit carried away  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt;  )&lt;BR /&gt;

&lt;PRE&gt;REQUEST ("Zone_relations", "", category_name, code, name, number)
&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Oct 2009 21:40:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119276#M23080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-28T21:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119277#M23081</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Yes those are the extractable infos and only works inside the zone.&lt;BR /&gt;
&lt;BR /&gt;
Would be fine if could be placed outside the room.</description>
      <pubDate>Wed, 28 Oct 2009 21:52:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119277#M23081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-28T21:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119278#M23082</link>
      <description>Yes, they only work when the middle of the object is inside (or close to) the zone.&lt;BR /&gt;
&lt;BR /&gt;
But . . . you can place a hotspot-object with only a hotspot or so inside the zone, let that put the zone information in a parameter and then label that hotspot-object. That label requests that particular parameter of the hotspot-object.&lt;BR /&gt;
A bit far-fetched but it might work.</description>
      <pubDate>Wed, 28 Oct 2009 22:12:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119278#M23082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-28T22:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: View name or ID request</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119279#M23083</link>
      <description>The other option for moving a label outside of the zone is to push the zname to a parameter and then have an if statement for if the zname = "" then the text output = your parameter.&lt;BR /&gt;
That's my work around anyway!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 29 Oct 2009 02:21:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/View-name-or-ID-request/m-p/119279#M23083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-29T02:21:54Z</dc:date>
    </item>
  </channel>
</rss>

