cad_association#

class ansys.fluent.core.generated.meshing.tui_251.main_menu.objects.cad_association(service, version, mode, path)#

Bases: TUIMenu

Contains options for modifying the selected objects based on the associated CAD entities and attaching/detaching the CAD entities from the objects. This menu is available when the CAD Assemblies tree is created during CAD import.

Methods:

__init__(service, version, mode, path)

__init__ method of TUIMenu class.

Classes:

attach_cad(service, version, mode, path)

Attaches CAD entities to the selected geometry/mesh objects.

detach_all_objects(service, version, mode, path)

Detaches all the CAD objects associated with the geometry/mesh objects.

detach_objects(service, version, mode, path)

Detaches the CAD objects associated with the specified geometry/mesh objects.

query_object_association(service, version, ...)

Returns a list of the CAD entities associated with the objects selected.

restore_cad(service, version, mode, path)

Restores the geometry/mesh objects from the associated CAD objects.

unlock_cad(service, version, mode, path)

Unlocks the CAD objects associated with the selected geometry/mesh objects.

update_all_objects(service, version, mode, path)

Updates all geometry/mesh objects based on changes to the associated CAD objects.

update_objects(service, version, mode, path)

Updates the specified geometry/mesh objects based on changes to the associated CAD objects.

__init__(service, version, mode, path)#

__init__ method of TUIMenu class.

class attach_cad(service, version, mode, path)#

Bases: TUIMethod

Attaches CAD entities to the selected geometry/mesh objects. Select the geometry/mesh objects and specify the path for the CAD entities to be associated with the objects. The selected geometry/mesh objects will be associated with the CAD entities which will then be locked.

class detach_all_objects(service, version, mode, path)#

Bases: TUIMethod

Detaches all the CAD objects associated with the geometry/mesh objects. Specify the type of objects (geom or mesh) to be detached. All association will be removed and the geometry/mesh objects will be independent of changes to the CAD entities.

class detach_objects(service, version, mode, path)#

Bases: TUIMethod

Detaches the CAD objects associated with the specified geometry/mesh objects. All association will be removed and the selected geometry/mesh objects will be independent of changes to the CAD entities.

class query_object_association(service, version, mode, path)#

Bases: TUIMethod

Returns a list of the CAD entities associated with the objects selected.

class restore_cad(service, version, mode, path)#

Bases: TUIMethod

Restores the geometry/mesh objects from the associated CAD objects.

class unlock_cad(service, version, mode, path)#

Bases: TUIMethod

Unlocks the CAD objects associated with the selected geometry/mesh objects.

class update_all_objects(service, version, mode, path)#

Bases: TUIMethod

Updates all geometry/mesh objects based on changes to the associated CAD objects. Specify the type of objects (geom or mesh) to be updated.

class update_objects(service, version, mode, path)#

Bases: TUIMethod

Updates the specified geometry/mesh objects based on changes to the associated CAD objects.