26.12.2012 Views

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

ICAM Virtual Machine V19 - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>ICAM</strong> <strong>Virtual</strong> <strong>Machine</strong> ® <strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />

Simulation Macro Functions, Other Functions<br />

function returns the text string associated with the OK or Cancel type button that was pressed<br />

(buttons can be labeled with any text and there can be multiple buttons of the same type).<br />

The $FDIST Function<br />

result=$FDIST(x1,y1,z1,x2,y2,z2)<br />

Returns: Numeric<br />

This function returns the distance between two points defined by x1,y1,z1 and x2,y2,z2.<br />

The $FERSEV Function<br />

result=$FERSEV(n)<br />

Returns: Numeric<br />

This function returns the error severity of error number n. A severity of -1 (negative one) is<br />

returned if the error number is not known.<br />

The $FERSTA Function<br />

result=$FERSTA(n[,a])<br />

Returns: Logical<br />

This function returns the current state (enabled or disabled) of error number n. A status of<br />

$TRUE is returned if the error number is enabled for output. A status of $FALSE is returned if<br />

the error number is disabled (i.e., a diagnostic will not be output even if that specific error<br />

condition occurs). The current state can optionally be modified by specifying a second parameter<br />

a with a logical $TRUE or $FALSE value giving the required state.<br />

The $FERTXT Function<br />

result=$FERTXT(n)<br />

Returns: String<br />

This function returns the error text of error number n. A blank string is returned if the error<br />

number is not known.<br />

The $FGETDEF Function<br />

result=$FGETDEF(s)<br />

Returns: String or $NULL<br />

This function returns the value of the case insensitive DEF file variable identified by the string s.<br />

The variable name must be fully qualified with the names of all surrounding “begin” blocks in<br />

the DEF file (see the example below). The return value is a case sensitive string. $NULL is<br />

returned if the DEF file variable has not been defined or if some other error occurs while attempting<br />

to obtain the variable definition.<br />

202 <strong>ICAM</strong> Technologies Corporation – Proprietary

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!