TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
When replying to a specific statement be sure to quote the previous post.

VBScript to Boolean Add multiple selected solids
Read 7469 times
* September 25, 2009, 02:29:38 PM
The attached VBScript performs a Boolean Add on multiple selected solids. Non-solids are removed from the selection automatically. An Undo record is created so that the Boolean Add operation can be undone.

Limitation: -- doesn't currently handle Part Tree objects (i.e. Editing History).

*Updated 09/26/2009* -- Removed some erroneous Graphic.Delete operations.

[attachment deleted by admin]
« Last Edit: September 26, 2009, 02:11:26 PM by kchapman »

Logged


* September 26, 2009, 04:58:36 PM
#1
The attached version of the MultiAdd script has been optimized for the Macro Recorder palette. Very little has changed, except that this version takes advantage of the global Application object.

Unzip the attached script to a folder of your choice.
In TurboCAD, choose View/MacroRecorder Palette...
Click on the "Open" icon, and change the file type to VBScript (*.vbs)
Browse to the MultiAdd_MR.vbs script and load it.
Click on the Run button in the MacroRecorder palette.

[attachment deleted by admin]

Logged


* November 23, 2009, 03:47:52 PM
#2
The attached version of the MultiAdd script has been optimized for the Macro Recorder palette. Very little has changed, except that this version takes advantage of the global Application object.

Unzip the attached script to a folder of your choice.
In TurboCAD, choose View/MacroRecorder Palette...
Click on the "Open" icon, and change the file type to VBScript (*.vbs)
Browse to the MultiAdd_MR.vbs script and load it.
Click on the Run button in the MacroRecorder palette.


Very Useful routine Kevin, it saves an awful lot of time. Well worth developing.


Mike Geraghty.   (Sorry have not had a chance to get back on the programming side yet, hopefully before or just after Christmas).

Logged


* October 24, 2018, 12:13:18 PM
#3
Is it possible to get this script?
It is exactly what I was wanting.
Is there some reason this script was deleted by admin?
Was it too preliminary...did it not work or cause TC to crash?

Regards,
John

Logged


* October 24, 2018, 03:36:41 PM
#4
Is it possible to get this script?
It is exactly what I was wanting.
Is there some reason this script was deleted by admin?
Was it too preliminary...did it not work or cause TC to crash?

John.   Its not specific to the SDK, every now and again IMSI had a clean up of the forum removing old files and attachments from the whole forum, to clear up space on the server.

The attached should be the VBS file + one for the macro (I haven't checked the difference),  there is also a VB.net file available in this post

Logged