ImagePlane#
- class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.ImagePlane(internalObject: Any)#
Bases:
objectDefines a ImagePlane.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Copies all visible properties from this object to another. |
|
CreateObjRef method. |
|
Creates a new parameter for a Property. |
|
Run the Delete action. |
|
Creates a copy of the current DataModelObject. |
|
Equals method. |
|
Property name bound to dispId. |
|
GetAllProperties method. |
|
Gets the list of children, filtered by type. |
|
GetDetailsView method. |
|
Enum name bound to value |
|
GetHashCode method. |
|
GetIconFile method. |
|
GetLifetimeService method. |
|
GetObjectData method. |
|
Gets the parameter corresponding to the given property. |
|
GetPath method. |
|
GetPropertyName method. |
|
GetPropertyValue method. |
|
GetType method. |
|
GetVisibleProperties method. |
|
GetVisiblePropertyNames method. |
|
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. |
|
InitializeLifetimeService method. |
|
IsPropertyEditable method. |
|
IsPropertyVisible method. |
|
Get a property by its API name. |
|
PropertyById method. |
|
Get a property by its unique name. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
ToString method. |
AttachedRefs property. |
|
Gets the list of children. |
|
ClsId property. |
|
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. |
|
GroupingFolder property. |
|
Gets or sets the physical height of the image plane. |
|
IconName property. |
|
Gets the file path for the rendered image. |
|
Gets the list of associated images. |
|
Gets the internal object. For advanced usage only. |
|
Name property. |
|
ObjectId property. |
|
ObjectState property. |
|
ObjectTags property. |
|
Parent property. |
|
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. |
|
State property. |
|
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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
GroupingFolder property.
- 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.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#
ObjectState property.
- property ImagePlane.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#
ObjectTags property.
- property ImagePlane.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
Parent property.
- 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.
- property ImagePlane.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties that are visible for this object.
- property ImagePlane.Width: Ansys.Core.Units.Quantity | None#
Gets or sets the physical width of the image plane.
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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#
Equals method.
- ImagePlane.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#
GetAllProperties method.
- ImagePlane.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
Gets the list of children, filtered by type.
- ImagePlane.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#
GetDetailsView method.
- ImagePlane.GetIconFile() System.Byte#
GetIconFile method.
- ImagePlane.GetLifetimeService() Any#
GetLifetimeService method.
- ImagePlane.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#
GetObjectData method.
- ImagePlane.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
Gets the parameter corresponding to the given property.
- ImagePlane.GetVisibleProperties() List[System.Reflection.PropertyInfo]#
GetVisibleProperties method.
- 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.
- ImagePlane.InitializeLifetimeService() Any#
InitializeLifetimeService method.
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.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#
Get a property by its unique name.