{"id":367,"date":"2013-06-18T17:45:07","date_gmt":"2013-06-18T17:45:07","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=367"},"modified":"2022-02-03T11:25:04","modified_gmt":"2022-02-03T17:25:04","slug":"annotation-in-autoplant","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/","title":{"rendered":"Annotation in AutoPlant"},"content":{"rendered":"<p>This is the process I used to find out how the annotation Instrument Balloons function works:<\/p>\n<ol>\n<li>started by opening\u00a0tools-&gt;customize-&gt;interface to find the function name for the menu button &#8220;Instrument Balloons&#8230;&#8221;. I found the function &#8220;AT_Annot_InstrBubble&#8221; was accociated with the menu button.<\/li>\n<li>After searching for the function I found it in C:\\ProgramData\\Bentley\\Plant V8i\\elect\\at_elect.mnl, which is a LISP file, the function was contained within lines such as &#8220;Line 473: (defun c:AT_Annot_InstrBubble_T1\u00a0\u00a0 ()\u00a0 (at_Piping_annotateComponent &#8220;InstrumentBubble_T1&#8243;)\u00a0 (princ))&#8221;.<\/li>\n<li>By searching for &#8220;InstrumentBubble_T1&#8221; I was able to find the file annotate.ini under C:\\Program Files (x86)\\Bentley\\Plant V8i\\Config\\metric\\piping (metric is unit system your drawings are set in, can also be imperial or mmetric), this ini file contained the classes for &#8220;InstrumentBubble_T1&#8221;<\/li>\n<li>the only line that contains a function call is the &#8220;textFunction = at_Component_annotateInstrumentBubble&#8221;, there are 2 files that contain this function. The first is Annotate.ebs, this has the function definition of at_Component_annotateInstrumentBubble and other annotate functions. The second file is methodes.ini under \u00a0C:\\Program Files (x86)\\Bentley\\Plant V8i\\Modules\\Base. The methods.ini file shows that at_Component_annotateInstrumentBubble is related to the Ann_InstrumentBubble_Method, which is part of the overall base commponents method.<\/li>\n<li>To find which\u00a0sub methodes are used I went into the respective files and in each function I placed a message box outputing the function name. Running the desired function I determined that 2 functions from this method were called, then other functions I haven&#8217;t been able to Identify run afterwords (these functions are not part of the Base_Component_Method). The functions that I can identify create the first dialog box, the functions that run after the dialog box open a second dialog box then draw the annotation.<\/li>\n<li>Base_Component_Method acts as the method key for the parent class of each module such as HVAC or CableT.There are no functions in this method key that contain a draw function or call a draw function.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This is the process I used to find out how the annotation Instrument Balloons function works: started by opening\u00a0tools-&gt;customize-&gt;interface to find the function name for the menu button &#8220;Instrument Balloons&#8230;&#8221;. I found the function &#8220;AT_Annot_InstrBubble&#8221; was accociated with the menu button. After searching for the function I found it in C:\\ProgramData\\Bentley\\Plant V8i\\elect\\at_elect.mnl, which is a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,1],"tags":[],"class_list":["post-367","post","type-post","status-publish","format-standard","hentry","category-bentley-autoplant","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Annotation in AutoPlant - ELB Solutions.com Inc.<\/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:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Annotation in AutoPlant - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"This is the process I used to find out how the annotation Instrument Balloons function works: started by opening\u00a0tools-&gt;customize-&gt;interface to find the function name for the menu button &#8220;Instrument Balloons&#8230;&#8221;. I found the function &#8220;AT_Annot_InstrBubble&#8221; was accociated with the menu button. After searching for the function I found it in C:ProgramDataBentleyPlant V8ielectat_elect.mnl, which is a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2013-06-18T17:45:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:25:04+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Annotation in AutoPlant\",\"datePublished\":\"2013-06-18T17:45:07+00:00\",\"dateModified\":\"2022-02-03T17:25:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/\"},\"wordCount\":354,\"articleSection\":[\"B-AutoPLANT\",\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/\",\"name\":\"Annotation in AutoPlant - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2013-06-18T17:45:07+00:00\",\"dateModified\":\"2022-02-03T17:25:04+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/annotation-in-autoplant\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Annotation in AutoPlant\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Annotation in AutoPlant - ELB Solutions.com Inc.","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:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/","og_locale":"en_US","og_type":"article","og_title":"Annotation in AutoPlant - ELB Solutions.com Inc.","og_description":"This is the process I used to find out how the annotation Instrument Balloons function works: started by opening\u00a0tools-&gt;customize-&gt;interface to find the function name for the menu button &#8220;Instrument Balloons&#8230;&#8221;. I found the function &#8220;AT_Annot_InstrBubble&#8221; was accociated with the menu button. After searching for the function I found it in C:ProgramDataBentleyPlant V8ielectat_elect.mnl, which is a [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2013-06-18T17:45:07+00:00","article_modified_time":"2022-02-03T17:25:04+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Annotation in AutoPlant","datePublished":"2013-06-18T17:45:07+00:00","dateModified":"2022-02-03T17:25:04+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/"},"wordCount":354,"articleSection":["B-AutoPLANT","General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/","url":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/","name":"Annotation in AutoPlant - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2013-06-18T17:45:07+00:00","dateModified":"2022-02-03T17:25:04+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/annotation-in-autoplant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Annotation in AutoPlant"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":4,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"predecessor-version":[{"id":372,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/367\/revisions\/372"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}