TDProject.HasAttribute Method

Check if a 12d model project has a given attribute
Public Shared Function HasAttribute( _ 
ByVal project_id As EntityID, _ 
ByVal attribute_id As EntityID, _ 
ByVal db As IDatabase
) As Boolean
This language is not supported or no code example is available.
public static bool HasAttribute( 
EntityID project_id
EntityID attribute_id
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static bool HasAttribute( 
EntityID^ project_id
EntityID^ attribute_id
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function HasAttribute( 
project_id : EntityID
attribute_id : EntityID
db : IDatabase 
) : boolean;
This language is not supported or no code example is available.

Parameters

project_id
EntityID

the id of the project

attribute_id
EntityID

the id of the entity

db
IDatabase

the db connection

Return Value

bool

whether or not the 12d model project has an attribute

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition