ModelImport#
- class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.ModelImport(internalObject: Any)#
Bases:
objectDefines 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. |
|
CreateObjRef method. |
|
Creates a new parameter for a Property. |
|
DeleteAssociatedBodies method. |
|
Creates a copy of the current DataModelObject. |
|
Equals method. |
|
Generate method. |
|
Property name bound to dispId. |
|
GetAllProperties method. |
|
Gets the list of children, filtered by type. |
|
GetDetailsView method. |
|
Enum name bound to value |
|
GetHashCode method. |
|
GetIconFile method. |
|
GetLifetimeService method. |
|
GetObjectData method. |
|
Gets the parameter corresponding to the given property. |
|
GetPath method. |
|
GetPropertyName method. |
|
GetPropertyValue method. |
|
GetType method. |
|
GetVisibleProperties method. |
|
GetVisiblePropertyNames method. |
|
Run the GroupAllSimilarChildren action. |
|
Run the GroupSimilarObjects action. |
|
Import method. |
|
InitializeLifetimeService method. |
|
IsPropertyEditable method. |
|
IsPropertyVisible method. |
|
Get a property by its API name. |
|
PropertyById method. |
|
Get a property by its unique name. |
|
Removes the parameter from the parameter set corresponding to the given property. |
|
ToString method. |
Gets or sets the AnalysisTypeDimensionSetting. |
|
Gets the ApplicationSourceSetting. |
|
AttachedRefs property. |
|
Gets or sets the BodyGroupByAnsysElmTypeNumber. |
|
Gets or sets the BodyGroupByMaterialNumber. |
|
Gets or sets the BodyGroupByThickness. |
|
CanRemove property. |
|
Gets the list of children. |
|
ClsId property. |
|
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. |
|
FilePath property. |
|
Gets or sets the GeometryComponentKey. |
|
GroupingFolder property. |
|
IconName property. |
|
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. |
|
Name property. |
|
Gets or sets the NodalComponentKey. |
|
Gets or sets the NodeAndElementRenumberingMethod. |
|
Gets or sets the NodeOffset. |
|
ObjectId property. |
|
ObjectState property. |
|
ObjectTags property. |
|
Parent property. |
|
PostAction property. |
|
PreAction property. |
|
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. |
|
State property. |
|
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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
GroupingFolder property.
- 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.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#
ObjectState property.
- property ModelImport.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#
ObjectTags property.
- property ModelImport.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#
Parent property.
- 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.
- property ModelImport.VertexInsertionAngle: Ansys.Core.Units.Quantity | None#
Gets or sets the VertexInsertionAngle.
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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#
Equals method.
- ModelImport.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#
GetAllProperties method.
- ModelImport.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
Gets the list of children, filtered by type.
- ModelImport.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#
GetDetailsView method.
- ModelImport.GetIconFile() System.Byte#
GetIconFile method.
- ModelImport.GetLifetimeService() Any#
GetLifetimeService method.
- ModelImport.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#
GetObjectData method.
- ModelImport.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
Gets the parameter corresponding to the given property.
- ModelImport.GetVisibleProperties() List[System.Reflection.PropertyInfo]#
GetVisibleProperties method.
- ModelImport.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#
Run the GroupSimilarObjects action.
- ModelImport.InitializeLifetimeService() Any#
InitializeLifetimeService method.
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.
- ModelImport.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#
PropertyById method.
- ModelImport.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#
Get a property by its unique name.