DynamicLayout¶
- MacroModule¶
 author
package
definition
see also
keywords
Purpose¶
Macro that creates a layout using an mdl file and embeds viewers found in the connected inventor graph.
Usage¶
Specify mdl file containing the layout
Connect a graph that conatins SoRenderAreas that are named like the viewers in the MDL file
Details¶
A SoRenderArea with the name “view1” is referenced by the MDL as follows:
Viewer view1.self {
  name = view1
  type = SoRenderArea
}
The macro uses a DynamicFrame control to realize the MDL described layout. Then it searches for the render area and instanciates an internal macro of the same name which is then found by the layout.
Input Fields¶
inScene¶
- name: inScene, type: SoNode¶
 Input inventor scene. This should contain the SoRenderAreas that are referenced by the used layout.
Output Fields¶
outKeyEvent¶
- name: outKeyEvent, type: MLBase¶
 Dictionary conatining the event dictionary (key event), the MLABEventFilterControl (key control) and the QT event (key qevent).
Parameter Fields¶
Field Index¶
  | 
  | 
  | 
  | 
  | 
Visible Fields¶
Layout MDLFile¶
- name: layoutMDLFile, type: String¶
 Path to a MDL file describing the layout.