DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Sys Function

Started by Pearco, February 24, 2013, 05:13:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pearco

I am writing a macro to set dim style for inches and I cannot find the Sys function that sets the text offset from the dimension line. Can someone tell me what it is. I have just overlooked it.

Thanks Jim
Jim
User since ProDesign 1.5

Dempsey

Pearco,

I did not find the text offset either, but in Rob S (macro sdd05.d3m) dimension settings he uses <OptDimTextOffset [optf] after version 18.1, i.e. sys$(105), else <Offset [optf].

Hopefully this gives you a clue.
Dempsey

bdeck

Thanks Dempsey.

Where do you suppose Rob came up with these parameters. They aren't in any SDK that I've seen, or in any of the release notes that Magic posted in response to DcadRob's question here http://forum.designcad.com/index.php?topic=3924.0.

Do you think this stuff will ever get published?

BD

prl

bdeck,

Occasionally I use the macro recorder to make a "junk" macro just so I can examine the parameters for a command.  A few times, I've noted something new here and there.

bdeck

Quote from: prl on February 25, 2013, 05:37:50 AM
Occasionally I use the macro recorder to make a "junk" macro just so I can examine the parameters for a command.

Hi prl,
Even though I refer to BasicCad programs as "macros," I use the macro generator so rarely that I had forgotten it was there.
I should use it more.
Thanks,
BD

paulerens

#5
Quote from: bdeck on February 25, 2013, 09:04:52 AM
Quote from: prl on February 25, 2013, 05:37:50 AM
Occasionally I use the macro recorder to make a "junk" macro just so I can examine the parameters for a command.

I do this too.

So for example, I discovered ">ID_SELECT_NEXT {  }"




Bob P

We should probably have a sticky (or a running thread) on macro "secrets"...  An up-to-date list of commands and sys functions would be great.

JJG

to all,

in these both topics, we spoke about some parameters for dimensions, which are described on a extra information-file ( " DesignCAD 3D Max 18.0 BasicCAD Release Notes.pdf " )
hope it could be usefull for you, too.

http://forum.designcad.com/index.php?topic=4565.0

http://forum.designcad.com/index.php?topic=4009.msg22708#msg22708

DrollTroll

Always check the release notes for each version (and patch) for the latest BasicCAD changes. I keep trying to break loose some time to update the docs, but haven't been very successful at it yet.
25 years with DesignCAD

Rob S

It's been a while, but I'm sure that is how I found it out - by recording a macro while adjusting the text offset.

It is also possible that during testing, when I found the original macro was broken, I asked here, and someone else already knew the answer.  :)
User since forever