
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
As a complete beginner with the Inventor API I have been working through the 'My First Plug-In' tutorials and various other online courses/videos using Visual Basic [Visual Studio 2017] without too many problems but now having tried to code for a sketch that is based on an equation curve , I am completely stuck.
Autodesk's sample code doesn't seem to work and nor does a suggested update [below] that appears on one of the forums.
'Create a spline based on an equation.
Dim equationCurve As SketchEquationCurve
equationCurve = sketch.SketchEquationCurves.Add(kParametric, kCartesian, 'Set removed as now longer supported
".001*t * cos(t)", ".001*t * sin(t)", 0, 360) 'Syntax Error
I have played around with this for hours without success. What am I doing wrong?
I would be very grateful for a bit of guidance.
Thankyou
Solved! Go to Solution.