Go to the source code of this file.
◆ BoundaryTypeEnum
◆ boundary()
Creates OdDbRegions or a OdDbPolylines from enclosed areas.
- Parameters
-
| pDb | [in] The database from which the entities will be obtained to build a boundary. |
| pickPoint | [in] Point in the WCS. |
| boundaryType | [in] Set 0 to create a region around a set of objects. Otherwise created closed polyline around a set of objects. |
| bDetectIsland | [in] Set true if need create closed loops inner of loop created around pick point. False if create just one loop around pick point. E.g. "if this parameter is set then inner islands will be created inside the outer boundary defined by the pick point". |
| boundaryEntityOut | [out] Created array of boundries |
| plane | [in][optional] The plane on which the entity is located to form the boundary. If 0, then the plane will be taken as the UCS for the current viewport. |
| selectionSet | [in][optional] Selections entity set to build boundary. If empty - will used entityes on current viewport extents. |
| dGap | [in][optional] Specifies the size of possible gaps between entities when creating a boundary. |
- Returns
- eOk if successful. eNoDatabase if database not specified. eSubSelectionSetEmpty if can't get set of entities from current view. eIllegalEntityType if can't create a OdDbPolylines from entities. eGeneralModelingFailure if can't create a boundary from entities. eInvalidView if can't access to active viewport.