Posts: 3
Threads: 1
Joined: Feb 2015
Reputation:
0
I'm not really familiar with how the macros work. Would it be possible to generate a series of 5mm holes, 32mm's apart offset from a given line?
in other words, select a line and execute a macro...
line
37mm space
row of 5mm holes, 32mm apart
_________________________________________________________
37mm space
o o o o o o o o o o o o o o o o o
Thanks!
Posts: 390
Threads: 55
Joined: Apr 2014
Reputation:
8
You can use the dcGetLineData command to retrieve the Line information.
Then using the coordinate of the end of the line recalculate the start position for your first hole.
Then using the For/Next/Step command and dcCreateCircle command create circles with different X coordinates.
The Macro command manuals are under the Help menu bar in the Create New Macro tab.
The Basic Deltacad Extension has the commands to manipulate Deltacad entities.
The Basic Macro Language Ref has the commands for data processing.
The samples can be a big help, I cut and paste code from the samples to the Macro Editor.
You can also look at the Macros that forum members have submitted for help.
If you have ever done any Computer programming such as Microsoft QuickBasic, a lot of the 'Basic Macro Language' commands are the same.
Posts: 3
Threads: 0
Joined: May 2022
Reputation:
0
Can you use any "/mb" commands at all? Sounds like the alias may be missing from your macroquest.ini file.
You can open your MBCommon.ini file and change "LoadAlias=0" to "LoadAlias=1", then re-start modbot.