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

dbCreateRangeProp

dbCreateRangeProp( 
g_object 
t_name 
t_propType 
g_value 
g_lBound 
g_uBound 
) 
=> d_prop / nil 

Description

Creates a range property for an object.

Arguments

g_object

The database object which 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.

g_lBound

Lower bound of the range of values.

g_uBound

Upper bound of the range of values.

Value Returned

d_prop

A range property belonging to the database object.

nil

A property named t_name already exists on the specified object, or if the value passed in is not within the specified range. Also returns nil if an error occurs, such as an invalid argument, or if d_object is not a hierarchical property.

Examples

dbCreateRangeProp(cv "prop1" "int" 5 3 8)
dbCreateRangeProp(cv "prop1" "float" 100.0 0 "infinity")

Related Topics

Property Creation and Modification Functions


Return to top
 ⠀
X