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.

AnalysisPart Class

The AnalysisPart class contains information related to analysis parts.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Analysis
Assembly:  Tekla.Structures.Analysis (in Tekla.Structures.Analysis.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public sealed class AnalysisPart : AnalysisObject

The AnalysisPart type exposes the following members.

Constructors
  Name Description
Public method AnalysisPart
Initializes a new instance of the AnalysisPart class
Top
Properties
  Name Description
Public property AnalysisAreas
The analysis areas of the analysis part.
Public property AnalysisBars
The analysis bars of the analysis part.
Public property AnalysisDesignCode
The analysis design code of the analysis part.
Public property AnalysisModelName
The analysis model name.
(Inherited from AnalysisObject.)
Public property AnalysisObjectType
The type of the analysis object.
(Inherited from AnalysisObject.)
Public property AnalysisPartAnalysisProperties
The analysis part analysis properties.
Public property AnalysisPartAreaAttributes
The analysis part area attributes.
Public property AnalysisPartBarAttributes
The analysis part bar attributes.
Public property AnalysisPartCompositeProperties
The analysis part composite properties.
Public property AnalysisPartLoadingProperties
The analysis part loading properties.
Public property AnalysisPartPositionProperties
The analysis part position properties.
Public property AnalysisPartSpanningProperties
The analysis part spanning properties.
Public property AnalysisType
The analysis type of the analysis part.
Public property AnalysisVolumes
The analysis volumes of the analysis part.
Public property CoordinateSystem
The coordinate system of the analysis part.
Public property Curvature
The curvature of the analysis part.
Public property FatherObject2ID
The identifier of the father part.
(Inherited from AnalysisObject.)
Public property FatherObject2Type
The type of the father object.
(Inherited from AnalysisObject.)
Public property FatherObjectID
The identifier of the father part.
(Inherited from AnalysisObject.)
Public property FatherObjectType
The type of the father object.
(Inherited from AnalysisObject.)
Public property ID
The identifier of the analysis object.
(Inherited from AnalysisObject.)
Public property LoadBearingOrder
The load bearing order.
Public property Material
The material of the analysis part.
Public property OverrideProfile
The override profile of the analysis part. In case of tapered profile, only the name is available, and more details are available in the start/end properties of the analysis members.
Public property PartID
The identifier of the physical part.
Public property PartName
The name of the physical part.
Public property PartType
The type of the physical part.
Public property Profile
The profile of the analysis part. Note: OverrideProfile may exist to replace this. In case of tapered profile, only the name is available, ID is 0 and values are not returned. More details are available in the start/end properties of the analysis members.
Public property SnapDistance
The snap distance. Use 0.0 for manual connectivity, positive value for automatic connectivity.
Public property UpDirection
The up direction of the analysis part (in the global coordinate system). The axis vector (connecting member end nodes) and the up direction vector define the local XY plane of the member. The local Z can be calculated as localZ = localX x UpDirection (cross product), and after this localY = localZ x localX (cross product).
Top
Methods
  Name Description
Public method Add(AnalysisArea)
Adds an analysis area to the analysis part.
Public method Add(AnalysisBar)
Adds an analysis bar to the analysis part.
Public method Delete
Deletes an analysis part. The ID has to be set.
Public method GetAnalysisAreas
Gets the analysis areas of the analysis part.
Public method GetAnalysisBars
Gets the analysis bars of the analysis part.
Public method GetAnalysisVolumes
Gets the analysis volumes of the analysis part.
Public method GetMainParts
Get the main analysis parts of this analysis part. There are no main analysis parts if this is not a sub analysis part.
Public method GetSubParts
Get the sub analysis parts of this analysis part. There are no sub analysis parts if this is not a main analysis part.
Public method Insert
Inserts a new analysis part into the Tekla Structures model. The AnalysisModelName has to be set.
Public method IsMainPart
Check if this analysis part is a main analysis part (has sub analysis parts).
Public method IsSubPart
Check if this analysis part is a sub analysis part.
Public method Modify
Modifies an analysis part. The ID, or the PartID and the AnalysisModelName, has to be set.
Public method MovePosition
Move analysis position.
Public method Select
Selects an analysis part. The ID, or the PartID and the AnalysisModelName, has to be set.
(Overrides AnalysisObjectSelect.)
Top
See Also