SlabShapVertexArray don't work for me
Not applicable
12-15-2020
01:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
In one of my plugin i would like to move floor vertex height, so I used this line :
SlabShapeVertexArray slabShapeVertexArray = floor.SlabShapeEditor.SlabShapeVertices;
in order to get the vertex array and I used a "for" loop to get each vertex :
for (int i = 0; i < slabShapeVertexArray.Size; ++i)
{
SlabShapVertex vertex = slabShapeVertexArray.get_Item(i);
}
but i never goes in the loop, so I i check the value of slabShapeVertexArray.Size and it's equal to 0;
Can someone help me Because i Don't know why i can't get the vertices
Link copied