public void PythonTraverseComponent_for_markers(Component2 swComp, long nLevel, ref string asciitext, int nbody)
{
// Look if component contains markers
Feature swFeat = (Feature)swComp.FirstFeature();
MathTransform swCompTotalTrasf = swComp.GetTotalTransform(true);
PythonTraverseFeatures_for_markers(swFeat, nLevel, ref asciitext, nbody, swCompTotalTrasf);
// Recursive scan of subcomponents
Component2 swChildComp;
object[] vChildComp = (object[])swComp.GetChildren();
for (long i = 0; i < vChildComp.Length; i++)
{
swChildComp = (Component2)vChildComp[i];
PythonTraverseComponent_for_markers(swChildComp, nLevel + 1, ref asciitext, nbody);
}
}