Assembly Intersections
The data structure used for assembly intersections is ProUdfintersection.
Functions Introduced:
• ProUdfintersectionAlloc()
• ProUdfdataIntersectionAdd()
• ProUdfintersectionFree()
The function ProUdfintersectionAlloc() sets the values used to determine how a UDF placed in the context of an assembly intersects the members of the assembly. This function requires the following inputs:
• intersect_part—The component path from either the placement assembly or the external reference assembly down to the intersected component. The external reference assembly is provided by the asm_reference argument to ProUdfCreate().
• visibility—The depth of the component path into the assembly where the intersected UDF is visible. If visibility is equal to the length of the component path, the feature is visible in the part that it intersects and all assemblies and subassemblies. If visibility is 0, the feature is only visible in the top-level assembly.
• instance_names—An array of names for the new instances of parts created to represent the intersection geometry.
The function ProUdfdataIntersectionAdd() adds the intersection structure to the ProUdfdata structure.
Use the function ProUdfintersectionFree() to free the UDF intersection handle.