Create wall types from excel sheet

Hi,
I created a graph that collect wall thicknesses from excel
i need to create thus types of basic wall family
what is the simple way to do it?


and how to remove duplicate thicknesses from list?

1 Like

by using List.UniqueItems node.
UniqueItems

it doesn’t work

try flattening before pushing the list to the UniqueItems.

1 Like

thanks!

Hi,

Here is an example of creating wall types :

3 Likes

thanks! i try this but got null
any idea about the reason?

1 Like

The lists of thickness, material and function have an unequal length so use the longest lacing on the Create Compound FamilyType node like in my example above.

I recently found a small bug in this node and fixed it on the latest version of the Genius Loci package. I therefore recommend updating the package to use this custom node.

4 Likes

thanks ! it creates the types in Revit but still get null on the graph.
in addition how to change the precision of thicknesses? too much zeros

Here is another example:

Use the String.Split node to remove the trailing zeros.

1 Like

great!
i downloaded the latest version , the issue is solved :slight_smile:

i use a code block int to remove precision

2 Likes

Deos FamilyType.CompoundStructureLayersnodes node works on Linked model?

Nice find for the int !

Does FamilyType.CompoundStructureLayers node works on Linked model?

Yes, you can retrieve the layers of the linked wall.

2 Likes

which version of Dynamo r u using?
I’m using 2.0 and cant install Archilab package

Hi @rinag
Use Dynamo 2.0.3 version. To download click here https://dyn-builds-data.s3-us-west-2.amazonaws.com/DynamoRevit2.0.3.20190603T0002.exe

1 Like

can u add additional input “Type Comment” to this node Create Compound System FamilyType?
i want to add s special type comment to walls types created via this dynamo graph

I solved this Problem with an additional “Element.SetParameterByName” Node. Although you have to time it after the creation of the new Types. Something like this:

1 Like

Hi Alban

I have tried to create different wall types with your solution but it only manages to produce the first one from the list:


Do you know how could I solve this?

1 Like

Change level of NewName to @L1 or Lacing to longest.

3 Likes