MillingConstraint#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.MillingConstraint(internalObject: Any)#

Bases: object

Defines a MillingConstraint.

Overview#

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

Removes the parameter from the parameter set corresponding to the given property.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClampAxis

Defines which axis of the coordinate system is the outward perpendicular direction to the milling clamp.

ClsId

ClsId property.

CoordinateSystem

Defines the coordinate system for the milling process. An exception will be thrown if the selected coordinate system is not cartesian.

DataModelObjectCategory

Gets the current DataModelObject's category.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

InternalObject

Gets the internal object. For advanced usage only.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

Selection

Gets or sets the Selection.

State

State property.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

Gets the list of properties that are visible for this object.

Property detail#

property MillingConstraint.AttachedRefs: List[int] | None#

AttachedRefs property.

property MillingConstraint.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property MillingConstraint.ClampAxis: Ansys.Mechanical.DataModel.Enums.CoordinateSystemAxisType | None#

Defines which axis of the coordinate system is the outward perpendicular direction to the milling clamp.

property MillingConstraint.ClsId: int | None#

ClsId property.

property MillingConstraint.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Defines the coordinate system for the milling process. An exception will be thrown if the selected coordinate system is not cartesian.

property MillingConstraint.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#

Gets the current DataModelObject's category.

property MillingConstraint.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property MillingConstraint.IconName: str | None#

IconName property.

property MillingConstraint.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSTopoConstraintAuto | None#

Gets the internal object. For advanced usage only.

property MillingConstraint.Name: str | None#

Name property.

property MillingConstraint.ObjectId: int | None#

ObjectId property.

property MillingConstraint.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property MillingConstraint.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property MillingConstraint.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

property MillingConstraint.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

property MillingConstraint.Selection: Ansys.ACT.Automation.Mechanical.OptimizationRegion | None#

Gets or sets the Selection.

property MillingConstraint.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property MillingConstraint.Suppressed: bool | None#

Gets or sets the Suppressed.

property MillingConstraint.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties that are visible for this object.

Method detail#

MillingConstraint.Activate() None#

Activate the current object.

MillingConstraint.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

MillingConstraint.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

MillingConstraint.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

MillingConstraint.Delete() None#

Run the Delete action.

MillingConstraint.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

MillingConstraint.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

MillingConstraint.GetAPIName(dispId: int) str#

Property name bound to dispId.

MillingConstraint.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

MillingConstraint.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

MillingConstraint.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

MillingConstraint.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

MillingConstraint.GetHashCode() int#

GetHashCode method.

MillingConstraint.GetIconFile() System.Byte#

GetIconFile method.

MillingConstraint.GetLifetimeService() Any#

GetLifetimeService method.

MillingConstraint.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

MillingConstraint.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

MillingConstraint.GetPath() str#

GetPath method.

MillingConstraint.GetPropertyName(dispId: int) str#

GetPropertyName method.

MillingConstraint.GetPropertyValue(name: str) Any#

GetPropertyValue method.

MillingConstraint.GetType() type#

GetType method.

MillingConstraint.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

MillingConstraint.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

MillingConstraint.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

MillingConstraint.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

MillingConstraint.InitializeLifetimeService() Any#

InitializeLifetimeService method.

MillingConstraint.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

MillingConstraint.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

MillingConstraint.PropertyByAPIName(name: str) 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.
MillingConstraint.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

MillingConstraint.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

MillingConstraint.RemoveParameter(propName: str) None#

Removes the parameter from the parameter set corresponding to the given property.

MillingConstraint.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.

MillingConstraint.ToString() str#

ToString method.