Links
AcMapUtilities:: CreateCentroids Function
Creates centroid blocks inside a set of closed polylines or mpolygons.
AcMap::EErrCode CreateCentroids( ads_name& ssCentroids, ads_name& ssClosedPolys, const ACHAR* pszLayerName, const ACHAR* pszBlockName );
File
AcMapUtilities.h
Parameters |
Description |
ssCentroids |
Output name of the ADS (AutoCAD Development System) selection set that contains all the created centroids. |
ssClosedPolys |
Input name of the ADS selection set that contains the closed polylines or mpolygons. |
pszLayerName |
Input name of the layer to create the centroids on. |
pszBlockName |
Input name of block to use for the created centroids. |
Returns
Returns AcMap::kOk if successful. Returns AcMap::kErrBadInput if the named block does not exist. Returns AcMap::kErr if the process failed for some other reason.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].