<?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: Replace material in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534663#M34034</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1257478"&gt;@aignatovich&lt;/a&gt;&amp;nbsp;thanks for your comments, I'm using the compoudStructure code from Revit SDK, but instead of a new material I would like to take one already exist in the material list&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 17:44:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-22T17:44:18Z</dc:date>
    <item>
      <title>Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534076#M34030</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;is it possible to substitute in a selected element (mainly wall or floor) the type of material?&lt;/P&gt;&lt;P&gt;E.g. basic wall - material &lt;STRONG&gt;A&lt;/STRONG&gt; into&amp;nbsp;basic wall - material &lt;STRONG&gt;B.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm wondering also if my basic wall has more than one material, is it still possible to substitute all of them with just a specific material?&lt;/P&gt;&lt;P&gt;Thanks in advance for your support&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 13:08:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534076#M34030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-22T13:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534121#M34031</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revit API seldom provides any functionality you can't do manually. So you have 2 possible options to archive what you want. You can create a new wall type, adjust the compound structure and apply it to the wall. Or you can create parts and replace the material of specific layer parts elements if it is suitable for your purposes.&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 13:30:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534121#M34031</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2020-05-22T13:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534137#M34032</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1257478"&gt;@aignatovich&lt;/a&gt;&amp;nbsp;for your quick reply. I thought to replace all the material inside the wall type with the new material&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 13:38:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534137#M34032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-22T13:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534188#M34033</link>
      <description>&lt;P&gt;For the first option something like this:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;var wallType = (WallType)wall.WallType.Duplicate(newName);

var compoundStructure = wallType.GetCompoundStructure();

var layerIdxs = Enumerable.Range(0, compoundStructure.LayerCount)
	.Where(x =&amp;gt; compoundStructure.GetMaterialId(x) == sourceMaterialId)
	.ToList();

foreach(var layerIdx in layerIdxs) {
	compoundStructure.SetMaterialId(layerIdx, destMaterialId);
}

wall.ChangeTypeId(wallType.Id);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the second option:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;PartUtils.CreateParts(doc, new[] {wall.Id}) ;

doc.Regenerate();

var parts = PartUtils.GetAssociatedParts(doc, wall.Id, false, false)
	.Select(doc.GetElement)
	.Where(x =&amp;gt; x.get_Parameter(BuiltInParameter.DPART_MATERIAL_ID_PARAM).AsElementId() == sourceMaterialId)
	.ToList();
	
foreach(var part in parts) {
	part.get_Parameter(BuiltInParameter.DPART_MATERIAL_BY_ORIGINAL).Set(0);
	
	doc.Regenerate();
	
	part.get_Parameter(BuiltInParameter.DPART_MATERIAL_ID_PARAM).Set(destMaterialId);
}&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 22 May 2020 13:54:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534188#M34033</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2020-05-22T13:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534663#M34034</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1257478"&gt;@aignatovich&lt;/a&gt;&amp;nbsp;thanks for your comments, I'm using the compoudStructure code from Revit SDK, but instead of a new material I would like to take one already exist in the material list&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 17:44:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534663#M34034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-22T17:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534677#M34035</link>
      <description>&lt;P&gt;So, use FilteredElementCollector to find this existing material and pass its id to CompoundStructureLayer constructor or CompoundStructure.SetMaterialId method&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 17:52:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9534677#M34035</guid>
      <dc:creator>aignatovich</dc:creator>
      <dc:date>2020-05-22T17:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9535583#M34036</link>
      <description>&lt;P&gt;Could&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1257478"&gt;@aignatovich&lt;/a&gt;&amp;nbsp; or&amp;nbsp;@Anonymous&amp;nbsp; paste the part of code post 6 please? I'm not so expert as you, thanks!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 May 2020 11:40:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9535583#M34036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-23T11:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9560454#M34037</link>
      <description>&lt;P&gt;Through CompoundStructure SDK example I was able to reach something, but I still have a small issue, how can I insert just one material rather than two? If I delete the substrateLayer I get error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt; public void CreateCSforWall(Wall wall)
        {

            // Get CompoundStructure
            WallType wallType = wall.WallType;
           //wallType.Name = wallType.Name + "_WithNewCompoundStructure";
            CompoundStructure wallCS = wallType.GetCompoundStructure();
            // Get material for CompoundStructureLayer


            Material concrete = CreateSampleConcreteMaterial();

            // Create CompoundStructureLayers and add the materials created above to them.
            List&amp;lt;CompoundStructureLayer&amp;gt; csLayers = new List&amp;lt;CompoundStructureLayer&amp;gt;();
            CompoundStructureLayer substrateLayer = new CompoundStructureLayer(0.1, MaterialFunctionAssignment.Substrate, ElementId.InvalidElementId);
            CompoundStructureLayer structureLayer = new CompoundStructureLayer(0.5, MaterialFunctionAssignment.Structure, concrete.Id);

            csLayers.Add(substrateLayer);
            csLayers.Add(structureLayer);

            // // Set the created layers to CompoundStructureLayer
            wallCS.SetLayers(csLayers);


            //Set which layer is used for structural analysis
            wallCS.StructuralMaterialIndex = 1;


            // Set the new wall CompoundStructure to the type of wall.
            wallType.SetCompoundStructure(wallCS);
        }&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Jun 2020 14:14:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9560454#M34037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-04T14:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9566965#M34038</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp; could you have a look to my last post please? I need your valuable help to overcome my small issue please&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 13:35:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9566965#M34038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-08T13:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9567245#M34039</link>
      <description>&lt;P&gt;Many thanks to Alexander for his professional help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@Anonymous&amp;nbsp;, you don't really need any help at all; you are perfectly capable of researching and solving this yourself.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follow the guidelines on&amp;nbsp;&lt;A href="https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3" target="_blank"&gt;How to research to find a Revit API solution&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-ontology.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Alexander points out, you need to research how to solve this manually in the user interface first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are several ways, and maybe they all violate the BIM in various ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here a a more brutal approach to achieve what you are asking for:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2020/06/changing-element-colour-and-material.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2020/06/changing-element-colour-and-material.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It answers your question, but will probably not do your BIM much good...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 15:30:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9567245#M34039</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-06-08T15:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9568576#M34040</link>
      <description>&lt;P&gt;What error do you get?&lt;/P&gt;&lt;P&gt;Have you tried to set shell layers?&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;wallCS.StructuralMaterialIndex = 0;
wallCS.SetNumberOfShellLayers(ShellLayerType.Interior, 0);
wallCS.SetNumberOfShellLayers(ShellLayerType.Exterior, 0);&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 09 Jun 2020 07:20:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9568576#M34040</guid>
      <dc:creator>lukaskohout</dc:creator>
      <dc:date>2020-06-09T07:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569264#M34041</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;for your effort, it's exactly what I need, but when I tried to change material it doesn't change any material, is it missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/767846"&gt;@lukaskohout&lt;/a&gt;&amp;nbsp;really thanks! It works perfectly!!! can I ask you another small favor please? I would like to keep the same thickness as the wall selected, how should I change the following syntax?&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt; // Get CompoundStructure
            WallType wallType = wall.WallType;
            //wallType.Name = wallType.Name + "_WithNewCompoundStructure";
            CompoundStructure wallCS = wallType.GetCompoundStructure();
            
            // Get material for CompoundStructureLayer
            Material concrete = CreateSampleConcreteMaterial();

            // Create CompoundStructureLayers and add the materials created above to them.
            List&amp;lt;CompoundStructureLayer&amp;gt; csLayers = new List&amp;lt;CompoundStructureLayer&amp;gt;();
            CompoundStructureLayer structureLayer = new CompoundStructureLayer(1.5, MaterialFunctionAssignment.Structure, concrete.Id);

            //csLayers.Add(substrateLayer);
            csLayers.Add(structureLayer);

            // // Set the created layers to CompoundStructureLayer
            wallCS.SetLayers(csLayers);


            //Set which layer is used for structural analysis
            wallCS.StructuralMaterialIndex = 0;
            wallCS.SetNumberOfShellLayers(ShellLayerType.Interior, 0);
            wallCS.SetNumberOfShellLayers(ShellLayerType.Exterior, 0);

           // Set the new wall CompoundStructure to the type of wall.
            wallType.SetCompoundStructure(wallCS);
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 13:04:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569264#M34041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-09T13:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569295#M34042</link>
      <description>&lt;LI-CODE lang="csharp"&gt;double currentWidth = wallCS.GetLayerWidth(0);&lt;/LI-CODE&gt;&lt;P&gt;You just need to know the index of the layer.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 13:14:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569295#M34042</guid>
      <dc:creator>lukaskohout</dc:creator>
      <dc:date>2020-06-09T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569601#M34043</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/767846"&gt;@lukaskohout&lt;/a&gt;&amp;nbsp; for your support! For the first type of wall it works perfect, but if I tried to apply it in a second different type of wall I get the following error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/781721iA4E2B21F9BAC5A32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:04:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569601#M34043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-09T15:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569757#M34044</link>
      <description>&lt;P&gt;Looks like you already have the material with the name in the project. Try creating a different one. with different name.&lt;/P&gt;&lt;P&gt;General rule is to check if something already exists in the project before creating it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:51:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569757#M34044</guid>
      <dc:creator>lukaskohout</dc:creator>
      <dc:date>2020-06-09T15:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569849#M34045</link>
      <description>&lt;P&gt;Yes you are right, that material already exist because I imported it the first time when I applied it to the first wall. So in this case if I want to use the same feature twice (but the second time applied to a different wall type) I should avoid the creation of the already existing material. Any tips?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 16:16:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569849#M34045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-09T16:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569925#M34046</link>
      <description>&lt;P&gt;In the SampleMaterialConcrete function check if the material you are creating does not already exist in the project. You can do that by name or ideally by Material.Id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or if you want to make it easier for yourself, you can wrap the material creation line to try-catch block, that way the error when creating a material already present in project will not cause the code to stop.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-gb/dotnet/csharp/language-reference/keywords/try-catch" target="_blank"&gt;https://docs.microsoft.com/en-gb/dotnet/csharp/language-reference/keywords/try-catch&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 16:46:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9569925#M34046</guid>
      <dc:creator>lukaskohout</dc:creator>
      <dc:date>2020-06-09T16:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9570381#M34047</link>
      <description>&lt;P&gt;You don't need API to do this... just create a different wall type and add whatever material you desire.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 19:59:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9570381#M34047</guid>
      <dc:creator>s.borello</dc:creator>
      <dc:date>2020-06-09T19:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9570625#M34048</link>
      <description>&lt;P&gt;The reality is that if you are an AEC consultant then the wall types you use are based on the company specification for such you have developed over numerous projects. It would be unusual or inefficient not to have all the wall types you commonly use already defined in a Revit file for import (made up of the materials your specification covers).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, say you’ve developed those types and due to project development (contractor/employer proposals) etc. the materials need to change (for acoustic/sustainability etc.). Do you manually remake the wall types with the new material, or do you create new types from existing types changing the one material that has changed? Probably you don't want to make new types due to the instance assignment of type based sweeps/reveals etc. So instead should swap the material in the existing types. In theory you could redefine the material itself, but it may be used in elements where the change isn’t required. I'm not surprised people would turn to the API for this kind of task.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 22:43:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9570625#M34048</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2020-06-09T22:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Replace material</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9570991#M34049</link>
      <description>&lt;P&gt;I would also add, from my experience that sometimes you want to create new wall types and materials and you need API to do that.&lt;/P&gt;&lt;P&gt;In my previous job, we developed a Revit addin that was connected to building material manufacturers product database and from the data in the database it created new wall, floor and ceiling types in project. New types had different compound structures, materials assigned and parameters filled. Doing that manually is really tideous, nevermind that you would have to find the data from product lists and put them into project yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At that time you had to duplicate an existing type in project and then assing the new compound structure. But maybe that changed now,&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 05:20:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/replace-material/m-p/9570991#M34049</guid>
      <dc:creator>lukaskohout</dc:creator>
      <dc:date>2020-06-10T05:20:41Z</dc:date>
    </item>
  </channel>
</rss>

