ImagePlane
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.ImagePlane#
Bases:
object
Defines a ImagePlane.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Copies all visible properties from this object to another. |
|
Creates a new parameter for a Property. |
|
Run the Delete action. |
|
Creates a copy of the current DataModelObject. |
|
Gets the list of children, filtered by type. |
|
Gets the parameter corresponding to the given property. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
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. |
|
Get a property by its API name. |
|
Get a property by its unique name. |
|
Removes the parameter from the parameter set corresponding to the given property. |
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets or sets the coordinate system object used for defining the plane's location and orientation. This property is restricted to cartesian coordinate systems. |
|
Gets or sets whether the annotation for the image's coordinate system is rendered. |
|
Gets the current DataModelObject's category. |
|
Gets or sets whether the rendered image on the plane should be flipped horizontally. |
|
Gets or sets whether the rendered image on the plane should be flipped vertically. |
|
Gets or sets the physical height of the image plane. |
|
Gets the file path for the rendered image. |
|
Gets the list of associated images. |
|
Gets the internal object. For advanced usage only. |
|
Gets the pixel height of the plane's image. |
|
Gets the pixel width of the plane's image. |
|
Gets the list of properties for this object. |
|
Gets or sets whether the image plane will be shown independent of the active object in the tree. |
|
Gets or sets the translucency of the plane, as a percentage ranging from 0 to 100. |
|
Gets the list of properties that are visible for this object. |
|
Gets or sets the physical width of the image plane. |
Property detail#
- property ImagePlane.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
Gets the list of children.
- property ImagePlane.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
Gets the list of associated comments.
- property ImagePlane.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#
Gets or sets the coordinate system object used for defining the plane's location and orientation. This property is restricted to cartesian coordinate systems.
- property ImagePlane.CoordinateSystemVisible: bool | None#
Gets or sets whether the annotation for the image's coordinate system is rendered.
- property ImagePlane.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
Gets the current DataModelObject's category.
- property ImagePlane.FlipHorizontally: bool | None#
Gets or sets whether the rendered image on the plane should be flipped horizontally.
- property ImagePlane.FlipVertically: bool | None#
Gets or sets whether the rendered image on the plane should be flipped vertically.
- property ImagePlane.Height: Ansys.Core.Units.Quantity | None#
Gets or sets the physical height of the image plane.
- property ImagePlane.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#
Gets the list of associated images.
- property ImagePlane.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSAdvancedPostOutputAuto | None#
Gets the internal object. For advanced usage only.
- property ImagePlane.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
- property ImagePlane.ShowAlways: bool | None#
Gets or sets whether the image plane will be shown independent of the active object in the tree.
- property ImagePlane.Translucency: int | None#
Gets or sets the translucency of the plane, as a percentage ranging from 0 to 100.
Method detail#
- ImagePlane.AddComment() Ansys.ACT.Automation.Mechanical.Comment #
Creates a new child Comment.
- ImagePlane.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None #
Copies all visible properties from this object to another.
- ImagePlane.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Creates a new parameter for a Property.
- ImagePlane.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject #
Creates a copy of the current DataModelObject.
- ImagePlane.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType] #
Gets the list of children, filtered by type.
- ImagePlane.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Gets the parameter corresponding to the given property.
- ImagePlane.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder #
Run the GroupSimilarObjects action.
- ImagePlane.Import(filePath: str) None #
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.
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.