assign_initial_mesh_from_slider#
- Mesh.assign_initial_mesh_from_slider(level: int = 5, method: str = 'Auto', dynamic_surface: bool = True, flex_mesh: bool = False, curvilinear: bool = False, fallback: bool = True, phi: bool = True, auto_model_resolution: bool = True, model_resolution_length: str = '0.0001mm') bool#
Assign a surface mesh level to an object.
- Parameters:
- level
int,optional Level of the surface mesh. Options are
1through10. The default is5.- method
str,optional Meshing method. Options are
"Auto","AnsoftTAU", and"AnsoftClassic"The default is"Auto".- dynamic_surfacebool,
optional Whether to use dynamic surface resolution. The default is
True.- flex_meshbool,
optional Whether to use flexible mesh for TAU volume mesh. The default is
False.- curvilinearbool,
optional Whether to apply curvilinear elements. The default is
False.- fallbackbool,
optional Whether to retain as a fallback. The default is
True.- phibool,
optional Whether to use the Phi mesher for layered geometry. The default is
True.- auto_model_resolutionbool,
optional Whether to automatically calculate the resolution length based on each object’s effective thickness. The default is
True.- model_resolution_length
float,optional Resolution thickness with units if
automodelresolution=False. The default"0.0001mm".
- level
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oModule.InitialMeshSettings