Re: Tecnomatix API 13 Can't draw a curve

Yes this code works, but this code is of no use for my particular application,

I have a list of TxVectors (maximumu number is 3500 vectors) and it does not assing this list to the PointsList property.

I have tried to add them again to fresh list with a foreach just to see but it does not work,

Other option is to draw them as individual lines but codes like this throw me an exeption, maybe because that is too much data.

ArrayList newList = newArrayList();

TxLineCreationData StraightLine = newTxLineCreationData();

StraightLine.StartPoint = newList[0] asTxVector;

foreach(TxVector i in newList)

{

StraightLine.EndPoint = i;

m_space.CreateLine(StraightLine);

StraightLine.StartPoint = i;

}

The only other option left is to try and draw an Arc, I am triying this right now.

I am using API version 13.

Very strange that when I create a TxPolyLineCreationData it works just fine, but when It adds the polyline to the currently modeled element PS throws an Error Message and does not allow to End Modelling.