I'd like to use a method from IScripDeviceObject in a "regular" plugin that does not use ScriptEngine yet. Is there a way to get the IScripDeviceObject from IDeviceObject? (Cast does not work.) Or do I have to use ScriptEngine.Execute?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
MSprock hat geschrieben:
I'd like to use a method from IScripDeviceObject in a "regular" plugin that does not use ScriptEngine yet. Is there a way to get the IScripDeviceObject from IDeviceObject? (Cast does not work.) Or do I have to use ScriptEngine.Execute?
Which method do you want to use?
BR
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your question should normally be send to our support because it is beyond the scope of this forum.
MSprock hat geschrieben:
the methods are: export/import_io_mappings_from_csv
These two methods of the IScriptDeviceObject are just calling the corresponding command with the necessary arguments.
Both commands use the following argument list:
- File path of the CSV file
- Project handle of the project which contains the device
- Object Guid of the device which should import/export its IO mapping
BR
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'd like to use a method from IScripDeviceObject in a "regular" plugin that does not use ScriptEngine yet. Is there a way to get the IScripDeviceObject from IDeviceObject? (Cast does not work.) Or do I have to use ScriptEngine.Execute?
Thanks in advance.
Hi MSprock.
Which method do you want to use?
BR
Martin
Hi Martin,
the methods are: export/import_io_mappings_from_csv
Best regards
Hi MSprock.
Your question should normally be send to our support because it is beyond the scope of this forum.
These two methods of the IScriptDeviceObject are just calling the corresponding command with the necessary arguments.
Both commands use the following argument list:
- File path of the CSV file
- Project handle of the project which contains the device
- Object Guid of the device which should import/export its IO mapping
BR
Martin