I want to delete several tracesegments with my script.
For i = Trace.TraceSegments.Count To 1 Step -1
But it does nothing in my design.
Remove is used to take things out of a collection, it is not used to do anything to the database. Delete is what you need but, it is not available for sements.
Without knowing what you are trying to do and why, it is hard to suggest what to do. In AATK I would nomally get the points array for the trace and modify that. Traces have a Put and Delete method, trace segments do not.
Retrieving data ...