Function ProDtlsymdefattachAlloc
Description
Allocate and initialize the memory for symbol definition attachment. User must release the memory by ProDtlsymdefattachFree
Synopsis
#include <ProDtlsymdef.h>
ProDtlsymdefattachAlloc
(
/* (In)
The attachment type.
*/
int entity_id
/* (In)
The index in the symbol definition entity array at which you are attached. Can be -1 if type is "free".
*/
double entity_parameter
/* (In)
The location along the entity at which the attachment occurs. (Ignored for free attachment and radial leaders).
*/
ProVector location
/* (In)
Attachment location.
*/
/* (Out)
The symbol definition attachment.
*/
)
Returns
The function successfully allocated memory.
Bad one or more input arguments.
Bad type.
Not enough memory.
Sample Code References
User Guide References
これは役に立ちましたか?