Assigning Parameters and Assembly Code

Merk Willoughby
code3100
Published in
2 min readJun 8, 2017

--

Ill be looking to explore Revit model by assigning parameters and assembly code to each of pavilion elements.

Because the pavilion has been made in Rhino and grasshopper, i would need to bring all the geometry to Revit in order to assign parameters on it.

linking rhino geometry to Revit by layer.

next is to categories element though DirectShape.ByGeometry which enables the rhino element to be a revit element such as Generic models.

next is to assign parameters to elements by Element.SetParameterByName and using the String.Insert to insert the assembly code name to the value.

As a result i was able to assign parameters and assembly code successfully.

Next is to test and see will these parameters can be shared and stored in the cloud based such as Autodesk A360

As a result it was able to be read directly in the cloud.

--

--