Message 1 of 5
Inventor 8 VBA in parameters
Not applicable
11-15-2003
12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
This small macro worked fine in Inventor 7, but dont work in R8 ?
Public Function Top(TopType As Double, XTilKnæk As Double, Ben As Double,
TopA As Double, TopB As Double) As Double
If TopType = 2 And XTilKnæk > Ben Then
Top = TopB
Else
Top = TopA
End If
End Function
The function is put into a parameter with
'VBA:Top(TopTypeV;XTilKnæk;Ben1V;Top1aV;Top1bV)'
Looks almost at the connection til VBA has been broken but that can't be can
it' ?
Regards
Lars
This small macro worked fine in Inventor 7, but dont work in R8 ?
Public Function Top(TopType As Double, XTilKnæk As Double, Ben As Double,
TopA As Double, TopB As Double) As Double
If TopType = 2 And XTilKnæk > Ben Then
Top = TopB
Else
Top = TopA
End If
End Function
The function is put into a parameter with
'VBA:Top(TopTypeV;XTilKnæk;Ben1V;Top1aV;Top1bV)'
Looks almost at the connection til VBA has been broken but that can't be can
it' ?
Regards
Lars