assign_initial_mesh_from_slider#
- Mesh.assign_initial_mesh_from_slider(level=5, method='Auto', dynamic_surface=True, flex_mesh=False, curvilinear=False, fallback=True, phi=True, auto_model_resolution=True, model_resolution_length='0.0001mm')#
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