Daniel Popa
Automotive
Hello
In one of our processes we are required to color several surfaces differently than the rest of the component (i.e. component is blue with important surfaces yellow). I have managed to write a macro that would color a surface just by clicking on it and I was wondering if there is a way of making that selection have a tangent propagation (like the "Extract" command has) but without extracting the surface as I need to change the color of the solid faces.
I would be grateful if someone could point me in the right direction.
This is what I am currently using for selection:
Thank you.
In one of our processes we are required to color several surfaces differently than the rest of the component (i.e. component is blue with important surfaces yellow). I have managed to write a macro that would color a surface just by clicking on it and I was wondering if there is a way of making that selection have a tangent propagation (like the "Extract" command has) but without extracting the surface as I need to change the color of the solid faces.
I would be grateful if someone could point me in the right direction.
This is what I am currently using for selection:
Code:
Dim Suprafata(0)
Suprafata(0) = "Face"
For i = 1 To 500
oSel.Clear
Ret = oSel.SelectElement2(Suprafata, "Select Surface to Color", True)
If (Ret = "Cancel") Then
Exit Sub
Thank you.