Author Topic: .cod in mep?  (Read 2785 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick BaughmanTopic starter

  • Full Member
  • ***
  • Posts: 242
  • Country: us
  • Gender: Male
    • U.S. Engineering
.cod in mep?
« on: Apr 18, 2013, 16:29:47 PM »
I am just starting to get my feet wet with CADmep+, I am a frequent user with CAMduct. Is there a way to run my .cod scripts within CADmep? I see a job contents button what resembles camducts job contents and an "Execute Script" function. But when i select my script, nothing happens. Must i learn LISP? I really hate parenthesis....

I apologize if this has been answered elsewhere, my quick searches could not find any results.

Offline c2k

  • Premier Member
  • *****
  • Posts: 3585
  • Country: us
  • Gender: Male
.cod in mep?
« Reply #1 on: Apr 18, 2013, 17:18:06 PM »
EXECUTESCRIPT at the AutoCAD command line
**CHRIS
AEC Collection
Fabrication CADmep & ESTmep

Offline Nick BaughmanTopic starter

  • Full Member
  • ***
  • Posts: 242
  • Country: us
  • Gender: Male
    • U.S. Engineering
.cod in mep?
« Reply #2 on: Apr 24, 2013, 18:44:58 PM »
Is there a way to automate that EXECUTESCRIPT command to a GUI button and have it linked to a particular script?

Offline c2k

  • Premier Member
  • *****
  • Posts: 3585
  • Country: us
  • Gender: Male
.cod in mep?
« Reply #3 on: Apr 24, 2013, 18:51:33 PM »
Yes.
The old help file actually gives an example of this:
Create a Macro on a button that issues the command (executescript "c:/temp/scripttorun.cod").
**CHRIS
AEC Collection
Fabrication CADmep & ESTmep