Find a named attribute and its value in a 12d model project

Namespace: SynergyServerScripting.Entities
Assembly: SynergyServerScripting (in SynergyServerScripting.dll)

Public Shared Function GetAttributeByName( _ 
ByVal proj_id As EntityID, _ 
ByVal attrib_name As String, _ 
ByVal db As IDatabase
) As AttributeInfo
This language is not supported or no code example is available.
public static AttributeInfo GetAttributeByName( 
EntityID proj_id
string attrib_name
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static AttributeInfo^ GetAttributeByName( 
EntityID^ proj_id
String^ attrib_name
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetAttributeByName( 
proj_id : EntityID
attrib_name : String
db : IDatabase 
) : AttributeInfo;
This language is not supported or no code example is available.

Parameters

proj_id
Type: EntityID

the project id

attrib_name
Type: string

the attribute name

db
Type: IDatabase

the db connection

Return Value

Type: AttributeInfo

the attribute info object

.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