Scripting the Trim command

 From:  bemfarmer
8786.1 
Hi Michael,
In a script, I'm selecting a cone base edge, getting start point, and arraying it.
Then an object list is made of all of the points, which took morning alertness to accomplish :-)
All of the points of the object list can be added to the Geometry Database.
Then a Trim is attempted, without success.
Code is a mix of LineWeb and BlendCap. The BlendCap trim code just doesn't work for me.
(It is so easy, interactively.)
Maybe tomorrow morning a fresh start will work :-)

Is there something special that needs to be done to Trim a planar edge curve with multiple points, in script?

I can post some code later, or study the Trim.js more :-)

- Brian

Maybe I'm using the wrong kind of points...

EDITED: 13 Jan 2018 by BEMFARMER