Spring#
- class ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.Connections.Spring#
 Bases:
objectDefines a Spring.
Overview#
Activate the current object.  | 
|
Creates a new CommandSnippet  | 
|
Creates a new child Comment.  | 
|
Creates a new child Figure.  | 
|
Creates a new child Image.  | 
|
Copies all visible properties from this object to another.  | 
|
Creates a new parameter for a Property.  | 
|
Run the Delete action.  | 
|
Creates a copy of the current DataModelObject.  | 
|
Gets the list of children, filtered by type.  | 
|
Gets the parameter corresponding to the given property.  | 
|
Run the GroupAllSimilarChildren action.  | 
|
Run the GroupSimilarObjects action.  | 
|
Run the PromoteToNamedSelection action.  | 
|
Run the PromoteToRemotePoint 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.  | 
|
Run the RenameBasedOnDefinition action.  | 
Gets the list of children.  | 
|
Gets the list of associated comments.  | 
|
Gets the current DataModelObject's category.  | 
|
Gets the list of associated figures.  | 
|
Gets or sets the FreeLength.  | 
|
Gets the list of associated images.  | 
|
Gets the internal object. For advanced usage only.  | 
|
Gets or sets the Load.  | 
|
Gets or sets the LongitudinalDamping.  | 
|
Gets or sets the constant longitudinal stiffness (expressed in N/m).  | 
|
Gets or sets the Material.  | 
|
Gets or sets the MobileAppliedBy.  | 
|
Gets or sets the MobileBeamMaterial.  | 
|
Gets or sets the MobileBeamRadius.  | 
|
Gets or sets the MobileBehavior.  | 
|
Gets the MobileBody.  | 
|
Gets or sets the MobileCoordinateSystem.  | 
|
Gets or sets the MobileLocation.  | 
|
Returns Mobile Node Id.  | 
|
Gets or sets the MobilePinballRegion.  | 
|
Gets or sets the MobileScopeLocation.  | 
|
Gets or sets the MobileXCoordinate.  | 
|
Gets or sets the MobileYCoordinate.  | 
|
Gets or sets the MobileZCoordinate.  | 
|
Gets the non linear longitudinal stiffness defined in the tabular data.  | 
|
Gets or sets the PreloadType.  | 
|
Gets the list of properties for this object.  | 
|
Gets or sets the ReadOnly.  | 
|
Gets or sets the ReferenceAppliedBy.  | 
|
Gets or sets the ReferenceBeamMaterial.  | 
|
Gets or sets the ReferenceBeamRadius.  | 
|
Gets or sets the ReferenceBehavior.  | 
|
Gets the ReferenceBody.  | 
|
Gets or sets the ReferenceCoordinateSystem.  | 
|
Gets or sets the ReferenceLocation.  | 
|
Returns Reference Node Id.  | 
|
Gets or sets the ReferencePinballRegion.  | 
|
Gets or sets the ReferenceScopeLocation.  | 
|
Gets or sets the ReferenceXCoordinate.  | 
|
Gets or sets the ReferenceYCoordinate.  | 
|
Gets or sets the ReferenceZCoordinate.  | 
|
Gets or sets the Rotation.  | 
|
Gets or sets the Scope.  | 
|
Gets or sets the SpringBehavior.  | 
|
Gets or sets the SpringElementAPDLName.  | 
|
Gets the SpringLength.  | 
|
Gets or sets the SpringType.  | 
|
Gets or sets the Suppressed.  | 
|
Gets or sets the Torque.  | 
|
Gets or sets the TorsionalDamping.  | 
|
Gets or sets the TorsionalStiffness.  | 
|
Gets or sets the Visible.  | 
|
Gets the list of properties that are visible for this object.  | 
Property detail#
- property Spring.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
 Gets the list of children.
- property Spring.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
 Gets the list of associated comments.
- property Spring.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
 Gets the current DataModelObject's category.
- property Spring.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#
 Gets the list of associated figures.
- property Spring.FreeLength: Ansys.Core.Units.Quantity | None#
 Gets or sets the FreeLength.
- property Spring.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#
 Gets the list of associated images.
- property Spring.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSSpringAuto | None#
 Gets the internal object. For advanced usage only.
- property Spring.Load: Ansys.Core.Units.Quantity | None#
 Gets or sets the Load.
- property Spring.LongitudinalDamping: Ansys.Core.Units.Quantity | None#
 Gets or sets the LongitudinalDamping.
- property Spring.LongitudinalStiffness: Ansys.Core.Units.Quantity | None#
 Gets or sets the constant longitudinal stiffness (expressed in N/m).
- property Spring.MobileAppliedBy: Ansys.Mechanical.DataModel.Enums.RemoteApplicationType | None#
 Gets or sets the MobileAppliedBy.
- property Spring.MobileBeamRadius: Ansys.Core.Units.Quantity | None#
 Gets or sets the MobileBeamRadius.
- property Spring.MobileBehavior: Ansys.Mechanical.DataModel.Enums.LoadBehavior | None#
 Gets or sets the MobileBehavior.
- property Spring.MobileCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#
 Gets or sets the MobileCoordinateSystem.
- property Spring.MobileLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
 Gets or sets the MobileLocation.
- property Spring.MobilePinballRegion: Ansys.Core.Units.Quantity | None#
 Gets or sets the MobilePinballRegion.
- property Spring.MobileScopeLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
 Gets or sets the MobileScopeLocation.
- property Spring.MobileXCoordinate: Ansys.Core.Units.Quantity | None#
 Gets or sets the MobileXCoordinate.
- property Spring.MobileYCoordinate: Ansys.Core.Units.Quantity | None#
 Gets or sets the MobileYCoordinate.
- property Spring.MobileZCoordinate: Ansys.Core.Units.Quantity | None#
 Gets or sets the MobileZCoordinate.
- property Spring.NonLinearLongitudinalStiffness: Ansys.ACT.Mechanical.Fields.Field | None#
 Gets the non linear longitudinal stiffness defined in the tabular data.
- property Spring.PreloadType: Ansys.Mechanical.DataModel.Enums.SpringPreloadType | None#
 Gets or sets the PreloadType.
- property Spring.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
 Gets the list of properties for this object.
- property Spring.ReferenceAppliedBy: Ansys.Mechanical.DataModel.Enums.RemoteApplicationType | None#
 Gets or sets the ReferenceAppliedBy.
- property Spring.ReferenceBeamRadius: Ansys.Core.Units.Quantity | None#
 Gets or sets the ReferenceBeamRadius.
- property Spring.ReferenceBehavior: Ansys.Mechanical.DataModel.Enums.LoadBehavior | None#
 Gets or sets the ReferenceBehavior.
- property Spring.ReferenceCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#
 Gets or sets the ReferenceCoordinateSystem.
- property Spring.ReferenceLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
 Gets or sets the ReferenceLocation.
- property Spring.ReferencePinballRegion: Ansys.Core.Units.Quantity | None#
 Gets or sets the ReferencePinballRegion.
- property Spring.ReferenceScopeLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
 Gets or sets the ReferenceScopeLocation.
- property Spring.ReferenceXCoordinate: Ansys.Core.Units.Quantity | None#
 Gets or sets the ReferenceXCoordinate.
- property Spring.ReferenceYCoordinate: Ansys.Core.Units.Quantity | None#
 Gets or sets the ReferenceYCoordinate.
- property Spring.ReferenceZCoordinate: Ansys.Core.Units.Quantity | None#
 Gets or sets the ReferenceZCoordinate.
- property Spring.Rotation: Ansys.Core.Units.Quantity | None#
 Gets or sets the Rotation.
- property Spring.Scope: Ansys.Mechanical.DataModel.Enums.SpringScopingType | None#
 Gets or sets the Scope.
- property Spring.SpringBehavior: Ansys.Mechanical.DataModel.Enums.SpringBehavior | None#
 Gets or sets the SpringBehavior.
- property Spring.SpringLength: Ansys.Core.Units.Quantity | None#
 Gets the SpringLength.
- property Spring.SpringType: Ansys.Mechanical.DataModel.Enums.SpringType | None#
 Gets or sets the SpringType.
- property Spring.Torque: Ansys.Core.Units.Quantity | None#
 Gets or sets the Torque.
- property Spring.TorsionalDamping: Ansys.Core.Units.Quantity | None#
 Gets or sets the TorsionalDamping.
- property Spring.TorsionalStiffness: Ansys.Core.Units.Quantity | None#
 Gets or sets the TorsionalStiffness.
Method detail#
- Spring.AddCommandSnippet() Ansys.ACT.Automation.Mechanical.CommandSnippet#
 Creates a new CommandSnippet
- Spring.AddComment() Ansys.ACT.Automation.Mechanical.Comment#
 Creates a new child Comment.
- Spring.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#
 Creates a new child Figure.
- Spring.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.
- Spring.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#
 Copies all visible properties from this object to another.
- Spring.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
 Creates a new parameter for a Property.
- Spring.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#
 Creates a copy of the current DataModelObject.
- Spring.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
 Gets the list of children, filtered by type.
- Spring.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
 Gets the parameter corresponding to the given property.
- Spring.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#
 Run the GroupSimilarObjects action.
- Spring.PromoteToNamedSelection() Iterable[Ansys.ACT.Automation.Mechanical.NamedSelection]#
 Run the PromoteToNamedSelection action.
- Spring.PromoteToRemotePoint() Iterable[Ansys.ACT.Automation.Mechanical.RemotePoint]#
 Run the PromoteToRemotePoint 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.
- Spring.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#
 Get a property by its unique name.