idslk
Alibre Super User
Hello colleagues,
been playing around and got funny error.
- Open a new assembly.
- insert a random part
- start AlibreScript
- insert code in new script
- press run
- Input window for plane opens
- choose a random plane
- press ok
- the requester does not react (here on my PC)
- press the "x" in upper right window corner of input dialog
- here a funny requester pops up
The same very little script works normaly as expected in a single part.
It's doing nearly nothing really spectacular ...
But in an assembly, it produces the funny error ...
Restartet alibre, used different parts, tried this and that, but every time the same reaction.
Is this only on my PC?
Regards
Stefan
been playing around and got funny error.
- Open a new assembly.
- insert a random part
- start AlibreScript
- insert code in new script
- press run
- Input window for plane opens
- choose a random plane
- press ok
- the requester does not react (here on my PC)
- press the "x" in upper right window corner of input dialog
- here a funny requester pops up
Code:
Win = Windows()
ScriptName = 'Test Window'
Options = []
Options.append(['Plane1', WindowsInputTypes.Plane, None])
Values = Win.OptionsDialog(ScriptName, Options, 200)
if Values == None:
print("Canceled... Exiting.")
sys.exit()
print 'Values:', Values
sys.exit()
The same very little script works normaly as expected in a single part.
It's doing nearly nothing really spectacular ...
But in an assembly, it produces the funny error ...
Restartet alibre, used different parts, tried this and that, but every time the same reaction.
Is this only on my PC?
Regards
Stefan