Number Risers Parameter

Number Risers Parameter

Anonymous
Not applicable
365 Views
2 Replies
Message 1 of 3

Number Risers Parameter

Anonymous
Not applicable

I have the problem that I cannot see the response of the parameter Number of Risers (StorageType Integer) for the laddder. this is the code

 

string GetParameterValueString(Element e, BuiltInParameter a)
{

Parameter p = element.get_Parameter(a);

string z = string.Empty;

if (null != p)
{
switch (p.StorageType)
{
case StorageType.Integer:
z = p.AsInteger().ToString();
break;

}

z =  "=" + z;
}
return z;
}

 

I get nothing as an answer, I appreciate your help

 

0 Likes
366 Views
2 Replies
Replies (2)
Message 2 of 3

markjvlampad
Advocate
Advocate

try this.

Parameter p = e.get_Parameter(BuiltInParameter.STAIRS_ACTUAL_NUM_RISERS);

 

0 Likes
Message 3 of 3

Anonymous
Not applicable

it doesn't work either

0 Likes