What's new

WizoScript insert new part into existing assembly

NateLiquidGravity

Alibre Super User
How can I let the user pick an open assembly or subassembly to insert a new part? I saw I can pick an edge or face of a part and getpart from that but I can't see how to select an assembly.
 

ajayre

Alibre Super User
Do you mean you want the user to choose a file to open? If yes then:

OpenFileDialog

Prompts user to select a file. Returns path and name if selected, empty string if canceled. Example filter: 'Part Files|*.AD_PRT':

string OpenFileDialog(string Title, string Filter, string DefaultExtension)

If you want to choose from amongst currently open assemblies/parts then that isn't currently possible.
 
Top