Thread: Macro Recorder?
View Single Post
Old 15th December 2021, 10:29 AM   #4
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default Re: Macro Recorder?

Put the attached file in your scripts folder (within the AC3D program folder).


When AC3D starts, it reads that script and adds an item to the Tools menu.


The code is this:


Code:
proc tomkat_run {} {

    #(switch to Object mode)
    ac3d set_select_mode 1

    #Object -> Merge
    ac3d object_merge    

    #(switch to Vertex mode)
    ac3d set_select_mode 3

    #Vertex -> Weld
    ac3d weld_vertices

    #Surface -> Combine 
    ac3d combine_surfaces
}

 .mbar.tools.menu add command -label "Tomkat Super Combine" -command "tomkat_run"
 
 puts "Tomkat script complete"
To experiment set the console to stay around (File->settings->advanced) and put "ac3d list" in a script to see all the possible commands.
Attached Files
File Type: tcl tomkat.tcl (394 Bytes, 52 views)
Andy is offline   Reply With Quote