ConstructionLineHelper#

class ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.ConstructionLines.ConstructionLineHelper#

Bases: object

Helper to perform queries and modifications against a ConstructionLine instance.

Overview#

GetEdgeVerticesById

GetEdgeVerticesById method.

GetEdgesById

GetEdgesById method.

GetPlanesById

GetPlanesById method.

GetEdgesUsingPoint

Get a list of IEdge that use the given Point.

GetContainedEdges

Get all the edges that have both start and end edge vertices in the given plane.

GetRelatedEdges

Get all the edges that have only edge vertex in the given plane.

ExportToXML

Collect all the edges and edge vertices, then export them as global points to an XML file.

ClearExistingDataAndImportFromXML

Import global points and connecting edges from an XML file.

Method detail#

classmethod ConstructionLineHelper.GetEdgeVerticesById(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, edgeVertexIdCollection: System.Collections.Generic.IEnumerable[System.Int32]) System.Collections.Generic.IList[System.Object]#
No-index:

GetEdgeVerticesById method.

classmethod ConstructionLineHelper.GetEdgesById(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, edgeIdCollection: System.Collections.Generic.IEnumerable[System.Int32]) System.Collections.Generic.IList[System.Object]#
No-index:

GetEdgesById method.

classmethod ConstructionLineHelper.GetPlanesById(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, planeIdCollection: System.Collections.Generic.IEnumerable[System.Int32]) System.Collections.Generic.IList[System.Object]#
No-index:

GetPlanesById method.

classmethod ConstructionLineHelper.GetEdgesUsingPoint(point: Ansys.Mechanical.DataModel.ConstructionLines.Point) System.Collections.Generic.IList[System.Object]#
No-index:

Get a list of IEdge that use the given Point.

classmethod ConstructionLineHelper.GetContainedEdges(plane: Ansys.Mechanical.DataModel.ConstructionLines.Plane) System.Collections.Generic.IList[System.Object]#
No-index:

Get all the edges that have both start and end edge vertices in the given plane.

classmethod ConstructionLineHelper.GetRelatedEdges(plane: Ansys.Mechanical.DataModel.ConstructionLines.Plane) System.Collections.Generic.IList[System.Object]#
No-index:

Get all the edges that have only edge vertex in the given plane.

classmethod ConstructionLineHelper.ExportToXML(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, xmlFilePath: System.String) System.Void#
No-index:

Collect all the edges and edge vertices, then export them as global points to an XML file.

classmethod ConstructionLineHelper.ClearExistingDataAndImportFromXML(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, xmlFilePath: System.String) System.Collections.Generic.IList[System.Object]#
No-index:

Import global points and connecting edges from an XML file.