{"id":990,"date":"2016-05-02T16:37:46","date_gmt":"2016-05-02T14:37:46","guid":{"rendered":"http:\/\/www.htflux.com\/en\/?page_id=990"},"modified":"2017-07-17T14:13:36","modified_gmt":"2017-07-17T12:13:36","slug":"import-export-objects","status":"publish","type":"page","link":"https:\/\/www.htflux.com\/en\/documentation\/import-export-objects\/","title":{"rendered":"Import \/ export objects"},"content":{"rendered":"<h2>Importing and exporting objects<\/h2>\n<p>Another very powerful feature of HTflux is the import\/export object function. It allows you the export a geometric assembly along with the materials that are being used within this object. This enables you to add complex details to later simulations with just a single mouse click. This way you can build up a library of ready-to-use elements, which can speed up later projects greatly. The library can contain elements like window-frames, floor constructions or wall constructions.<br \/>\nWhen you export the objects, they will be saved in a proprietary file format having a &#8220;.htg&#8221; extension. You could also share these files with other HTflux users.<\/p>\n<h3>Import objects<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-935\" src=\"http:\/\/www.htflux.com\/en\/wp-content\/uploads\/sites\/4\/2016\/04\/Button-Import-Object.png\" alt=\"Button-Import-Object\" width=\"52\" height=\"70\" \/><\/p>\n<p>To import an object:<\/p>\n<ul>\n<li>push the<em> Import object<\/em> button on the drawing tool bar.<\/li>\n<li>select the object file that you want to import.<\/li>\n<li>the object will be imported to a predefined position and the move function will enable you to place it where ever you need it.<\/li>\n<li style=\"text-align: left;\">finalize the import with the return key.<\/li>\n<li style=\"text-align: left;\">optionally: make use of the <a title=\"Editing vertices\" href=\"http:\/\/www.htflux.com\/en\/documentation\/drawing\/editing-vertices\/\">edit vertices<\/a> function to fit the imported object to your project.<\/li>\n<\/ul>\n<p>Now the whole group containing the geometric elements as well as the materials used will be added to your project.<\/p>\n<p>Note:<\/p>\n<ul>\n<li>when importing an object if will snap to its reference point. The position of this point relative to the object can be defined while exporting an object.<\/li>\n<li>HTflux will preinstall some useful ready-made sample objects on your system (e.g. window-frame, heating-pipe, floor-construction). To easily get to these object type in the following path in the <em>open file dialog<\/em>:\u00a0 <strong>%programdata%\\htflux\\demo<\/strong><\/li>\n<\/ul>\n<p>This short video demonstrates the import process:<\/p>\n<div class=\"epyt-video-wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_30424\"  width=\"480\" height=\"360\"  data-origwidth=\"480\" data-origheight=\"360\" src=\"https:\/\/www.youtube.com\/embed\/PteDHVbjONk?enablejsapi=1&rel=0&autoplay=0&cc_load_policy=0&cc_lang_pref=&iv_load_policy=1&loop=0&fs=1&playsinline=0&autohide=2&theme=dark&color=red&controls=1&\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div>\n<h3>Export objects<\/h3>\n<p>To export an object:<\/p>\n<p><em>first create a group (omit these three steps if have created a group earlier):<\/em><\/p>\n<ul>\n<li>select all the objects that form your assembly to export<\/li>\n<li>in the <a title=\"Project manager\" href=\"http:\/\/www.htflux.com\/en\/documentation\/project-manager\/\">project manager<\/a> right-click on the selected objects<\/li>\n<li>select &#8220;Create group&#8221; to group the objects together<\/li>\n<\/ul>\n<p><em>export the group:<\/em><\/p>\n<ul>\n<li>right-click on the group that you want to export and select the item &#8220;export group&#8221; in the context menu<\/li>\n<li>use the left mouse button to set a reference point within the graphics window<br \/>\n<em>N.B. make sure to select an appropriate reference point, as this will make importing the object a lot easier (e.g. a corner)<\/em><\/li>\n<li>now the save file dialog will appear. Select an appropriate name and directory for your object.<\/li>\n<\/ul>\n<p>Watch the following short video to see the process:<\/p>\n<div class=\"epyt-video-wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_59135\"  width=\"480\" height=\"270\"  data-origwidth=\"480\" data-origheight=\"270\" src=\"https:\/\/www.youtube.com\/embed\/iTiB0dSEOOQ?enablejsapi=1&rel=0&autoplay=0&cc_load_policy=0&cc_lang_pref=&iv_load_policy=1&loop=0&fs=1&playsinline=0&autohide=2&theme=dark&color=red&controls=1&\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Importing and exporting objects Another very powerful feature of HTflux is the import\/export object function. It allows you the export a geometric assembly along with the materials that are being used within this object. This enables you to add complex details to later simulations with just a single mouse click. This way you can build [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":423,"menu_order":0,"comment_status":"open","ping_status":"open","template":"pageTemp-userGuide_NEW.php","meta":{"footnotes":""},"class_list":["post-990","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/comments?post=990"}],"version-history":[{"count":9,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/990\/revisions"}],"predecessor-version":[{"id":992,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/990\/revisions\/992"}],"up":[{"embeddable":true,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/423"}],"wp:attachment":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/media?parent=990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}