LpLebel
Aerospace
- Dec 7, 2011
- 10
thread561-279206
Hi !
I've looked into the thread561-279206 and this is pretty close to what i'm looking for, except that I would like to get a real number (not an integer) to be in the attribute.
When i use :
ug_setPartAttrValue( "CustomAttribute_1", format("%0.0f",85.25 ))
I get 85 in the attribute value. I guess it has to be because of the format syntax.
I looked into the help collection and there is nothing about
- format() and its syntax
- ug_setPrtAttrValue
John, where can we find these functions ?
txs !
Louis
Hi !
I've looked into the thread561-279206 and this is pretty close to what i'm looking for, except that I would like to get a real number (not an integer) to be in the attribute.
When i use :
ug_setPartAttrValue( "CustomAttribute_1", format("%0.0f",85.25 ))
I get 85 in the attribute value. I guess it has to be because of the format syntax.
I looked into the help collection and there is nothing about
- format() and its syntax
- ug_setPrtAttrValue
John, where can we find these functions ?
txs !
Louis