cad_association#
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:
attach_cad
(*args, **kwargs)Attaches CAD entities to the selected geometry/mesh objects.
detach_all_objects
(*args, **kwargs)Detaches all the CAD objects associated with the geometry/mesh objects.
detach_objects
(*args, **kwargs)Detaches the CAD objects associated with the specified geometry/mesh objects.
query_object_association
(*args, **kwargs)Returns a list of the CAD entities associated with the objects selected.
restore_cad
(*args, **kwargs)Restores the geometry/mesh objects from the associated CAD objects.
unlock_cad
(*args, **kwargs)Unlocks the CAD objects associated with the selected geometry/mesh objects.
update_all_objects
(*args, **kwargs)Updates all geometry/mesh objects based on changes to the associated CAD objects.
update_objects
(*args, **kwargs)Updates the specified geometry/mesh objects based on changes to the associated CAD objects.
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.
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.
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.
Returns a list of the CAD entities associated with the objects selected.
Restores the geometry/mesh objects from the associated CAD objects.
Unlocks the CAD objects associated with the selected geometry/mesh objects.
Updates all geometry/mesh objects based on changes to the associated CAD objects. Specify the type of objects (geom or mesh) to be updated.
Updates the specified geometry/mesh objects based on changes to the associated CAD objects.