|
Archicad 29 C++ API
|
Parameters of the polygon input operation. More...
#include <APIdefs_Interface.h>
Public Attributes | |
| char | prompt [256] |
| [in] Prompt string to be displayed in the control box during input | |
| bool | changeCursorSet |
[in] Use the cursorSet field for changing cursor forms | |
| bool | changePlane |
[in] Use the startCoord and planeNormal fields for defining the input plane | |
| bool | disableDefaultFeedback |
| [in] Disable the default polygon drawing feedback | |
| bool | getZCoords |
| [in] Retrieve z coordinates in case of 3D input | |
| API_PolyGetMethod | method |
| [in] The polygon input method | |
| API_CursorSet | cursorSet |
| [in] Cursor set for customized visual feedback | |
| API_Vector3D | planeNormal |
| [in] The normal vector of the input plane | |
| API_Coord3D | startCoord |
| [in] The start coordinate of the polygon | |
| API_Coord ** | coords |
[out] The polygon coordinates (projected vertically to the input plane), indexed from 1 to nCoords. The first coordinate is the same as the last one | |
| API_PolyArc ** | parcs |
[out] The polygon arcs segments, indexed from 1 to nArcs | |
| Int32 | nCoords |
| [out] The number of the polygon coordinates | |
| Int32 | nArcs |
| [out] The number of curves in the polygon | |
| API_Neig | neig |
| [out] The closing neig of the polygon | |
| double ** | zCoords |
[out] Handle containing the z coordinates of the correspondong polygon nodes (retrieved only on demand by passing true in getZCoords) | |
| bool | polylineWas |
| [out] Polyline contour has been entered | |
| bool | useStandardPetPalette |
| [out] Use standard polygon input palette | |
Parameters of the polygon input operation.
API_GetPolyType see the ACAPI_UserInput_GetPoly function. | API_PolyGetMethod API_GetPolyType::method |
[in] The polygon input method
| Value | Meaning |
|---|---|
APIPolyGetMethod_General | Gets an arbitrary closed polygon |
APIPolyGetMethod_Rect | Gets a rectangle |
APIPolyGetMethod_RotRect | Gets a base vector then a rectangle perpendicular to it |
APIPolyGetMethod_Polyline | Gets a polyline (can be open) |