Hello, everyone.
Recently I’ve been working on a small plugin for my own personal use, which requires the use of Action Script, a plugin that comes with Visual Components, but I’m not quite sure how to get my script to run it, I’ve used execute() from the VC help file, but the console replies to me saying
“Traceback (most recent call last).
File “file:///D:\Visual Components 4.6\Python\Commands\ActionScript\create_action_script.py::”, line 26, in first_state
File “file:///D:\Visual Components 4.6\Python\Commands\ActionScript\create_action_script.py::”, line 38, in sanitizeComponent
AttributeError: ‘NoneType’ object has no attribute ‘createBehaviour’”
I don’t have particularly much experience in this area and would appreciate any help anyone can give me, thanks in advance!
Attached is the code for the call:
app = getApplication()
app.findCommand('simCreateActionScript').execute()