repeating offset planes in VB macro?
repeating offset planes in VB macro?
(OP)
I want to repeat to generate offset planes using pre-defined offset values (offsetValues(i)). It seems that I cannot use variable into "???" position. My humble script is shown bellow. How do I have to complete "???" ? Or is there another way to do?
Thanks in precedence.
Dim offsetValues(n)
offsetValues(0) = ...
.
.
.
offsetValues(n) = ...
For i = 1 To Nfoil
Set PlaneOffset = hybridShapeFactory1.AddNewPlaneOffset(refPlaneZX, ???, False)
hybridBody1.AppendHybridShape PlaneOffset
Next
Thanks in precedence.
Dim offsetValues(n)
offsetValues(0) = ...
.
.
.
offsetValues(n) = ...
For i = 1 To Nfoil
Set PlaneOffset = hybridShapeFactory1.AddNewPlaneOffset(refPlaneZX, ???, False)
hybridBody1.AppendHybridShape PlaneOffset
Next




