AnsweredAssumed Answered

Task exporting flat pattern to DXF fails

Question asked by Michael Woerther on Aug 23, 2011
Latest reply on Jul 9, 2013 by Mike Sveda



I've created a task to directly export the flat pattern to DXF without having to make a drawing. The task script is based on a SolidWorks macro which starts a loop running through all configurations of the file, analyses whether there is "SM-FLAT_PATTERN" in the configuration name and - if so - exports this configuration to DXF.

In the SolidWorks macro this runs fine, but unfortunately the task does not.

It looks like the task does run the loop


For i = 0 To UBound(vConfNameArr)


next i


only once and exits directly after instead of repeating the loop.

Can anybody tell me what's wrong?