ConstructionLineHelper
#
- class ansys.mechanical.stubs.v241.Ansys.Mechanical.DataModel.ConstructionLines.ConstructionLineHelper#
Bases:
object
Helper to perform queries and modifications against a ConstructionLine instance.
Overview#
Import global points and connecting edges from an XML file. |
|
Collect all the edges and edge vertices, then export them as global points to an XML file. |
|
Get all the edges that have both start and end edge vertices in the given plane. |
|
GetEdgeVerticesById method. |
|
GetEdgesById method. |
|
Get a list of IEdge that use the given Point. |
|
GetPlanesById method. |
|
Get all the edges that have only edge vertex in the given plane. |
Method detail#
- classmethod ConstructionLineHelper.ClearExistingDataAndImportFromXML(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, xmlFilePath: str) List[Any] #
Import global points and connecting edges from an XML file.
- classmethod ConstructionLineHelper.ExportToXML(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, xmlFilePath: str) None #
Collect all the edges and edge vertices, then export them as global points to an XML file.
- classmethod ConstructionLineHelper.GetContainedEdges(plane: Ansys.Mechanical.DataModel.ConstructionLines.Plane) List[Any] #
Get all the edges that have both start and end edge vertices in the given plane.
- classmethod ConstructionLineHelper.GetEdgeVerticesById(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, edgeVertexIdCollection: Iterable[int]) List[Any] #
GetEdgeVerticesById method.
- classmethod ConstructionLineHelper.GetEdgesById(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, edgeIdCollection: Iterable[int]) List[Any] #
GetEdgesById method.
- classmethod ConstructionLineHelper.GetEdgesUsingPoint(point: Ansys.Mechanical.DataModel.ConstructionLines.Point) List[Any] #
Get a list of IEdge that use the given Point.
- classmethod ConstructionLineHelper.GetPlanesById(constructionLine: Ansys.ACT.Automation.Mechanical.ConstructionLines.ConstructionLine, planeIdCollection: Iterable[int]) List[Any] #
GetPlanesById method.
- classmethod ConstructionLineHelper.GetRelatedEdges(plane: Ansys.Mechanical.DataModel.ConstructionLines.Plane) List[Any] #
Get all the edges that have only edge vertex in the given plane.