Get Component Create Mode
Use inside the Component On Create Visual Logic section to know how the component was created, by copying another component in the simulation or by the user dragging and dropping it form the toolbar.
Parameters
- Simul8 Global Data Item - Global Data Item to receive creation mode
Comments
Creation mode values:
- 0 = drag drop from toolbar or component window
- 1 = import as a module -
- 2 = paste from clip board
- 3 = drag with control (or duplication wizard)
- 4 = paste from clip board (just one of multiple objects)
- 5 = drag with control (or duplication wizard) (just one of multiple objects)
- 6 = Select and Copy with Visual Logic
- 7 = Select and Copy with Visual Logic (just one of multiple objects)
- 8 = make a ZS8 component