ImagePlane
#
- class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.ImagePlane#
Bases:
object
Defines a ImagePlane.
Overview#
|
Run the Delete action. |
|
Gets the list of children, filtered by type. |
|
Gets the list of children, filtered by type. |
|
Creates a new child Comment. |
|
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. |
|
Activate the current object. |
|
Copies all visible properties from this object to another. |
|
Creates a copy of the current DataModelObject. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
Get a property by its unique name. |
|
Get a property by its API name. |
|
Creates a new parameter for a Property. |
|
Gets the parameter corresponding to the given property. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
Gets the internal object. For advanced usage only. |
|
Gets the current DataModelObject’s category. |
|
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets the list of associated images. |
|
Gets the file path for the rendered image. |
|
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 pixel width of the plane’s image. |
|
Gets the pixel height of the plane’s image. |
|
Gets or sets the physical width of the image plane. |
|
Gets or sets the physical height of the image plane. |
|
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 translucency of the plane, as a percentage ranging from 0 to 100. |
|
Gets or sets whether the image plane will be shown independent of the active object in the tree. |
|
Gets the internal object. For advanced usage only. |
|
Gets the list of properties for this object. |
|
Gets the list of properties that are visible for this object. |
Property detail#
- property ImagePlane.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSAdvancedPostOutputAuto | None
Gets the internal object. For advanced usage only.
- property ImagePlane.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None
Gets the current DataModelObject’s category.
- property ImagePlane.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None
Gets the list of children.
- property ImagePlane.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None
Gets the list of associated comments.
- property ImagePlane.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None
Gets the list of associated images.
- property ImagePlane.ImageFilePath: System.String | None
Gets the file path for the rendered image.
- 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: System.Boolean | None
Gets or sets whether the annotation for the image’s coordinate system is rendered.
- property ImagePlane.PixelWidth: System.Int32 | None
Gets the pixel width of the plane’s image.
- property ImagePlane.PixelHeight: System.Int32 | None
Gets the pixel height of the plane’s image.
- property ImagePlane.Width: Ansys.Core.Units.Quantity | None
Gets or sets the physical width of the image plane.
- property ImagePlane.Height: Ansys.Core.Units.Quantity | None
Gets or sets the physical height of the image plane.
- property ImagePlane.FlipHorizontally: System.Boolean | None
Gets or sets whether the rendered image on the plane should be flipped horizontally.
- property ImagePlane.FlipVertically: System.Boolean | None
Gets or sets whether the rendered image on the plane should be flipped vertically.
- property ImagePlane.Translucency: System.Int32 | None
Gets or sets the translucency of the plane, as a percentage ranging from 0 to 100.
- property ImagePlane.ShowAlways: System.Boolean | None
Gets or sets whether the image plane will be shown independent of the active object in the tree.
- property ImagePlane.InternalObject: System.Object | None
Gets the internal object. For advanced usage only.
- property ImagePlane.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties for this object.
- property ImagePlane.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties that are visible for this object.
Method detail#
- ImagePlane.Delete() System.Void
Run the Delete action.
- ImagePlane.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]
Gets the list of children, filtered by type.
- ImagePlane.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]
Gets the list of children, filtered by type.
- ImagePlane.AddComment() Ansys.ACT.Automation.Mechanical.Comment
Creates a new child Comment.
- ImagePlane.Import(filePath: System.String) System.Void
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.
- ImagePlane.Activate() System.Void
Activate the current object.
- ImagePlane.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void
Copies all visible properties from this object to another.
- ImagePlane.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject
Creates a copy of the current DataModelObject.
- ImagePlane.GroupAllSimilarChildren() System.Void
Run the GroupAllSimilarChildren action.
- ImagePlane.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder
Run the GroupSimilarObjects action.
- ImagePlane.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property
Get a property by its unique name.
- ImagePlane.PropertyByAPIName(name: System.String) Ansys.ACT.Automation.Mechanical.Property
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.
- ImagePlane.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter
Creates a new parameter for a Property.
- ImagePlane.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter
Gets the parameter corresponding to the given property.
- ImagePlane.RemoveParameter(propName: System.String) System.Void
Removes the parameter from the parameter set corresponding to the given property.