Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Cadkunde.nl
in reply to: Odalv

Try using for/next statement

 

For i = 1 To 10
	Constraints.AddMate("Mate:" & i, "PartA:" & i, "Z Axis", "", "Z Axis",)
	Constraints.AddFlush("Flush:" & i, "PartA:" & i, "XY Plane", "", "XY Plane")
Next