API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

LibraryProfileItem Class

The LibraryProfileItem class contains information from library profiles in the catalog. Library profile items can be enumerated using a profile item enumerator.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.CatalogsProfileItem
    Tekla.Structures.CatalogsLibraryProfileItem

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public sealed class LibraryProfileItem : ProfileItem

The LibraryProfileItem type exposes the following members.

Constructors
  Name Description
Public method LibraryProfileItem
Creates a new library profile item instance.
Top
Properties
  Name Description
Public property aProfileItemAnalysisParameters
An array list with the profile item analysis parameters.
Public property aProfileItemParameters
An array list with the profile item parameters.
(Inherited from ProfileItem.)
Public property aProfileItemUserParameters
An array list with the profile item user parameters.
Public property IsMultiCrossSectionUserParametric
Whether the profile is a parametric user-defined multi cross section profile.
(Inherited from ProfileItem.)
Public property IsSketchedUserParametric
Whether the profile is a parametric user-defined sketched profile.
(Inherited from ProfileItem.)
Public property NumberOfCrossSections
The number of cross sections in the profile item.
(Inherited from ProfileItem.)
Public property ParameterString
The profile item parameter string.
(Inherited from ProfileItem.)
Public property ProfileItemSubType
The profile item subtype.
(Inherited from ProfileItem.)
Public property ProfileItemType
The profile item type.
(Inherited from ProfileItem.)
Public property ProfileName
The profile item name.
Top
Methods
  Name Description
Public methodCode example Export
Exports the profile item in the profile database to given file name. Currently library profiles, sketch profiles and clb profiles are supported. Library profiles are exported to *.lis format. Sketch profiles are exported to *.uel format. Clb profiles are exported to *.clb format. If path is not given profile is exported to model folder. If filename is empty profile name or prefix is used as filename.
(Inherited from ProfileItem.)
Public methodCode example GetCrossSection
Returns list of cross section points of inner surfaces from the profile item.
(Inherited from ProfileItem.)
Public method IsProfileUserDefined
Whether the profile is a fixed user-defined profile.
(Inherited from ProfileItem.)
Public method IsProfileUserParametric
Whether the profile is a parametric user-defined profile. If so, the prefix can be asked by type and subtype.
(Inherited from ProfileItem.)
Public method Select
Selects the profile item in the profile database.
(Inherited from ProfileItem.)
Public method Select(String)
Selects the profile item in the profile database using the given name.
Top
Examples
It is possible to select a library profile item by its name:
using Tekla.Structures.Catalogs;

public class Example
{
       public void Example1()
       {
           LibraryProfileItem LibraryProfileItem = new LibraryProfileItem();
           LibraryProfileItem.ProfileName = "HEA300";
           LibraryProfileItem.Select();
           //Equivalent code:
           LibraryProfileItem LibraryProfileItem1 = new LibraryProfileItem();
           LibraryProfileItem1.Select("HEA300");
       }
}
See Also