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:
__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__ method of TUIMenu class.
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.
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.
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.
Bases:
TUIMethod
Returns a list of the CAD entities associated with the objects selected.
Bases:
TUIMethod
Restores the geometry/mesh objects from the associated CAD objects.
Bases:
TUIMethod
Unlocks the CAD objects associated with the selected geometry/mesh objects.
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.
Bases:
TUIMethod
Updates the specified geometry/mesh objects based on changes to the associated CAD objects.