LocalDesignRestriction
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.LocalDesignRestriction#
Bases:
object
Defines a LocalDesignRestriction.
Overview#
|
Run the Delete action. |
|
Gets the list of children, filtered by type. |
|
Gets the list of children, filtered by type. |
|
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 or sets the ExclusionRegionLocation. |
|
Gets or sets the ExclusionScopingMethod. |
|
Gets the list of children. |
|
Gets or sets the MaxCumulatedDisplacementControl. |
|
Gets or sets the MorphingTotalMoveLimit. |
|
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 LocalDesignRestriction.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSOptimizationRegionAuto | None
Gets the internal object. For advanced usage only.
- property LocalDesignRestriction.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None
Gets the current DataModelObject’s category.
- property LocalDesignRestriction.ExclusionRegionLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None
Gets or sets the ExclusionRegionLocation.
- property LocalDesignRestriction.ExclusionScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None
Gets or sets the ExclusionScopingMethod.
- property LocalDesignRestriction.Children: System.Collections.Generic.IList[Ansys.ACT.Automation.Mechanical.DataModelObject] | None
Gets the list of children.
- property LocalDesignRestriction.MaxCumulatedDisplacementControl: Ansys.Mechanical.DataModel.Enums.TopoPropertyControlType | None
Gets or sets the MaxCumulatedDisplacementControl.
- property LocalDesignRestriction.MorphingTotalMoveLimit: System.Double | None
Gets or sets the MorphingTotalMoveLimit.
- property LocalDesignRestriction.InternalObject: System.Object | None
Gets the internal object. For advanced usage only.
- property LocalDesignRestriction.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties for this object.
- property LocalDesignRestriction.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties that are visible for this object.
Method detail#
- LocalDesignRestriction.Delete() System.Void
Run the Delete action.
- LocalDesignRestriction.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]
Gets the list of children, filtered by type.
- LocalDesignRestriction.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.
- LocalDesignRestriction.Activate() System.Void
Activate the current object.
- LocalDesignRestriction.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void
Copies all visible properties from this object to another.
- LocalDesignRestriction.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject
Creates a copy of the current DataModelObject.
- LocalDesignRestriction.GroupAllSimilarChildren() System.Void
Run the GroupAllSimilarChildren action.
- LocalDesignRestriction.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder
Run the GroupSimilarObjects action.
- LocalDesignRestriction.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property
Get a property by its unique name.
- LocalDesignRestriction.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.
- LocalDesignRestriction.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter
Creates a new parameter for a Property.
- LocalDesignRestriction.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter
Gets the parameter corresponding to the given property.
- LocalDesignRestriction.RemoveParameter(propName: System.String) System.Void
Removes the parameter from the parameter set corresponding to the given property.