[GIS] Creating random points only within multipart polygon and none outside using ArcMap

arcgis-10.3arcgis-desktoparcmaprandomshapefile

I am currently using a shapefile consisting of an area smaller than the entire study boundary ie. I want this to to be my overall study area. I used a raster to polygon tool and converted it to a shapefile and used the Dissolve tool to create a multipart polygon.

Now when I am creating random points and specify the constraining feature class, it is creating random points outside the polygons I possess as well. Attached is a screenshot of random points all over, instead of just within the polygons.

enter image description here

Best Answer

Another option is the Sampling Design Tool, which gives you the option of how to place random points...inside any feature or by specifying the number of random points in features with specific attributes.