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>Virtual</strong> <strong>Machine</strong> Reference<br />

Table of Contents<br />

4.3.13 Simulation»Hide Selection (Ctrl B) ........................................................................ 112<br />

4.3.14 Simulation»Show All/Rehide (Ctrl Alt B) .............................................................. 112<br />

4.3.15 Simulation»Invert Hide State (Ctrl Shift B) ............................................................ 112<br />

4.3.16 Simulation»Grid (Ctrl Alt G) .................................................................................. 113<br />

4.3.17 Simulation»Lights (Ctrl Alt L) ................................................................................ 114<br />

4.3.18 Simulation»Materials (Ctrl Alt M) .......................................................................... 115<br />

4.3.19 Simulation»Display (Ctrl Alt D) ............................................................................. 116<br />

4.3.20 Simulation»Compare (Ctrl Alt Q) ........................................................................... 117<br />

4.3.21 Simulation»Options (Ctrl Alt O) ............................................................................. 118<br />

Animation Control Options ..................................................................................... 118<br />

Tool Path Options .................................................................................................... 118<br />

World Background Color Options ........................................................................... 119<br />

Backface Options ..................................................................................................... 119<br />

Miscellaneous Options ............................................................................................. 119<br />

4.3.22 Simulation»Open Setup (CERUN & GENER only) ................................................. 121<br />

4.3.23 Simulation»Save Setup (CERUN & GENER only) .................................................. 121<br />

4.4 Model Customization ........................................................................................................ 122<br />

4.4.1 The Macro Language ............................................................................................... 123<br />

4.4.1.1 Fundamentals of the Macro Language .................................................................... 123<br />

Basic Macro Syntax ................................................................................................. 124<br />

Macro Data Types .................................................................................................... 124<br />

Macro Variables ....................................................................................................... 126<br />

Detecting Data Type Mismatching ................................................................... 127<br />

Explicit Type Declaration (DECLAR) .................................................................... 127<br />

Array Declaration (RESERV) ................................................................................. 128<br />

Operators .................................................................................................................. 129<br />

Numeric, String and Sequence Operators ........................................................ 129<br />

Logical Operators ............................................................................................. 130<br />

Function Calls .......................................................................................................... 131<br />

External Functions ................................................................................................... 131<br />

4.4.1.2 Flow Control in a Macro ......................................................................................... 132<br />

The IF Block ............................................................................................................ 132<br />

The CASE Statement ............................................................................................... 133<br />

The WHILE Loop .................................................................................................... 133<br />

The REPEAT Loop .................................................................................................. 133<br />

The DO Loop ........................................................................................................... 134<br />

Exiting Loops (EXIT) .............................................................................................. 134<br />

Unconditional Jumps (JUMPTO) ............................................................................ 134<br />

Exiting a Macro (TERMAC) ................................................................................... 135<br />

Ending a Macro (ENDMAC) ................................................................................... 135<br />

4.4.1.3 Macro Invocation .................................................................................................... 135<br />

Enable/Disable Macro Matching (MATCH) ........................................................... 135<br />

Outputting the Matched Record (OUTPUT) ........................................................... 136<br />

4.4.1.4 Text File I/O from a Macro ..................................................................................... 136<br />

Opening a Text File (OPEN) ................................................................................... 136<br />

Closing a Text File (CLOSE) .................................................................................. 136<br />

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

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

Saved successfully!

Ooh no, something went wrong!