What's new

Script Release: Export Part Views as DXF

stepalibre

Alibre Super User
Stability and reliability are more important to me, so I can wait. @Cator have you tested the script without Windows() and instead hardcode the inputs? That should be faster.

Give the console a try too.
 
Last edited:
In my experience with Alibre Design and AlibreScript - it's often a problem of threading and/or what I can best describe as Alibre Design is built like client/server. Sometimes the client asks for something and the server returns but hasn't finished yet so you don't get the correct answer. This can be seen in the API help somewhere - it is suggested to loop until a helpful answer is given. I don't remember what article. Putting in a sleep will let that thread rest and give the server side time to respond.
Ah ha! Is that what's going on with scripts that will randomly fail and crash alibre? I just added half a dozen time.sleep(.5) to some code I was having troubles with and it works every time now. I'd like to see how other people handle this properly with loops.
 
Last edited:
Top