Due to same name of parameter dynamo found confution

Hi All,

I am phasing a one small problem but don’t get the solution.

I want to control Horizontal and Vertical Offset value of Curtain wall from the dynamo. But they both’s Visible name is same. so dynamo get confusion that where he have to perform.

I know the solution will be so silly but i don’t get it.
Kindly review and help me out.
Home.dyn (17.5 KB)

You’ll have to use the BuiltInParameters.

import clr
from Autodesk.Revit.DB import *
import RevitServices
from RevitServices.Persistence import DocumentManager

dataEnteringNode = IN
element = UnwrapElement(IN[0])
vert = element.get_Parameter(BuiltInParameter.CURTAINGRID_ANGLE_VERT).AsValueString()
horiz = element.get_Parameter(BuiltInParameter.CURTAINGRID_ANGLE_HORIZ).AsValueString()

OUT = vert,horiz

1 Like

@Nick_Boyts Thank You Sir for you reply.:grinning: