AnalysisResultPositions Class

The AnalysisResultPositions class contains information about analysis result positions.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.AnalysisAnalysisResultPositions

Namespace:  Tekla.Structures.Analysis
Assembly:  Tekla.Structures.Analysis (in Tekla.Structures.Analysis.dll) Version: 2023.0.3
Syntax
public sealed class AnalysisResultPositions

The AnalysisResultPositions type exposes the following members.

Constructors
  NameDescription
Public methodAnalysisResultPositions
Creates a new analysis result positions instance.
Top
Properties
  NameDescription
Public propertyaPositions
The position types.
Public propertyaPositionsX
The X coordinates of the positions.
Public propertyaPositionsY
The Y coordinates of the positions.
Public propertyaPositionsZ
The Z coordinates of the positions.
Public propertynPositions
The number of returned positions.
Public propertyObjectId
The identifier of the object.
Public propertyObjectType
The object type. In result query the only supported type is the physical member (the part).
Top
Methods
  NameDescription
Public methodGetResultPositions
Gets the analysis result positions.
Top
Examples
The following example queries the available analysis result positions for the object.
using Tekla.Structures.Analysis;
using System.Collections;

public class Example
{
       public void Example1()
       {
           int PartId = 0;

           AnalysisResultPositions ResultPositions = new AnalysisResultPositions();

           ResultPositions.ObjectType = AnalysisResult.ObjectTypeEnum.OBJECT_TYPE_PART;
           ResultPositions.ObjectId = PartId;

           bool Result = ResultPositions.GetResultPositions();

           ArrayList ValuePositions = ResultPositions.aPositions;
           ArrayList ValuePositionsX = ResultPositions.aPositionsX;
           ArrayList ValuePositionsY = ResultPositions.aPositionsY;
           ArrayList ValuePositionsZ = ResultPositions.aPositionsZ;
       }
}
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next