In our use case, users select a profile via text (or rather via a CLI). How we need to build a shed from it. In order to build that shed, we need to know the specific properties of the profile that is selected. How do you do that via the Tekla Open API?
public double getHeight(string profileString)
{
LibraryProfileItem libraryProfileItem = new LibraryProfileItem();
libraryProfileItem.Select(profileString);
List<ProfileItemParameter> parameters = libraryProfileItem.aProfileItemParameters.Cast<ProfileItemParameter>().ToList();
double height = parameters.First(p => p.Property.ToUpper() == "HEIGHT").Value;
return height;
}













