Legend,
This worked!
You live up to your name!
Also thanks to weagan22 for all the great assistance!
Final Code:
Sub CATMain()
'DESCRIPTION: Function to create normal to surface Axis systems located at projection points.
'INPUT: Select a group of projected points, and the surface...
Good Monday,
I got the macro to work up to the point it creates the Axis systems and links the Z axis to the generated normal lines.
However CATIA generates some coordinate inputs for the X and Y direction.
I've searched the internet for documentation how I can clear this selection...
Thanks Weagan22,
It got it to work, but I have to run it twice from the VBA Debugger:
Select Multi Output.1 (Project)
Select Blend.1
Alt+F8 > Run Macro
Unfortunately this does nothing.
When I go to Macros > Edit
Then run the macro there twice, with F5 or play button. Then it works, which I...
Hello weagan22,
Thanks for the reply. Looks like this script is supposed to make normal to surface lines through projected points, a good start.
When i try this script however I get a runtime error at this line:
Set ProjectBody = uSel.Item(1).Value
In the supplied part I selected Blend.1...
Hello all,
Unfortunately my VBA knowledge is limited, especially related to Catia therefore I'm looking for some help in creating a VBA macro for Catia V5.
I'll describe what the macro I have envisioned does:
1. The macro prompts to select a sketch, or geometric set, in which this sketch is...