Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbCreateProp

dbCreateProp( 
g_object 
t_name 
t_propType 
g_value 
) 
=> d_prop / nil 

Description

Creates a scalar property for an object. If a property named t_name already exists on the specified object, it returns nil.

Arguments

g_object

Specifies an object the property is to be associated with. The object can be a dbId, ddId, or dbBagId.

t_name

Name of the property.

t_propType

Type of the property.

g_value

Value of the property (must be consistent with t_propType).

Value Returned

d_prop

A scalar property belonging to the database object;.

nil

A property named t_name already exists on the specified object or an error occurs.

Examples

dbCreateProp(cv "prop1" "boolean" t)
dbCreateProp(cv "DBUperUU" "float" 1.0)

Related Topics

Property Creation and Modification Functions


Return to top
 ⠀
X