VirtualTopology
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.VirtualTopology#
Bases:
object
Defines a VirtualTopology.
Overview#
Activate the current object. |
|
Creates a new child Comment. |
|
Creates a new child Figure. |
|
Creates a new child Image. |
|
Add Virtual Cell. |
|
Add Virtual Hard Vertex. |
|
Copies all visible properties from this object to another. |
|
Creates a new parameter for a Property. |
|
Run the Delete action. |
|
Delete all Virtual Cells. |
|
Delete all Virtual Entities. |
|
Delete all Virtual Split Hard Vertices. |
|
Delete all Virtual Split Edges. |
|
Delete all Virtual Split Faces. |
|
Creates a copy of the current DataModelObject. |
|
Generate the Virtual Cells on the selected/all entities. |
|
Gets the list of children, filtered by type. |
|
Gets the parameter corresponding to the given property. |
|
Gets the Virtual Cell from the selection. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
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. |
|
Generate the Virtual Cells on the selected/all entities. |
|
Generate the Virtual Cells on the selected/all entities. |
Gets or sets the AspectRatio. |
|
Gets or sets the Behavior when Method is set to “Automatic”. |
|
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets or sets the ContactAngle. |
|
Gets or sets the CustomFeatureAngle. |
|
Gets the current DataModelObject's category. |
|
Gets or sets the EdgeAngle. |
|
Gets the list of associated figures. |
|
Gets or sets the GaussAngle. |
|
Gets or sets the GenerateOnUpdate. |
|
Gets the list of associated images. |
|
Gets the internal object. For advanced usage only. |
|
Gets or sets the LockPositionOfDependentEdgeSplits. |
|
Gets or sets the MaxEdgeLength. |
|
Gets or sets the MaxFaceArea. |
|
Gets or sets the MaxSliverWidth. |
|
Gets or sets the MergeFaceEdges. |
|
Gets or sets the Method. |
|
Gets or sets the MinEdgeLength. |
|
Gets or sets the MinFaceArea. |
|
Gets or sets the MinSliverWidth. |
|
Gets the list of properties for this object. |
|
Gets or sets the Behavior when Method is set to “Repair”. |
|
Gets or sets the SharedBoundaryRatio. |
|
Gets or sets the SimplifyFaces. |
|
Gets the VirtualEdges. |
|
Gets the VirtualEntities. |
|
Gets the VirtualFaces. |
|
Gets the VirtualHardVertex. |
|
Gets the VirtualSplitEdges. |
|
Gets the VirtualSplitFaces. |
|
Gets the list of properties that are visible for this object. |
Property detail#
- property VirtualTopology.AutomaticBehavior: Ansys.Mechanical.DataModel.Enums.VirtualCellGroupAutomaticBehaviorType | None#
Gets or sets the Behavior when Method is set to “Automatic”.
- property VirtualTopology.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
Gets the list of children.
- property VirtualTopology.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
Gets the list of associated comments.
- property VirtualTopology.ContactAngle: Ansys.Core.Units.Quantity | None#
Gets or sets the ContactAngle.
- property VirtualTopology.CustomFeatureAngle: Ansys.Core.Units.Quantity | None#
Gets or sets the CustomFeatureAngle.
- property VirtualTopology.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
Gets the current DataModelObject's category.
- property VirtualTopology.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#
Gets the list of associated figures.
- property VirtualTopology.GenerateOnUpdate: Ansys.Mechanical.DataModel.Enums.YesNoType | None#
Gets or sets the GenerateOnUpdate.
- property VirtualTopology.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#
Gets the list of associated images.
- property VirtualTopology.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSVirtualCellGroupAuto | None#
Gets the internal object. For advanced usage only.
- property VirtualTopology.LockPositionOfDependentEdgeSplits: Ansys.Mechanical.DataModel.Enums.YesNoType | None#
Gets or sets the LockPositionOfDependentEdgeSplits.
- property VirtualTopology.MaxEdgeLength: Ansys.Core.Units.Quantity | None#
Gets or sets the MaxEdgeLength.
- property VirtualTopology.MaxFaceArea: Ansys.Core.Units.Quantity | None#
Gets or sets the MaxFaceArea.
- property VirtualTopology.MaxSliverWidth: Ansys.Core.Units.Quantity | None#
Gets or sets the MaxSliverWidth.
- property VirtualTopology.MergeFaceEdges: Ansys.Mechanical.DataModel.Enums.YesNoType | None#
Gets or sets the MergeFaceEdges.
- property VirtualTopology.Method: Ansys.Mechanical.DataModel.Enums.VirtualCellGroupMethodType | None#
Gets or sets the Method.
- property VirtualTopology.MinEdgeLength: Ansys.Core.Units.Quantity | None#
Gets or sets the MinEdgeLength.
- property VirtualTopology.MinFaceArea: Ansys.Core.Units.Quantity | None#
Gets or sets the MinFaceArea.
- property VirtualTopology.MinSliverWidth: Ansys.Core.Units.Quantity | None#
Gets or sets the MinSliverWidth.
- property VirtualTopology.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
- property VirtualTopology.RepairBehavior: Ansys.Mechanical.DataModel.Enums.VirtualCellGroupRepairBehaviorType | None#
Gets or sets the Behavior when Method is set to “Repair”.
Gets or sets the SharedBoundaryRatio.
- property VirtualTopology.SimplifyFaces: Ansys.Mechanical.DataModel.Enums.YesNoType | None#
Gets or sets the SimplifyFaces.
Method detail#
- VirtualTopology.AddComment() Ansys.ACT.Automation.Mechanical.Comment #
Creates a new child Comment.
- VirtualTopology.AddFigure() Ansys.ACT.Automation.Mechanical.Figure #
Creates a new child Figure.
- VirtualTopology.AddImage(filePath: str) Ansys.ACT.Automation.Mechanical.Image #
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.
- VirtualTopology.AddVirtualCell(iSelInfo: Ansys.ACT.Interfaces.Common.ISelectionInfo) Iterable[Ansys.ACT.Automation.Mechanical.VirtualCell] #
Add Virtual Cell.
- VirtualTopology.AddVirtualHardVertex(iSelInfo: Ansys.ACT.Interfaces.Common.ISelectionInfo, point: Ansys.Mechanical.Graphics.Point) None #
Add Virtual Hard Vertex.
- VirtualTopology.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None #
Copies all visible properties from this object to another.
- VirtualTopology.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Creates a new parameter for a Property.
- VirtualTopology.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject #
Creates a copy of the current DataModelObject.
- VirtualTopology.GenerateVirtualCells(selectionInfo: Ansys.ACT.Interfaces.Common.ISelectionInfo) None #
Generate the Virtual Cells on the selected/all entities.
- VirtualTopology.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType] #
Gets the list of children, filtered by type.
- VirtualTopology.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Gets the parameter corresponding to the given property.
- VirtualTopology.GetVirtualCellFromSelection(currentSelection: Ansys.ACT.Interfaces.Common.ISelectionInfo) Ansys.ACT.Automation.Mechanical.VirtualCell #
Gets the Virtual Cell from the selection.
- VirtualTopology.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder #
Run the GroupSimilarObjects action.
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.
- VirtualTopology.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property #
Get a property by its unique name.
- VirtualTopology.RemoveParameter(propName: str) None #
Removes the parameter from the parameter set corresponding to the given property.