vHexahedron->GetPointIds()->SetId(i*8+j,i*8+j); -> vHexahedron->GetPointIds()->SetId(j,i*8+j); David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Jul 24, 2012 at 9:28 AM, ISTB <f.dshabarow at gmail.com> wrote: > vHexahedron->GetPointIds()->SetId(i*8+j,i*8+j);