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:
levelint, optional

Level of the surface mesh. Options are 1 through 10. The default is 5.

methodstr, 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_lengthfloat, optional

Resolution thickness with units if automodelresolution=False. The default "0.0001mm".

Returns:
bool

True when successful, False when failed.

References

>>> oModule.InitialMeshSettings