Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have a little problem to move from iLogic code to VBA code.
Here is the statement which I have to convert in VBA code:
If RealValue < TargetValue Then While RealValue < TargetValue pDistance = pDistance - .1 RuleParametersOutput() InventorVb.DocumentUpdate(True) End While ElseIf RealValue > TargetValue Then While RealValue > TargetValue pDistance = pDistance + .1 RuleParametersOutput() InventorVb.DocumentUpdate(True) End While End If
Any help is very appreciated.
Danijel
Inventor 2018/Windows 10 x64
If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution. Kudos are also gladly accepted.
If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution. Kudos are also gladly accepted.
Solved! Go to Solution.