{"id":26157,"date":"2014-09-04T00:00:00","date_gmt":"2014-09-04T00:00:00","guid":{"rendered":"https:\/\/www.visualarq.com\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/"},"modified":"2014-09-04T00:00:00","modified_gmt":"2014-09-04T00:00:00","slug":"can-i-put-the-object-dimensions-or-other-information-inside-tags","status":"publish","type":"tip","link":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/","title":{"rendered":"Is it possible to display the object dimensions or other information inside tags?"},"content":{"rendered":"<p>Yes, it is. Tag objects can display other information about the object they refer to, besides the object tag&#8217;s name.<\/p>\r\n<p>For example, inside a window or door tag label\u00a0you can display\u00a0its width and height values.<\/p>\r\n<p>The text displayed in the tag is edited in the <strong>Format<\/strong> field, in the Tag properties panel.<\/p>\r\n<p>Tag objects use a special syntax to get values from the tagged object and display them. The syntax is made of blocks like this one: <strong>%&lt;<\/strong><em>data to get from the element<\/em><strong>&gt;%<\/strong><\/p>\r\n<p>Inside each block the word &#8220;element&#8221; is used to refer to the tagged object, followed by a dot (.) to access one of its properties. For example, by default it takes the value of the Tag property of the object: <code>%&lt;element.tag&gt;%<\/code><\/p>\r\n<p>As you will see below many syntax blocks can be used in combination with regular text to get the desired result.<\/p>\r\n<hr class=\"separator\">\r\n<h2>Displaying a single property<\/h2> \r\n<p>For a door whose tag value is &#8220;D1&#8221;, you can type &#8220;<code>Door %&lt;element.tag&gt;%<\/code>&#8221; to display &#8220;Door D1&#8221; in the label.<\/p>\r\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.visualarq.com\/wp-content\/uploads\/2014\/09\/VisualARQ_Door_Tag_Value-1.png\" alt=\"VisualARQ door properties panel with the tag field highlighted and with a value of D1\" width=\"339\" height=\"237\" class=\"aligncenter size-full wp-image-19789\" srcset=\"https:\/\/www.visualarq.com\/wp-content\/uploads\/2014\/09\/VisualARQ_Door_Tag_Value-1.png 339w, https:\/\/www.visualarq.com\/wp-content\/uploads\/2014\/09\/VisualARQ_Door_Tag_Value-1-300x210.png 300w\" sizes=\"(max-width: 339px) 100vw, 339px\" \/>\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10074\" alt=\"tags\" src=\"https:\/\/www.visualarq.com\/wp-content\/uploads\/2018\/12\/tags.png\" width=\"350\" height=\"150\" \/>\r\n<p>If you change the value of the Tag field from the Properties panel, the Tab object will display the new value.<\/p>\r\n<p>If you want to show a different information in the tag object just replace the &#8220;tag&#8221; word in <code>%&lt;element.<strong>tag<\/strong>&gt;%<\/code> for another property of the tagged object. For example in the case of the door you could use &#8220;width&#8221;, &#8220;elevation&#8221;, etc.<\/p>\r\n<p>In case you want to display a property whose name is made of more than one word make sure to use <a href=\"https:\/\/en.wikipedia.org\/wiki\/Camel_case\" target=\"_blank\" rel=\"noopener noreferrer\">camel case notation<\/a>. For example if you want to display the &#8220;Alignment Offset&#8221; property of the door you have to use &#8220;alignmentOffset&#8221;.<\/p>\r\n\r\n<hr class=\"separator\">\r\n\r\n<h2>Displaying multiple properties<\/h2>\r\n<p>If you want to display the width and height of a door inside a tag object, as well as the Tag value of the door, you have to use multiple syntax blocks %&lt; &gt;%, and optionally use regular text around to get the desired result.<\/p>\r\n<p>It would look like this: <code>%&lt;element.tag&gt;% (%&lt;element.width&gt;% x %&lt;element.height&gt;%)<\/code>, and the tag object would display for example this: &#8220;P1 (1.000 x 2.200)&#8221;.\r\n<\/p>\r\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10075\" alt=\"Door tag\" src=\"https:\/\/www.visualarq.com\/wp-content\/uploads\/2018\/12\/Door-tag.jpg\" width=\"528\" height=\"302\" \/>\r\n<blockquote><p><strong>Note<\/strong><\/p><p>Number values cannot be formatted, they will have the display precision defined in the document. To change it globally go to Rhino Options > Document Properties > Units > Display precision.<\/p><\/blockquote>\r\n\r\n<hr class=\"separator\">\r\n\r\n<h2>Common properties to display<\/h2>\r\n<p>Those would be some examples of the most common object properties to display inside tags:<\/p>\r\n<table>\r\n  <tr>\r\n    <th>Property<\/th>\r\n    <th>Syntax<\/th>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Height<\/td>\r\n    <td><code>%&lt;element.height&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Width<\/td>\r\n    <td><code>%&lt;element.width&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Elevation<\/td>\r\n    <td><code>%&lt;element.elevation&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Name<\/td>\r\n    <td><code>%&lt;element.name&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Area<\/td>\r\n    <td><code>%&lt;element.area&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Volume<\/td>\r\n    <td><code>%&lt;element.volume&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Length<\/td>\r\n    <td><code>%&lt;element.length&gt;%<\/code><\/td>\r\n  <\/tr>\r\n<\/table>\r\n\r\n<hr class=\"separator\">\r\n\r\n<h2>Displaying nested properties<\/h2>\r\n<p>The object properties that we have seen so far are accessible just by adding one word after &#8220;element&#8221; because those were properties of the element itself. However in some cases you will have to access the value of a property that is nested two levels, in other words, a property of another property. In those cases you just have to add to the dot (.) notation chain the new property.<\/p>\r\n<p>The most common examples are:<\/p>\r\n<table>\r\n  <tr>\r\n    <th>Property<\/th>\r\n    <th>Syntax<\/th>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Name of the style<\/td>\r\n    <td><code>%&lt;element.style.name&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Name of the profile<\/td>\r\n    <td><code>%&lt;element.profile.name&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Type of profile<\/td>\r\n    <td><code>%&lt;element.profile.type&gt;%<\/code><\/td>\r\n  <\/tr>\r\n  <tr>\r\n    <td>Position coordinate<\/td>\r\n    <td><code>%&lt;element.position.z&gt;%<\/code><\/td>\r\n  <\/tr>\r\n<\/table>\r\n\r\n<hr class=\"separator\">\r\n\r\n<h2>Is it possible to add multi-line text inside tags?<\/h2>\r\n<p>No, it isn&#8217;t. At the moment it is only possible to display the information inside the tag label in one single line. In future versions of VisualARQ, it will be possible to add multi-line text.<\/p>","protected":false},"featured_media":2105,"parent":0,"menu_order":0,"template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"tipgroup":[156],"class_list":["post-26157","tip","type-tip","status-publish","has-post-thumbnail","hentry","tipgroup-tags-zh-hans"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Is it possible to display the object dimensions or other information inside tags? - VisualARQ<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Is it possible to display the object dimensions or other information inside tags? - VisualARQ\" \/>\n<meta property=\"og:description\" content=\"Yes, it is. Tag objects can display other information a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/\" \/>\n<meta property=\"og:site_name\" content=\"VisualARQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/visualarq\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.visualarq.com\/wp-content\/uploads\/2014\/09\/VisualARQ_Door_Tag_Value-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@VisualARQ\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/\",\"url\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/\",\"name\":\"Is it possible to display the object dimensions or other information inside tags? - VisualARQ\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.visualarq.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Door-tag.jpg\",\"datePublished\":\"2014-09-04T00:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.visualarq.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Door-tag.jpg\",\"contentUrl\":\"https:\\\/\\\/www.visualarq.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Door-tag.jpg\",\"width\":528,\"height\":302},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/can-i-put-the-object-dimensions-or-other-information-inside-tags\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tips\",\"item\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/support\\\/tip\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Is it possible to display the object dimensions or other information inside tags?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/#website\",\"url\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/\",\"name\":\"VisualARQ\",\"description\":\"Flexible BIM for Rhino\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.visualarq.com\\\/zh-hans\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Is it possible to display the object dimensions or other information inside tags? - VisualARQ","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/","og_locale":"zh_CN","og_type":"article","og_title":"Is it possible to display the object dimensions or other information inside tags? - VisualARQ","og_description":"Yes, it is. Tag objects can display other information a [&hellip;]","og_url":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/","og_site_name":"VisualARQ","article_publisher":"https:\/\/www.facebook.com\/visualarq","og_image":[{"url":"https:\/\/www.visualarq.com\/wp-content\/uploads\/2014\/09\/VisualARQ_Door_Tag_Value-1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@VisualARQ","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/","url":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/","name":"Is it possible to display the object dimensions or other information inside tags? - VisualARQ","isPartOf":{"@id":"https:\/\/www.visualarq.com\/zh-hans\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/#primaryimage"},"image":{"@id":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/#primaryimage"},"thumbnailUrl":"https:\/\/www.visualarq.com\/wp-content\/uploads\/2018\/12\/Door-tag.jpg","datePublished":"2014-09-04T00:00:00+00:00","breadcrumb":{"@id":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/#primaryimage","url":"https:\/\/www.visualarq.com\/wp-content\/uploads\/2018\/12\/Door-tag.jpg","contentUrl":"https:\/\/www.visualarq.com\/wp-content\/uploads\/2018\/12\/Door-tag.jpg","width":528,"height":302},{"@type":"BreadcrumbList","@id":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/can-i-put-the-object-dimensions-or-other-information-inside-tags\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.visualarq.com\/zh-hans\/home\/"},{"@type":"ListItem","position":2,"name":"Tips","item":"https:\/\/www.visualarq.com\/zh-hans\/support\/tip\/"},{"@type":"ListItem","position":3,"name":"Is it possible to display the object dimensions or other information inside tags?"}]},{"@type":"WebSite","@id":"https:\/\/www.visualarq.com\/zh-hans\/#website","url":"https:\/\/www.visualarq.com\/zh-hans\/","name":"VisualARQ","description":"Flexible BIM for Rhino","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.visualarq.com\/zh-hans\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"}]}},"_links":{"self":[{"href":"https:\/\/www.visualarq.com\/zh-hans\/wp-json\/wp\/v2\/tip\/26157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.visualarq.com\/zh-hans\/wp-json\/wp\/v2\/tip"}],"about":[{"href":"https:\/\/www.visualarq.com\/zh-hans\/wp-json\/wp\/v2\/types\/tip"}],"version-history":[{"count":0,"href":"https:\/\/www.visualarq.com\/zh-hans\/wp-json\/wp\/v2\/tip\/26157\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.visualarq.com\/zh-hans\/wp-json\/wp\/v2\/media\/2105"}],"wp:attachment":[{"href":"https:\/\/www.visualarq.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=26157"}],"wp:term":[{"taxonomy":"tipgroup","embeddable":true,"href":"https:\/\/www.visualarq.com\/zh-hans\/wp-json\/wp\/v2\/tipgroup?post=26157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}