Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

repeating offset planes in VB macro?

Status
Not open for further replies.

Eland

Aerospace
Joined
Jul 21, 2004
Messages
5
Location
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top