Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an ilogic sub-routine that I want to pass 6 arguments to, but I keep getting this error...
Rule Compile Errors in Ground Bus, in _General Assembly.iam
Error on Line 73 : Argument not specified for parameter 'DesPlanes' of 'Public Sub Install(PartNo As String, ConstraintTypes As String, ConstraintOffsets As String, ConstraintPlanes As String, ConstrainTo As String, DesPlanes As String)'.
If I remove the last argument from both the call and the sub I do not get an error.
Here are my call statement and the sub-routine's receiving line...
Call Install(NewAssyNo, "Flush|Mate|Flush", Pos, "XZ Plane|YZ Plane|XY Plane", HousingOccurNo, DesPlanes)
Sub Install(PartNo As String, ConstraintTypes As String, ConstraintOffsets As String, ConstraintPlanes As String, ConstrainTo As String, DesPlanes As String)
Does iLogic limit the number of arguments that can be passed to 5, or what stupid thing am I missing?
Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018
Master Drafter/ CAD Programmer
Using Inventor 2018
Solved! Go to Solution.