How create structural frame without LineSegment

Genius
Genius

Hello Everyone,

I am trying create a StructuralFrame without LineSegment and LineSegments objects. In my case, trying using Sketch3D and Lines3D.

But, I am having problems to create with Lines3D. It Works only with LineSegment. It is a problem, because It isn't parametric.

 

// it doesn't work
List<Line3D> listLine3D = (.. etc ) // My sketch3d and lines3d works well for create lines.
// (...)
structuralFrames = assemblyDocument.StructuralFrames;
                structuralFrame = structuralFrames.Add(
                    PartFileName: perfilArquivo,
                    NumPaths: listLine3D.Count,
                    Path: listLine3D.ToArray()
                    );


// it works, but it isn't parametric
List<LineSegment> listLineSegment = (... etc)
structuralFrames = assemblyDocument.StructuralFrames;
                structuralFrame = structuralFrames.Add(
                    PartFileName: perfilArquivo,
                    NumPaths: listLineSegment.Count,
                    Path: listLineSegment.ToArray()
                    );

Does anyone have a solution?



==========================
Kabir Costa
Industrial Designer
kabircosta@gmail.com