Hi Team.
Is their any API command or other methods to unselect faces which are in common share for shared topology body using Space Claim Scripting.
You can use following script to apply share topology on specific faces
#create named selections for the edges or faces to be shared.
edge_selection = Selection.CreateByGroups("EDGE_SELECTION") face_selection = Selection.CreateByGroups("FACE_SELECTION") point_vertices = [] for edge in edge_selection.Items: point_vertices.append(edge.EvalStart().Point) ShareTopology.FixSpecific(edge_selection, point_vertices) ShareTopology.FixSpecific(face_selection, point_vertices)
You can also use the following APIs to share and unshare.
options = ShareTopologyOptions() options.Tolerance = MM(0.3) result = ShareTopology.FindAndFix(options) options = FixUnshareOptions() options.UnshareLowerTopology = False result = Unshare.FindAndFix(options) ShareTopology.FixSpecific()
You can use the following API to apply share topology on a new component.
#GetAllComponents AllComponents=GetRootPart().GetAllComponents() #Select a component Ex: 'newComponent' newComponent.Content.ShareTopology = newComponent.Content.ShareTopology.Share