Note: this function is left for compatibility with previous versions of CAD Importer DLL. It is not recommended for usage.
The CADGetChild function returns a child object of the specified object (section, block, table, polyline etc.) and fills the DXFDATA structure with its properties.
Syntax
HANDLE CADGetChild(
HANDLE hObject,
int nIndex,
LPCADDATA lpData
);
Parameters
hObject |
Identifies a complex object handle. |
nIndex |
Specifies the index in the list of the hObject child objects. It should be in the range from 0 to child objects count of hObject minus 1. |
lpData |
Points to the CADDATA structure to get properties of the child object. If this parameter is NULL, no properties are retrieved. |
Return Value
If the function succeeds, the return value is a handle of the child object specified by nIndex, and the structure pointed by lpData is filled by its properties.
If the function fails, the return value is NULL. To get extended error information, call CADGetLastError.
See Also
© 2003-2024 CADSoftTools
Go to CAD DLL