ModelImport
#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.ModelImport#
Bases:
object
Defines a ModelImport.
Overview#
Activate the current object. |
|
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. |
|
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. |
|
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. |
Gets or sets the AnalysisTypeDimensionSetting. |
|
Gets the ApplicationSourceSetting. |
|
Gets or sets the BodyGroupByAnsysElmTypeNumber. |
|
Gets or sets the BodyGroupByMaterialNumber. |
|
Gets or sets the BodyGroupByThickness. |
|
Gets the list of children. |
|
Gets the list of associated comments. |
|
Gets or sets the CreateGeometry. |
|
Gets or sets the CreateGeometryEdgeComponents. |
|
Gets or sets the CreateGeometryFaceComponents. |
|
Gets or sets the CreateGeometryVertexComponent. |
|
Gets the current DataModelObject's category. |
|
Gets or sets the ElementComponentKey. |
|
Gets or sets the ElementOffset. |
|
Gets or sets the FaceComponentKey. |
|
Gets the list of associated figures. |
|
Gets or sets the GeometryComponentKey. |
|
Gets the list of associated images. |
|
Gets or sets the ImportMaterials. |
|
Gets the internal object. For advanced usage only. |
|
Gets or sets the MaterialConsolidation. |
|
Gets or sets the ModelImportSourceFilePath. |
|
Gets or sets the NodalComponentKey. |
|
Gets or sets the NodeAndElementRenumberingMethod. |
|
Gets or sets the NodeOffset. |
|
Gets or sets the ProcessElementComponents. |
|
Gets or sets the ProcessFaceComponents. |
|
Gets or sets the ProcessLineBodies. |
|
Gets or sets the ProcessMesh200Elms. |
|
Gets or sets the ProcessModelData. |
|
Gets or sets the ProcessNodalComponents. |
|
Gets or sets the ProcessValidBlockedCDBFile. |
|
Gets the list of properties for this object. |
|
Gets the SourceIdentifier. |
|
Gets or sets the ToleranceAngle. |
|
Gets or sets the UnitSystemTypeForImport. |
|
Gets or sets the VertexInsertionAngle. |
|
Gets the list of properties that are visible for this object. |
Property detail#
- property ModelImport.AnalysisTypeDimensionSetting: Ansys.Mechanical.DataModel.Enums.AnalysisTypeDimensionEnum | None#
Gets or sets the AnalysisTypeDimensionSetting.
- property ModelImport.ApplicationSourceSetting: Ansys.Mechanical.DataModel.Enums.ApplicationSourceEnum | None#
Gets the ApplicationSourceSetting.
- property ModelImport.BodyGroupByAnsysElmTypeNumber: bool | None#
Gets or sets the BodyGroupByAnsysElmTypeNumber.
- property ModelImport.BodyGroupByMaterialNumber: bool | None#
Gets or sets the BodyGroupByMaterialNumber.
- property ModelImport.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
Gets the list of children.
- property ModelImport.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
Gets the list of associated comments.
- property ModelImport.CreateGeometryEdgeComponents: bool | None#
Gets or sets the CreateGeometryEdgeComponents.
- property ModelImport.CreateGeometryFaceComponents: bool | None#
Gets or sets the CreateGeometryFaceComponents.
- property ModelImport.CreateGeometryVertexComponent: bool | None#
Gets or sets the CreateGeometryVertexComponent.
- property ModelImport.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
Gets the current DataModelObject's category.
- property ModelImport.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#
Gets the list of associated figures.
- property ModelImport.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#
Gets the list of associated images.
- property ModelImport.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSModelImportAuto | None#
Gets the internal object. For advanced usage only.
- property ModelImport.ModelImportSourceFilePath: str | None#
Gets or sets the ModelImportSourceFilePath.
- property ModelImport.NodeAndElementRenumberingMethod: Ansys.Mechanical.DataModel.Enums.NodeAndElementRenumberingMethodType | None#
Gets or sets the NodeAndElementRenumberingMethod.
- property ModelImport.ProcessElementComponents: bool | None#
Gets or sets the ProcessElementComponents.
- property ModelImport.ProcessValidBlockedCDBFile: bool | None#
Gets or sets the ProcessValidBlockedCDBFile.
- property ModelImport.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
Gets the list of properties for this object.
- property ModelImport.ToleranceAngle: Ansys.Core.Units.Quantity | None#
Gets or sets the ToleranceAngle.
- property ModelImport.UnitSystemTypeForImport: Ansys.Mechanical.DataModel.Enums.ModelImportUnitSystemType | None#
Gets or sets the UnitSystemTypeForImport.
Method detail#
- ModelImport.AddComment() Ansys.ACT.Automation.Mechanical.Comment #
Creates a new child Comment.
- ModelImport.AddFigure() Ansys.ACT.Automation.Mechanical.Figure #
Creates a new child Figure.
- ModelImport.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.
- ModelImport.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None #
Copies all visible properties from this object to another.
- ModelImport.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Creates a new parameter for a Property.
- ModelImport.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject #
Creates a copy of the current DataModelObject.
- ModelImport.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType] #
Gets the list of children, filtered by type.
- ModelImport.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter #
Gets the parameter corresponding to the given property.
- ModelImport.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.