SilverScreen Solid Modeler

is_entity

is_entity

Previous topic Next topic  

is_entity

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int is_entity ( char *path )

 

char *path;     // entity name

 

 

 




Synopsis

#include "silver.h"

 

The is_entity function checks the current SilverScreen drawing database for the existence of the entity specified by path .

 

 

Parameters

path is a null-terminated string containing the name of the entity.

 

 

Return Value

is_entity returns one of:

 

Value

Meaning

0

specified entity does not exist

BITS_BLOCK

specified entity is a block

BITS_OBJECT

specified entity is an object

BITS_TEXT

specified entity is text

BITS_DETAIL

specified entity is a detail

BITS_SYMBOL

specified entity is a symbol

 

 

Header

silver.h, ssnodes.h