Detect Freeze Mesh feature enable state

Wayne
Member Posts: 7
**
in Structures
I want to know how to use a script to detect whether the "Freeze Mesh" feature has been successfully enabled on the selected geometry.
Thanks
Tagged:
0
Answers
-
Hi @Wayne I think the @AKD-Scripting-Team might be able to help you with this.
0 -
Hi @Wayne , it does not seem possible to check on a body per body basis whether the option is active or not, however using (undocumented / unsupported...aka "use at your own risk") commands you can force the mesh freeze :
part_id_list = [3] geo_part_list = [DataModel.GeoData.GeoPartById(id) for id in part_id_list] Model.FreezeMeshOnSelectedParts(geo_part_list) import context_menu context_menu.DoFreezeMeshOnSelectedParts(ExtAPI)
0