.. vale off :class:`Path` ============= .. py:class:: ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Path Bases: :py:obj:`object` Defines a Path. .. !! processed by numpydoc !! .. py:currentmodule:: Path Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~SnapPathToMeshNodes` - Snap path to mesh nodes * - :py:attr:`~FlipPathOrientatation` - Flip Path Orientatation * - :py:attr:`~Delete` - Run the Delete action. * - :py:attr:`~GetChildren` - Gets the list of children, filtered by type. * - :py:attr:`~GetChildren` - Gets the list of children, filtered by type. * - :py:attr:`~AddComment` - Creates a new child Comment. * - :py:attr:`~AddFigure` - Creates a new child Figure. * - :py:attr:`~AddImage` - Creates a new child Image. * - :py:attr:`~Activate` - Activate the current object. * - :py:attr:`~CopyTo` - Copies all visible properties from this object to another. * - :py:attr:`~Duplicate` - Creates a copy of the current DataModelObject. * - :py:attr:`~GroupAllSimilarChildren` - Run the GroupAllSimilarChildren action. * - :py:attr:`~GroupSimilarObjects` - Run the GroupSimilarObjects action. * - :py:attr:`~PropertyByName` - Get a property by its unique name. * - :py:attr:`~PropertyByAPIName` - Get a property by its API name. * - :py:attr:`~CreateParameter` - Creates a new parameter for a Property. * - :py:attr:`~GetParameter` - Gets the parameter corresponding to the given property. * - :py:attr:`~RemoveParameter` - Removes the parameter from the parameter set corresponding to the given property. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~DiscretizationPoints` - Gets or sets the DiscretizationPoints. * - :py:attr:`~InternalObject` - Gets the internal object. For advanced usage only. * - :py:attr:`~NumberOfSubpaths` - Gets or sets the NumberOfSubpaths. * - :py:attr:`~NumberOfSamplingPoints` - Gets or sets the NumberOfSamplingPoints. * - :py:attr:`~EndXCoordinate` - Gets or sets the EndXCoordinate. * - :py:attr:`~EndYCoordinate` - Gets or sets the EndYCoordinate. * - :py:attr:`~EndZCoordinate` - Gets or sets the EndZCoordinate. * - :py:attr:`~StartXCoordinate` - Gets or sets the StartXCoordinate. * - :py:attr:`~StartYCoordinate` - Gets or sets the StartYCoordinate. * - :py:attr:`~StartZCoordinate` - Gets or sets the StartZCoordinate. * - :py:attr:`~PathType` - Gets or sets the PathType. * - :py:attr:`~HasValidGeometrySelection` - Gets the HasValidGeometrySelection. * - :py:attr:`~ShowMesh` - Gets or sets the ShowMesh. * - :py:attr:`~SnapToMeshNodes` - Gets or sets the SnapToMeshNodes. * - :py:attr:`~Suppressed` - Gets or sets the Suppressed. * - :py:attr:`~PathCoordinateSystem` - Gets or sets the PathCoordinateSystem. * - :py:attr:`~EndCoordinateSystem` - Gets or sets the EndCoordinateSystem. * - :py:attr:`~StartCoordinateSystem` - Gets or sets the StartCoordinateSystem. * - :py:attr:`~Location` - Gets or sets the Location. * - :py:attr:`~OffsetEdgeLocation` - Gets or sets the OffsetEdgeLocation. * - :py:attr:`~DataModelObjectCategory` - Gets the current DataModelObject's category. * - :py:attr:`~Children` - Gets the list of children. * - :py:attr:`~Comments` - Gets the list of associated comments. * - :py:attr:`~Figures` - Gets the list of associated figures. * - :py:attr:`~Images` - Gets the list of associated images. * - :py:attr:`~InternalObject` - Gets the internal object. For advanced usage only. * - :py:attr:`~Properties` - Gets the list of properties for this object. * - :py:attr:`~VisibleProperties` - Gets the list of properties that are visible for this object. Property detail --------------- .. py:property:: DiscretizationPoints :no-index: :type: Optional[System.Int32] Gets or sets the DiscretizationPoints. .. !! processed by numpydoc !! .. py:property:: InternalObject :no-index: :type: Optional[Ansys.Common.Interop.DSObjectsAuto.IDSPathAuto] Gets the internal object. For advanced usage only. .. !! processed by numpydoc !! .. py:property:: NumberOfSubpaths :no-index: :type: Optional[System.Int32] Gets or sets the NumberOfSubpaths. .. !! processed by numpydoc !! .. py:property:: NumberOfSamplingPoints :no-index: :type: Optional[System.Int32] Gets or sets the NumberOfSamplingPoints. .. !! processed by numpydoc !! .. py:property:: EndXCoordinate :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the EndXCoordinate. .. !! processed by numpydoc !! .. py:property:: EndYCoordinate :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the EndYCoordinate. .. !! processed by numpydoc !! .. py:property:: EndZCoordinate :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the EndZCoordinate. .. !! processed by numpydoc !! .. py:property:: StartXCoordinate :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the StartXCoordinate. .. !! processed by numpydoc !! .. py:property:: StartYCoordinate :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the StartYCoordinate. .. !! processed by numpydoc !! .. py:property:: StartZCoordinate :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the StartZCoordinate. .. !! processed by numpydoc !! .. py:property:: PathType :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.PathScopingType] Gets or sets the PathType. .. !! processed by numpydoc !! .. py:property:: HasValidGeometrySelection :no-index: :type: Optional[System.Boolean] Gets the HasValidGeometrySelection. .. !! processed by numpydoc !! .. py:property:: ShowMesh :no-index: :type: Optional[System.Boolean] Gets or sets the ShowMesh. .. !! processed by numpydoc !! .. py:property:: SnapToMeshNodes :no-index: :type: Optional[System.Boolean] Gets or sets the SnapToMeshNodes. .. !! processed by numpydoc !! .. py:property:: Suppressed :no-index: :type: Optional[System.Boolean] Gets or sets the Suppressed. .. !! processed by numpydoc !! .. py:property:: PathCoordinateSystem :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.CoordinateSystem] Gets or sets the PathCoordinateSystem. .. !! processed by numpydoc !! .. py:property:: EndCoordinateSystem :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.CoordinateSystem] Gets or sets the EndCoordinateSystem. .. !! processed by numpydoc !! .. py:property:: StartCoordinateSystem :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.CoordinateSystem] Gets or sets the StartCoordinateSystem. .. !! processed by numpydoc !! .. py:property:: Location :no-index: :type: Optional[Ansys.ACT.Interfaces.Common.ISelectionInfo] Gets or sets the Location. .. !! processed by numpydoc !! .. py:property:: OffsetEdgeLocation :no-index: :type: Optional[Ansys.ACT.Interfaces.Common.ISelectionInfo] Gets or sets the OffsetEdgeLocation. .. !! processed by numpydoc !! .. py:property:: DataModelObjectCategory :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory] Gets the current DataModelObject's category. .. !! processed by numpydoc !! .. py:property:: Children :no-index: :type: Optional[System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]] Gets the list of children. .. !! processed by numpydoc !! .. py:property:: Comments :no-index: :type: Optional[System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment]] Gets the list of associated comments. .. !! processed by numpydoc !! .. py:property:: Figures :no-index: :type: Optional[System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure]] Gets the list of associated figures. .. !! processed by numpydoc !! .. py:property:: Images :no-index: :type: Optional[System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image]] Gets the list of associated images. .. !! processed by numpydoc !! .. py:property:: InternalObject :no-index: :type: Optional[System.Object] Gets the internal object. For advanced usage only. .. !! processed by numpydoc !! .. py:property:: Properties :no-index: :type: Optional[System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property]] Gets the list of properties for this object. .. !! processed by numpydoc !! .. py:property:: VisibleProperties :no-index: :type: Optional[System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property]] Gets the list of properties that are visible for this object. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: SnapPathToMeshNodes() -> System.Void :no-index: Snap path to mesh nodes .. !! processed by numpydoc !! .. py:method:: FlipPathOrientatation() -> System.Void :no-index: Flip Path Orientatation .. !! processed by numpydoc !! .. py:method:: Delete() -> System.Void :no-index: Run the Delete action. .. !! processed by numpydoc !! .. py:method:: GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) -> System.Collections.Generic.IList[ChildrenType] :no-index: Gets the list of children, filtered by type. .. !! processed by numpydoc !! .. py:method:: GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) -> System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] :no-index: Gets the list of children, filtered by type. .. !! processed by numpydoc !! .. py:method:: AddComment() -> Ansys.ACT.Automation.Mechanical.Comment :no-index: Creates a new child Comment. .. !! processed by numpydoc !! .. py:method:: AddFigure() -> Ansys.ACT.Automation.Mechanical.Figure :no-index: Creates a new child Figure. .. !! processed by numpydoc !! .. py:method:: AddImage(filePath: System.String) -> Ansys.ACT.Automation.Mechanical.Image :no-index: .. code-block:: text Creates a new child Image. If a filePath is provided, the image will be loaded from that file, if not, the image will be a screen capture of the Geometry window. .. !! processed by numpydoc !! .. py:method:: Activate() -> System.Void :no-index: Activate the current object. .. !! processed by numpydoc !! .. py:method:: CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) -> System.Void :no-index: Copies all visible properties from this object to another. .. !! processed by numpydoc !! .. py:method:: Duplicate() -> Ansys.Mechanical.DataModel.Interfaces.IDataModelObject :no-index: Creates a copy of the current DataModelObject. .. !! processed by numpydoc !! .. py:method:: GroupAllSimilarChildren() -> System.Void :no-index: Run the GroupAllSimilarChildren action. .. !! processed by numpydoc !! .. py:method:: GroupSimilarObjects() -> Ansys.ACT.Automation.Mechanical.TreeGroupingFolder :no-index: Run the GroupSimilarObjects action. .. !! processed by numpydoc !! .. py:method:: PropertyByName(name: System.String) -> Ansys.ACT.Automation.Mechanical.Property :no-index: Get a property by its unique name. .. !! processed by numpydoc !! .. py:method:: PropertyByAPIName(name: System.String) -> Ansys.ACT.Automation.Mechanical.Property :no-index: .. code-block:: text Get a property by its API name. If multiple properties have the same API Name, only the first property with that name will be returned. .. !! processed by numpydoc !! .. py:method:: CreateParameter(propName: System.String) -> Ansys.ACT.Interfaces.Mechanical.IParameter :no-index: Creates a new parameter for a Property. .. !! processed by numpydoc !! .. py:method:: GetParameter(propName: System.String) -> Ansys.ACT.Interfaces.Mechanical.IParameter :no-index: Gets the parameter corresponding to the given property. .. !! processed by numpydoc !! .. py:method:: RemoveParameter(propName: System.String) -> System.Void :no-index: Removes the parameter from the parameter set corresponding to the given property. .. !! processed by numpydoc !! .. vale on