{"id":106,"date":"2020-03-20T09:00:00","date_gmt":"2020-03-20T07:00:00","guid":{"rendered":"https:\/\/blogs.autodesk.com\/villagebim\/2020\/03\/script-dynamo-mise-a-jour-du-package-autodesk-steel-connections-2020.html"},"modified":"2021-02-04T20:07:28","modified_gmt":"2021-02-04T18:07:28","slug":"script-dynamo-mise-a-jour-du-package-autodesk-steel-connections-2020","status":"publish","type":"post","link":"https:\/\/blogs.autodesk.com\/villagebim\/2020\/03\/script-dynamo-mise-a-jour-du-package-autodesk-steel-connections-2020.html","title":{"rendered":"[Script Dynamo] Mise \u00e0 jour du package Autodesk Steel Connections 2020"},"content":{"rendered":"<p><a href=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b0240a512d3c3200b-pi\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image002\" border=\"0\" height=\"309\" src=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a438200c-pi\" style=\"background-image: none;margin-left: auto;margin-right: auto\" title=\"clip_image002\" width=\"454\" \/><\/a><\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Le package \u00ab <em><strong>Autodesk Steel Connections 2020<\/strong><\/em>\u00bb (dont vous trouverez <a href=\"https:\/\/villagebim.typepad.com\/villagebim\/2019\/06\/script-dynamo-nouveau-package-autodesk-steel-connections-2020.html\">la description et l\u2019utilisation<\/a> dans un de nos articles paru l\u2019ann\u00e9e derni\u00e8re) a \u00e9t\u00e9 mis \u00e0 jour (version 2020.2.118) r\u00e9cemment.<\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Cette mise \u00e0 jour permet au script Dynamo de charger des types d\u2019assemblages pr\u00e9configur\u00e9s dans un fichier Revit (cible) \u00e0 partir de fichiers Revit (source). Cela \u00e9vite par exemple d\u2019avoir un fichier Revit avec tous les assemblages pr\u00e9charg\u00e9s.<\/p>\n<p><a href=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a43c200c-pi\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image004\" border=\"0\" height=\"340\" src=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a441200c-pi\" style=\"background-image: none;margin-left: auto;margin-right: auto\" title=\"clip_image004\" width=\"454\" \/><\/a><\/p>\n<p><a href=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b0240a4ee346b200d-pi\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image005\" border=\"0\" height=\"597\" src=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a445200c-pi\" style=\"background-image: none;margin-left: auto;margin-right: auto\" title=\"clip_image005\" width=\"354\" \/><\/a><\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Le n\u0153ud \u00ab <strong><em>ConnectionType.LoadFromFile<\/em><\/strong> \u00bb permet de charger un (ou plusieurs) type(s) d\u2019assemblage \u00e0 partir de la biblioth\u00e8que d\u2019assemblage d&#039;un fichier Revit (en indiquant le chemin o\u00f9 est sauvegard\u00e9 le fichier source, le nom ainsi que le type d\u2019assemblage).<\/p>\n<p><a href=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a449200c-pi\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image006\" border=\"0\" height=\"147\" src=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a44d200c-pi\" style=\"background-image: none;margin-left: auto;margin-right: auto\" title=\"clip_image006\" width=\"354\" \/><\/a><\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Le n\u0153ud \u00ab <strong><em>ConnectionType.ListFromFile<\/em><\/strong> \u00bb est utilis\u00e9 pour la configuration du script Dynamo. Il permet d\u2019obtenir la liste des types d\u2019assemblage utilis\u00e9e \u00e0 partir d&#039;un fichier Revit (en indiquant le chemin o\u00f9 est sauvegard\u00e9 le fichier source).<\/p>\n<p><a href=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b0240a4ee346f200d-pi\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image007\" border=\"0\" height=\"110\" src=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b0240a512d3c8200b-pi\" style=\"background-image: none;margin-left: auto;margin-right: auto\" title=\"clip_image007\" width=\"354\" \/><\/a><\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Le n\u0153ud \u00ab <strong><em>ConnectionType.LoadOnDemand<\/em><\/strong> \u00bb permet de charger le (ou les) type(s) d\u2019assemblage \u00e0 partir du fichier source uniquement s&#039;il n&#039;existe pas dans le fichier cible (actuel) et s&#039;il est utilis\u00e9 par le script pour cr\u00e9er des instances de ce type assemblage.<\/p>\n<p><a href=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a455200c-pi\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image008\" border=\"0\" height=\"181\" src=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b025d9b38a459200c-pi\" style=\"background-image: none;margin-left: auto;margin-right: auto\" title=\"clip_image008\" width=\"354\" \/><\/a><\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Le n\u0153ud \u00ab <strong><em>ConnectionType.UseCurrentOrLoadFromFile<\/em><\/strong> \u00bb est utilis\u00e9 pour charger des types d\u2019assemblage \u00e0 partir du fichier source (biblioth\u00e8que), mais uniquement s&#039;il n&#039;existe pas d\u00e9j\u00e0 dans le fichier cible (actuel).<\/p>\n<p><a href=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b0240a4ee3474200d-pi\"><img loading=\"lazy\" decoding=\"async\" alt=\"clip_image009\" border=\"0\" height=\"156\" src=\"https:\/\/villagebim.typepad.com\/.a\/6a015391e15a28970b0240a4ee3478200d-pi\" style=\"background-image: none;margin-left: auto;margin-right: auto\" title=\"clip_image009\" width=\"354\" \/><\/a><\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Je vous conseille la lecture de <a href=\"https:\/\/blogs.autodesk.com\/revit\/2020\/02\/11\/steel-connections\/\">ce billet<\/a> \u00e9crit par <a href=\"https:\/\/blogs.autodesk.com\/revit\/author\/atomek\/\">Tomasz Fudala<\/a> sur le blog <a href=\"https:\/\/blogs.autodesk.com\/revit\/\">Revit Blog<\/a> o\u00f9 il propose un script simple et efficace qui permet de charger une biblioth\u00e8que d\u2019assemblage issue d\u2019un fichier Revit.<\/p>\n<p style=\"text-align: justify\">&#160;&#160;&#160;&#160;Voici la vid\u00e9o ci-dessous de Tomasz montrant le script destin\u00e9 \u00e0 \u00eatre utilis\u00e9 avec le Dynamo Player :<\/p>\n<p class=\"asset-video\" style=\"text-align: center\">\n<p style=\"text-align: justify\">\n","protected":false},"excerpt":{"rendered":"<p>&#160;&#160;&#160;&#160;Le package \u00ab Autodesk Steel Connections 2020\u00bb (dont vous trouverez la description et l\u2019utilisation dans un de nos articles paru l\u2019ann\u00e9e derni\u00e8re) a \u00e9t\u00e9 mis \u00e0 jour (version 2020.2.118) r\u00e9cemment. &#160;&#160;&#160;&#160;Cette mise \u00e0 jour permet au script Dynamo de charger des types d\u2019assemblages pr\u00e9configur\u00e9s dans un fichier Revit (cible) \u00e0 partir de fichiers Revit (source). [&hellip;]<\/p>\n","protected":false},"author":4760,"featured_media":2472,"menu_order":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[17,57,58],"tags":[20,215,171,216],"class_list":["post-106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nouveautes","category-programmation-visuelle","category-structure","tag-autodesk","tag-autodesk-steel-connections-2020","tag-dynamo","tag-package","dhig-theme--light"],"acf":[],"_links":{"self":[{"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/users\/4760"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/media\/2472"}],"wp:attachment":[{"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.autodesk.com\/villagebim\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}