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;
}
// and call it like so:
double height = getHeight("CC200*75*5.0");
// voila!
Created
May 14, 2026 00:27
-
-
Save benkoshy/a5709103ff10ad20ea26cf19bcfd3e68 to your computer and use it in GitHub Desktop.
Tekla API - How to access a profile's property information e.g. Height, Width etc.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment