does anyone know how to make macro for creating number of intersection in Catia on different point
2 Answer

Open CATIA and go to Tools > Macro > Macros > Create.
Write the Macro Code: Use VBScript to access the active document, identify geometrical elements, and compute intersections. copy code and Run the Macro: Save the macro as .CATScript and execute it from the Macro dialog.
Adjust the script based on your specific geometry and requirements.

A Simple Macro Example to Find Intersection Points in Catia:
Open Catia: first open Catia and create a macro from the Tools > Macro > Macros menu.
Create a New Macro: Create a new macro by clicking on the Create button and give your macro a suitable name (take it, IntersectionFinder).
Write the Macro Code: You can paste the simple example code below into your macro. This code provides a basis for finding intersections of two surfaces. You can paste the code Catia's VBA.
Run Macro: Record and run your macro. In the macro effort, you should program the intersections between the intersections of your solutions and declare their dimensions.
Notes:
Surface Selection: The selection and naming of surfaces are coded and given as fixed. In your actual application, more code can be inserted and removed to dynamically select these surfaces or retrieve them from the user.
Error Handling: Don't forget to add error handling (error handling) to make the code more robust.
This simple example is a basic starting point. To access Catia's more complex features, you can consult Catia's API documentation and VBA references. It would be a good idea to take a look at Catia's official documentation to learn more about Catia's advanced commands and unit units in particular.