meshing.datamodel.part_management#
- class ansys.fluent.core.generated.datamodel_252.part_management.Root(service, rules, path)#
Bases:
PyMenu
Singleton Root.
Classes:
AppendFmdFiles
(service, rules, command[, path])Command AppendFmdFiles.
AssemblyNode
(service, rules[, path])ChangeFileLengthUnit
(service, rules, command)Specify the units of length used by this .stl file before loading the CAD file. Parameters ---------- LengthUnit : str Select a suitable unit for display in the graphics window.
ChangeLengthUnit
(service, rules, command[, path])Select a suitable unit for display in the graphics window. Parameters ---------- LengthUnit : str Select a suitable unit for display in the graphics window.
CreateObjForEachPart
(service, rules, command)Command CreateObjForEachPart.
CreateObjects
(service, rules, command[, path])Command CreateObjects.
Delete
(service, rules, command[, path])Command Delete.
DeletePaths
(service, rules, command[, path])Command DeletePaths.
GlobalSettings
(service, rules, path)Singleton GlobalSettings.
InitializeTemplate
(service, rules, command)Command InitializeTemplate.
InputFileChanged
(service, rules, command[, path])Command InputFileChanged.
ListMeshingOperations
(service, rules, command)Command ListMeshingOperations.
LoadFmdFile
(service, rules, command[, path])Command LoadFmdFile.
LoadTemplate
(service, rules, command[, path])Command LoadTemplate.
MarkObjectsOutofDate
(service, rules, command)Command MarkObjectsOutofDate.
MeshingOperations
(service, rules, path)Singleton MeshingOperations.
Mirror
(service, rules[, path])MoveCADComponentsToNewObject
(service, rules, ...)Command MoveCADComponentsToNewObject.
MoveToNewSubobject
(service, rules, command)Command MoveToNewSubobject.
MoveToObject
(service, rules, command[, path])Command MoveToObject.
Node
(service, rules[, path])ObjectSetting
(service, rules[, path])ObjectSettingOperations
(service, rules, path)Singleton ObjectSettingOperations.
RedoAllTransforms
(service, rules, command[, ...])Command RedoAllTransforms.
Refaceting
(service, rules[, path])RefacetingOperations
(service, rules, path)Singleton RefacetingOperations.
ResetTemplate
(service, rules, command[, path])Command ResetTemplate.
Rotate
(service, rules[, path])RotateAboutAxis
(service, rules[, path])SaveFmdFile
(service, rules, command[, path])Command SaveFmdFile.
SaveTemplate
(service, rules, command[, path])Command SaveTemplate.
Scaling
(service, rules[, path])SuppressNodeObjects
(service, rules, command)Command SuppressNodeObjects.
Transform
(service, rules[, path])TransformBase
(service, rules[, path])TransformOperations
(service, rules, path)Singleton TransformOperations.
Translate
(service, rules[, path])UndoAllTransforms
(service, rules, command[, ...])Command UndoAllTransforms.
Methods:
__init__
(service, rules, path)__init__ method of PyMenu class.
- class AppendFmdFiles(service, rules, command, path=None)#
Bases:
PyCommand
Command AppendFmdFiles.
- Parameters:
- FilePath
list
[str
] - AssemblyParentNode
int
- FileUnit
str
- Route
str
Provides the recommended route in order to import and load the specified CAD file into this task. The default settings are recommended in most cases. More…
- JtLOD
str
Specify the level of detail that you want to include for this .jt file before loading the CAD file.
- PartPerBodybool
Enable this option to make all bodies available as individual parts in the CAD Model tree once the CAD file is loaded into the task.
- PrefixParentNamebool
This applies the name of the component (or assembly) as a prefix to the individual part names when the geometry is loaded into the task.
- RemoveEmptyPartsbool
Enabled by default, this option lets you import your CAD geometry while removing any empty components.
- IgnoreSolidNamesAppendbool
Enable this field and browse and select additional CAD files. Use the Append button to add the additional CAD components to the bottom of the CAD Model tree upon loading.
- Options
dict
[str
,Any
] - RefacetOptions
dict
[str
,Any
]
- FilePath
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class AssemblyNode(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class ChangeFileLengthUnit(service, rules, command, path=None)#
Bases:
PyCommand
Specify the units of length used by this .stl file before loading the CAD file. Parameters ———- LengthUnit : str
Select a suitable unit for display in the graphics window.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class ChangeLengthUnit(service, rules, command, path=None)#
Bases:
PyCommand
Select a suitable unit for display in the graphics window. Parameters ———- LengthUnit : str
Select a suitable unit for display in the graphics window.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class CreateObjForEachPart(service, rules, command, path=None)#
Bases:
PyCommand
Command CreateObjForEachPart.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class CreateObjects(service, rules, command, path=None)#
Bases:
PyCommand
Command CreateObjects.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class Delete(service, rules, command, path=None)#
Bases:
PyCommand
Command Delete.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class DeletePaths(service, rules, command, path=None)#
Bases:
PyCommand
Command DeletePaths.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class GlobalSettings(service, rules, path)#
Bases:
PyMenu
Singleton GlobalSettings.
Classes:
CurrentContext
(service, rules[, path])Parameter CurrentContext of value type int.
CurrentNode
(service, rules[, path])Parameter CurrentNode of value type str.
DisplayBoundingBox
(service, rules[, path])Parameter DisplayBoundingBox of value type bool.
LengthUnit
(service, rules[, path])Select a suitable unit for display in the graphics window.
Methods:
__init__
(service, rules, path)__init__ method of PyMenu class.
- class CurrentContext(service, rules, path=None)#
Bases:
PyNumerical
Parameter CurrentContext of value type int.
- class CurrentNode(service, rules, path=None)#
Bases:
PyTextual
Parameter CurrentNode of value type str.
- class DisplayBoundingBox(service, rules, path=None)#
Bases:
PyParameter
Parameter DisplayBoundingBox of value type bool.
- class LengthUnit(service, rules, path=None)#
Bases:
PyTextual
Select a suitable unit for display in the graphics window.
- __init__(service, rules, path)#
__init__ method of PyMenu class.
- class InitializeTemplate(service, rules, command, path=None)#
Bases:
PyCommand
Command InitializeTemplate.
- Parameters:
- templateType
str
Specify whether to apply a translational or a rotational transformation.
- templateType
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class InputFileChanged(service, rules, command, path=None)#
Bases:
PyCommand
Command InputFileChanged.
- Parameters:
- FilePath
str
- PartPerBodybool
Enable this option to make all bodies available as individual parts in the CAD Model tree once the CAD file is loaded into the task.
- PrefixParentNamebool
This applies the name of the component (or assembly) as a prefix to the individual part names when the geometry is loaded into the task.
- RemoveEmptyPartsbool
Enabled by default, this option lets you import your CAD geometry while removing any empty components.
- IgnoreSolidNamesbool
Enable this option to import your CAD geometry while ignoring the names assigned to solids. Note that binary STL files contain a single solid and may have an associated solid name, whereas ASCII STL files contain one or more solids and each can have a solid name. This option allows to control whether or not to use the name contained in the STL file for naming mesh objects and components.
- FileLengthUnit
str
Specify the units of length used by this .stl file before loading the CAD file.
- JtLOD
str
Specify the level of detail that you want to include for this .jt file before loading the CAD file.
- Options
dict
[str
,Any
] - RefacetOptions
dict
[str
,Any
]
- FilePath
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class ListMeshingOperations(service, rules, command, path=None)#
Bases:
PyCommand
Command ListMeshingOperations.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class LoadFmdFile(service, rules, command, path=None)#
Bases:
PyCommand
Command LoadFmdFile.
- Parameters:
- FilePath
str
- FileUnit
str
- Route
str
Provides the recommended route in order to import and load the specified CAD file into this task. The default settings are recommended in most cases. More…
- JtLOD
str
Specify the level of detail that you want to include for this .jt file before loading the CAD file.
- PartPerBodybool
Enable this option to make all bodies available as individual parts in the CAD Model tree once the CAD file is loaded into the task.
- PrefixParentNamebool
This applies the name of the component (or assembly) as a prefix to the individual part names when the geometry is loaded into the task.
- RemoveEmptyPartsbool
Enabled by default, this option lets you import your CAD geometry while removing any empty components.
- IgnoreSolidNamesbool
Enable this option to import your CAD geometry while ignoring the names assigned to solids. Note that binary STL files contain a single solid and may have an associated solid name, whereas ASCII STL files contain one or more solids and each can have a solid name. This option allows to control whether or not to use the name contained in the STL file for naming mesh objects and components.
- Options
dict
[str
,Any
] - RefacetOptions
dict
[str
,Any
]
- FilePath
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class LoadTemplate(service, rules, command, path=None)#
Bases:
PyCommand
Command LoadTemplate.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class MarkObjectsOutofDate(service, rules, command, path=None)#
Bases:
PyCommand
Command MarkObjectsOutofDate.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class MeshingOperations(service, rules, path)#
Bases:
PyMenu
Singleton MeshingOperations.
Classes:
Children
(service, rules[, path])Parameter Children of value type list[str].
DeleteAllOperations
(service, rules, command)Command DeleteAllOperations.
Name
(service, rules[, path])Parameter Name of value type str.
UpdateAllOperations
(service, rules, command)Command UpdateAllOperations.
Methods:
__init__
(service, rules, path)__init__ method of PyMenu class.
- class Children(service, rules, path=None)#
Bases:
PyTextual
Parameter Children of value type list[str].
- class DeleteAllOperations(service, rules, command, path=None)#
Bases:
PyCommand
Command DeleteAllOperations.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class UpdateAllOperations(service, rules, command, path=None)#
Bases:
PyCommand
Command UpdateAllOperations.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- __init__(service, rules, path)#
__init__ method of PyMenu class.
- class Mirror(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class MoveCADComponentsToNewObject(service, rules, command, path=None)#
Bases:
PyCommand
Command MoveCADComponentsToNewObject.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class MoveToNewSubobject(service, rules, command, path=None)#
Bases:
PyCommand
Command MoveToNewSubobject.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class MoveToObject(service, rules, command, path=None)#
Bases:
PyCommand
Command MoveToObject.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class Node(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class ObjectSetting(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class ObjectSettingOperations(service, rules, path)#
Bases:
PyMenu
Singleton ObjectSettingOperations.
Classes:
Children
(service, rules[, path])Parameter Children of value type list[str].
CreateObjectSetting
(service, rules, command)Command CreateObjectSetting.
DeleteAllObjectSetting
(service, rules, command)Command DeleteAllObjectSetting.
DeleteObjectSetting
(service, rules, command)Command DeleteObjectSetting.
Name
(service, rules[, path])Parameter Name of value type str.
Methods:
__init__
(service, rules, path)__init__ method of PyMenu class.
- class Children(service, rules, path=None)#
Bases:
PyTextual
Parameter Children of value type list[str].
- class CreateObjectSetting(service, rules, command, path=None)#
Bases:
PyCommand
Command CreateObjectSetting.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class DeleteAllObjectSetting(service, rules, command, path=None)#
Bases:
PyCommand
Command DeleteAllObjectSetting.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class DeleteObjectSetting(service, rules, command, path=None)#
Bases:
PyCommand
Command DeleteObjectSetting.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- __init__(service, rules, path)#
__init__ method of PyMenu class.
- class RedoAllTransforms(service, rules, command, path=None)#
Bases:
PyCommand
Command RedoAllTransforms.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class Refaceting(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class RefacetingOperations(service, rules, path)#
Bases:
PyMenu
Singleton RefacetingOperations.
Classes:
Children
(service, rules[, path])Parameter Children of value type list[str].
CreateRefacet
(service, rules, command[, path])Select this option when you want to change faceting of the selected object.
DeleteAllRefacets
(service, rules, command[, ...])Command DeleteAllRefacets.
DeleteRefacet
(service, rules, command[, path])Select this option when you want to change faceting of the selected object.
Name
(service, rules[, path])Parameter Name of value type str.
UpdateAllRefacets
(service, rules, command[, ...])Command UpdateAllRefacets.
Methods:
__init__
(service, rules, path)__init__ method of PyMenu class.
- class Children(service, rules, path=None)#
Bases:
PyTextual
Parameter Children of value type list[str].
- class CreateRefacet(service, rules, command, path=None)#
Bases:
PyCommand
Select this option when you want to change faceting of the selected object. Refaceting will refacet the original CAD geometry. Only the faceted CAD geometry is used during the meshing process. The refaceting settings control how far the facet edges are from the model and the size of the facets. More… Parameters ———- Paths : list[str]
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class DeleteAllRefacets(service, rules, command, path=None)#
Bases:
PyCommand
Command DeleteAllRefacets.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class DeleteRefacet(service, rules, command, path=None)#
Bases:
PyCommand
Select this option when you want to change faceting of the selected object. Refaceting will refacet the original CAD geometry. Only the faceted CAD geometry is used during the meshing process. The refaceting settings control how far the facet edges are from the model and the size of the facets. More… Parameters ———- Paths : list[str]
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class UpdateAllRefacets(service, rules, command, path=None)#
Bases:
PyCommand
Command UpdateAllRefacets.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- __init__(service, rules, path)#
__init__ method of PyMenu class.
- class ResetTemplate(service, rules, command, path=None)#
Bases:
PyCommand
Command ResetTemplate.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class Rotate(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class RotateAboutAxis(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class SaveFmdFile(service, rules, command, path=None)#
Bases:
PyCommand
Command SaveFmdFile.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class SaveTemplate(service, rules, command, path=None)#
Bases:
PyCommand
Command SaveTemplate.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class Scaling(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class SuppressNodeObjects(service, rules, command, path=None)#
Bases:
PyCommand
Command SuppressNodeObjects.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class Transform(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class TransformBase(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class TransformOperations(service, rules, path)#
Bases:
PyMenu
Singleton TransformOperations.
Classes:
Children
(service, rules[, path])Parameter Children of value type list[str].
CreateTransform
(service, rules, command[, path])Command CreateTransform.
CreateTransformType
(service, rules, command)Specify whether to apply a translational or a rotational transformation. Parameters ---------- Type : str Specify whether to apply a translational or a rotational transformation. Paths : list[str].
DeleteAllTransforms
(service, rules, command)Command DeleteAllTransforms.
DeleteTransform
(service, rules, command[, path])Command DeleteTransform.
Name
(service, rules[, path])Parameter Name of value type str.
UpdateAllTransforms
(service, rules, command)Command UpdateAllTransforms.
Methods:
__init__
(service, rules, path)__init__ method of PyMenu class.
- class Children(service, rules, path=None)#
Bases:
PyTextual
Parameter Children of value type list[str].
- class CreateTransform(service, rules, command, path=None)#
Bases:
PyCommand
Command CreateTransform.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class CreateTransformType(service, rules, command, path=None)#
Bases:
PyCommand
Specify whether to apply a translational or a rotational transformation. Parameters ———- Type : str
Specify whether to apply a translational or a rotational transformation.
Paths : list[str]
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class DeleteAllTransforms(service, rules, command, path=None)#
Bases:
PyCommand
Command DeleteAllTransforms.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class DeleteTransform(service, rules, command, path=None)#
Bases:
PyCommand
Command DeleteTransform.
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- class UpdateAllTransforms(service, rules, command, path=None)#
Bases:
PyCommand
Command UpdateAllTransforms.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- __init__(service, rules, path)#
__init__ method of PyMenu class.
- class Translate(service, rules, path=None)#
Bases:
PyNamedObjectContainer
.
- class UndoAllTransforms(service, rules, command, path=None)#
Bases:
PyCommand
Command UndoAllTransforms.
- Returns:
Methods:
Create a command instance.
- create_instance()#
Create a command instance.
- __init__(service, rules, path)#
__init__ method of PyMenu class.