I have error named “no parameter found” in the below attached script. I have created a family of 2D bridge section which I am trying to place at certain points (obtained from civil 3d). Any suggestion on the same error will be helpful.
You are feeding in a Revit Family Type (and its Parameters) instead of Elements of that given type, try creating your family instances first and then setting your parameter values to those instances.
Thanks for the response @_Vijay. But adding family type is creating same error.
One more thing this is error I am getting when my family is created using lines imported from CAD. I have tried the same method but with creating the family in revit only and surprisingly this time it doesn’t create any error. So is the error because of import?