Craig D.S. Posted March 10, 2012 Share Posted March 10, 2012 Trying to insert multiple spheres like I could in AutoCAD VBA using a For/Next statement equivalent of FOR/DO, but it just inserts 1 Can someone guide me through this attached proceedure? Thanks Quote Link to comment
Dieter @ DWorks Posted March 11, 2012 Share Posted March 11, 2012 Without BEGIN and END;, the FOR loop will only do one line. So use the following instead: FOR i:=1 TO 3 DO BEGIN Code with multiple lines; END; Quote Link to comment
Craig D.S. Posted March 11, 2012 Author Share Posted March 11, 2012 Thanks again Quote Link to comment
Craig D.S. Posted March 12, 2012 Author Share Posted March 12, 2012 (edited) Can one insert that FOR/TO/DO/BEGIN into the AddVertex3D line to script a curve? I get a couple errors as I'm not used to the syntax yet Found the problem Seems I forgot some semicolins in setting the Variables Edited March 12, 2012 by Craig D.S. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.