"width"
Specifies the width of a pipe.
Synopsis
setValue(string shape, "width", int value);
getValue(string shape, "width", int &value);
shape.width(int value);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
width | Width of the object |
Description
The width of a pipe can be set with this attribute.
Example
main()
{
int i = 30;
setValue ("PIPE1", "width", i);
/* you can also use PIPE1.width(i);*/
}
Assignment
Pipe