v4.2
Returns a Boolean value indicating whether the Vertex is a boundary (true) or not.
// get accessor Boolean rtn = Vertex.IsBoundary; |
NewScene ,false CreatePrim "Grid", "MeshSurface" SetSelFilter "Vertex" SelectGeometryComponents "grid.pnt[0,40]" logmessage "is point #0 a boundary ? " _ & selection(0).SubComponent.ComponentCollection(0).IsBoundary logmessage "is point #40 a boundary ? " _ & selection(0).SubComponent.ComponentCollection(1).IsBoundary ' Expected result: 'INFO : is point #0 a boundary ? True 'INFO : is point #40 a boundary ? False |
NewScene( null, false ); CreatePrim("Grid", "MeshSurface", null, null); SetSelFilter( "Vertex" ); SelectGeometryComponents( "grid.pnt[0,40]" ); logmessage( "is point #0 a boundary ? " + selection(0).SubComponent.ComponentCollection(0).IsBoundary ); logmessage( "is point #40 a boundary ? " + selection(0).SubComponent.ComponentCollection(1).IsBoundary ); // Expected result: //INFO : is point #0 a boundary ? true //INFO : is point #40 a boundary ? false |