.. vale off :class:`ImagePlane` =================== .. py:class:: ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.ImagePlane Bases: :py:obj:`object` Defines a ImagePlane. .. !! processed by numpydoc !! .. py:currentmodule:: ImagePlane Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :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:`~Import` - Sets the image which is rendered to this plane, specified by filePath. Upon success, ImageFilePath will return filePath. Upon failure, ImageFilePath will remain unchanged. Supported file formats include PNG, JPEG, BMP, and GIF. If this is the first time an image has been set to this image plane and if Width and Height were never modified, the image plane will be automatically sized based on the model’s bounding box, respecting the image’s aspect ratio. * - :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:`~InternalObject` - Gets the internal object. For advanced usage only. * - :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:`~Images` - Gets the list of associated images. * - :py:attr:`~ImageFilePath` - Gets the file path for the rendered image. * - :py:attr:`~CoordinateSystem` - Gets or sets the coordinate system object used for defining the plane’s location and orientation. This property is restricted to cartesian coordinate systems. * - :py:attr:`~CoordinateSystemVisible` - Gets or sets whether the annotation for the image’s coordinate system is rendered. * - :py:attr:`~PixelWidth` - Gets the pixel width of the plane's image. * - :py:attr:`~PixelHeight` - Gets the pixel height of the plane's image. * - :py:attr:`~Width` - Gets or sets the physical width of the image plane. * - :py:attr:`~Height` - Gets or sets the physical height of the image plane. * - :py:attr:`~FlipHorizontally` - Gets or sets whether the rendered image on the plane should be flipped horizontally. * - :py:attr:`~FlipVertically` - Gets or sets whether the rendered image on the plane should be flipped vertically. * - :py:attr:`~Translucency` - Gets or sets the translucency of the plane, as a percentage ranging from 0 to 100. * - :py:attr:`~ShowAlways` - Gets or sets whether the image plane will be shown independent of the active object in the tree. * - :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:: InternalObject :no-index: :type: Optional[Ansys.Common.Interop.DSObjectsAuto.IDSAdvancedPostOutputAuto] Gets the internal object. For advanced usage only. .. !! 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:: 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:: ImageFilePath :no-index: :type: Optional[System.String] Gets the file path for the rendered image. .. !! processed by numpydoc !! .. py:property:: CoordinateSystem :no-index: :type: Optional[Ansys.ACT.Automation.Mechanical.CoordinateSystem] Gets or sets the coordinate system object used for defining the plane’s location and orientation. This property is restricted to cartesian coordinate systems. .. !! processed by numpydoc !! .. py:property:: CoordinateSystemVisible :no-index: :type: Optional[System.Boolean] Gets or sets whether the annotation for the image’s coordinate system is rendered. .. !! processed by numpydoc !! .. py:property:: PixelWidth :no-index: :type: Optional[System.Int32] Gets the pixel width of the plane's image. .. !! processed by numpydoc !! .. py:property:: PixelHeight :no-index: :type: Optional[System.Int32] Gets the pixel height of the plane's image. .. !! processed by numpydoc !! .. py:property:: Width :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the physical width of the image plane. .. !! processed by numpydoc !! .. py:property:: Height :no-index: :type: Optional[Ansys.Core.Units.Quantity] Gets or sets the physical height of the image plane. .. !! processed by numpydoc !! .. py:property:: FlipHorizontally :no-index: :type: Optional[System.Boolean] Gets or sets whether the rendered image on the plane should be flipped horizontally. .. !! processed by numpydoc !! .. py:property:: FlipVertically :no-index: :type: Optional[System.Boolean] Gets or sets whether the rendered image on the plane should be flipped vertically. .. !! processed by numpydoc !! .. py:property:: Translucency :no-index: :type: Optional[System.Int32] Gets or sets the translucency of the plane, as a percentage ranging from 0 to 100. .. !! processed by numpydoc !! .. py:property:: ShowAlways :no-index: :type: Optional[System.Boolean] Gets or sets whether the image plane will be shown independent of the active object in the tree. .. !! 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:: 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:: Import(filePath: System.String) -> System.Void :no-index: Sets the image which is rendered to this plane, specified by filePath. Upon success, ImageFilePath will return filePath. Upon failure, ImageFilePath will remain unchanged. Supported file formats include PNG, JPEG, BMP, and GIF. If this is the first time an image has been set to this image plane and if Width and Height were never modified, the image plane will be automatically sized based on the model’s bounding box, respecting the image’s aspect ratio. .. !! 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