Message 1 of 18
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Currently, I'm using this:
tickLine = sketchLines.addByTwoPoints(adsk.core.Point3D.create(Top, xpos, 0), adsk.core.Point3D.create(Bottom, xpos, 0))
to draw a series of lines in a sketch.
On average, this call seems to take approximately 200ms to complete, which isn't that long if you're only drawing a few lines, but in this case, I'm generating a several hundred lines, so it leads to a significant wait for the end user overall.
I don't need 3d lines (as you can see, Z is fixed at 0 in both coordinates). If there's an alternative mechanism (whether another method in the sketchLines class or otherwise that is faster, I think that's very desirable in this instance.
Thanks in advance for any pointers.
Solved! Go to Solution.