Message name |
Description |
Arguments |
Output |
attachViewpoint |
Attach camera viewpoint to object |
viewer number(int);object name(string);pos(float[3]);dir(float[3]) |
Nones |
changeViewerMode |
Change Viewer mode |
mode(int) |
None |
changeViewerType |
Change the type of a viewer |
viewer(int); type(int) |
None |
changeViewParam |
Change viewer parameters |
Lots of parameters: consult changeViewerParam.x |
Nones |
changeWinGeom |
Change Viz window geometry |
width(int); height(int); xoffset(int); yoffset(int) |
None |
outputControl |
Subscribe/unsubscribe to output msg |
msg(string, use "all" for all messages); on/off(int:1/0) |
None |
printToFile |
Take snapshot of selected viewer and save to file. |
viewer(int); type(string:'rgb' or 'ps'); imgWidth(int); imgHeight(int);
fileName(string); background(rgb:float[3]); dpiX(int); dpiY(int) |
None |
quit |
Cause Viz to finish |
None |
None |
saveSceneGraph |
Save scene graph into Inventor file |
fileName(string); rootName(string); asciiObin(string:"ascii" or "bin") |
None |
setSeekMode |
Set viewer in Seek mode on/off |
viewer(int); onOrOff(int:1/0) |
None |
setSwitch |
Select switch node child to render |
name(string); whichChild(int) |
None |
Message name |
Description |
Arguments |
Output |
add (see detailed
description) |
Add new object in world (see reserved
names, see URL description). |
name(string); parent(string); URL(string); pos(float[3]); dir(float[3]);
visible/invisible(int:1/0) |
object_added |
changeAlpha |
Change alpha blending (transparency) of object |
name(string); alpha(float) |
None |
changeColor |
Change (diffuse) color of object |
name (string); rgb (float[3]) |
None |
changeFont |
Change 2D or 3D text font |
name (string); font_string(string) |
None |
changeOrient |
Change object orientation (Euler) |
name (string); dir (float [3]) |
None |
changeParent |
Assign object to new parent |
name (string); parent (string) |
None |
changePos |
Change object position |
name (string); pos (float[3]) |
None |
changeScale |
Change object scale |
name (string); scale (float[3]) |
None |
changeText |
Change string of 2D or 3D text |
name(string); text_string(string) |
None |
hide |
Hide an object |
name (string) |
None |
show |
Show object (previously hidden) |
name (string) |
None |
remove |
Remove object |
name (string) |
None |