TransientBRep.GetIdenticalBodies Method
Parent Object: TransientBRepDescription
Method that find the identical SurfaceBody objects in a SurfaceBody objects collection. In the return value, all the identical surface bodies will be placed in the same ObjectCollection.
Syntax
TransientBRep.GetIdenticalBodies( InputSurfaceBodies As ObjectCollection, [Options] As Variant ) As ObjectCollectionParameters
Name | Type | Description |
InputSurfaceBodies | ObjectCollection | Input ObjectCollection that includes the SurfaceBody objects to compute the identity ones in it. |
Options | Variant | Optional input NameValueMap that specifies the options when compute the comparison. Valid options includes:
Name = Tolerance. Value = Double that specifies the tolerance when compare the surface bodies. If this is not specified, the default tolerance value 0.000001 will be used. Name = MatchTopology. Value = Boolean that specifies whether the two bodies will match only if there is a one-to-one match between each topological entity (Vertex, Edge and Face) within the body. This defaults to False if not specified. . Name = MatchReflection. Value = Boolean that specifies whether the bodies that differ by a reflection transform will match. This defaults to True if not specified. . Name = TargetBody. Value = SurfaceBody object that specifies a target body for comparison. This defaults to nothing. If a target body is supplied it will be compared to every other body supplied to InputSurfaceBodies and will return either 0 matches or 1 match with the target body returned in the result group. Only one target body can be supplied and it should be included in the InputSurfaceBodies also. This is an optional argument whose default value is null. |