n = mphselectbox(model,geomtag,boxcoord,entity,…) returns the indices of the geometry entities that are inside the rubberband domain (rectangle or box). This method looks only on the vertex coordinates and does not observe all points on curves and surfaces.
boxcoord set the coordinates of the selection domain, specified as an
N-by-2 array, where
N is the geometry space dimension.
entity can be one of
point,
edge,
boundary, or
domain following the entity space dimension defined below:
The function mphpselectbox accepts the following property/value pairs:
When a model uses form an assembly, more than one vertex can have the same coordinate if the coordinate is shared by separate geometry objects. In that case you can use the
adjnumber property to identify the domain that the vertices should be adjacent to.