Tekla Open API

Detailed and full API reference helps you master Tekla Open API

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

ProfileItem Class

The ProfileItem abstract class contains the common information of catalog profiles (parametric and library).
Inheritance Hierarchy

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

The ProfileItem type exposes the following members.

Properties
  Name Description
Public property aProfileItemParameters
An array list with the profile item parameters.
Public property IsMultiCrossSectionUserParametric
Whether the profile is a parametric user-defined multi cross section profile.
Public property IsSketchedUserParametric
Whether the profile is a parametric user-defined sketched profile.
Public property NumberOfCrossSections
The number of cross sections in the profile item.
Public property ParameterString
The profile item parameter string.
Public property ProfileItemSubType
The profile item subtype.
Public property ProfileItemType
The profile item type.
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.
Public methodCode example GetCrossSection
Returns list of cross section points of inner surfaces from the profile item.
Public method IsProfileUserDefined
Whether the profile is a fixed user-defined profile.
Public method IsProfileUserParametric
Whether the profile is a parametric user-defined profile. If so, the prefix can be asked by type and subtype.
Public method Select
Selects the profile item in the profile database.
Top
See Also