|
||
int get_tag ( char *bos_name, int count, char *buf )
char *bos_name; // name of a block, object or symbol int count; // tag index number char *buf; // character buffer to receive tag name
|
|
|
Synopsis |
#include "silver.h"
The get_tag function allows retrieval of tag names from the current drawing.
|
|
Parameters |
bos_name is the name of a block, object or symbol in the current drawing. count is the index number of a tag in bos_name , from 1 to the number of tags. buf is the address of a character buffer that is to receive the tag name.
|
|
Return Value |
get_tag copies the tag name into buf and returns 1 if the BOS specified by bos_name is found, and there are at least count tags attached to the BOS; otherwise, 0 is returned, and no copy is performed.
|
|
Comments |
fetch_tag may be used to retrieve the information associated with a particular tag.
|
|
See Also |
|
|
|
|