Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
nebi_guler
405 Views, 5 Replies

Some profiles do not appear in the product tree in HatchRegions ?

sectionview.PNG

 

The models I have marked in the image are not included in the HatchRegions product tree. What could be the reason? Can you help me?

 

  for (int i = 0; i < sectionDrawingViewRight.Count; i++)
  {
      if (sectionDrawingViewRight[i].HatchRegions.Count > 0)
      {
          for (int x = 1; x < sectionDrawingViewRight[i].HatchRegions.Count; x++)
          {

DrawingViewHatchRegion upperDrawingViewHatchRegion = sectionDrawingViewRight[i].HatchRegions[x];


AssemblyDocument upperAssemblyDocument = ((AssemblyDocument)((DocumentDescriptor)((dynamic)((SurfaceBody)upperDrawingViewHatchRegion.SurfaceBody).Parent).ReferencedDocumentDescriptor).Parent);

Console.WriteLine(((dynamic)((SurfaceBody)upperDrawingViewHatchRegion.SurfaceBody).Parent)._DisplayName+" : "+i+"- x"+x);

DrawingViewHatchRegion netherDrawingViewHatchRegion = sectionDrawingViewRight[i].HatchRegions[x + 1];

AssemblyDocument netherAssemblyDocument = ((AssemblyDocument)((DocumentDescriptor)((dynamic)((SurfaceBody)netherDrawingViewHatchRegion.SurfaceBody).Parent).ReferencedDocumentDescriptor).Parent);

Console.WriteLine(((dynamic)((SurfaceBody)netherDrawingViewHatchRegion.SurfaceBody).Parent)._DisplayName + " : " + i + "- x" + (x + 1));
}
}
}