[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 384: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5077: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5079: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5080: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5081: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
forum.datacad.com • View topic - Toolbar ?'s
Page 2 of 3

Change Dim Style

PostPosted: Thu Jul 02, 2009 10:23 am
by Roger D

Re: Toolbar ?'s

PostPosted: Wed Jul 20, 2011 6:54 pm
by joshhuggins

Door Swing Style Code

PostPosted: Tue Aug 23, 2011 11:56 am
by joshhuggins
Is there a code to set the 2D door value for Match Door on/off?

:idea: Even if you have F5 Match Door toggled on and the F6 Swing Color option disapears, you can still hit F6 and set the color option. 8)

Context Insert Symbol toolbar

PostPosted: Tue Sep 06, 2011 5:59 pm
by joshhuggins
:?: Is there a way to set a context toolbar while in the insert symbol menu?

Re: Toolbar ?'s

PostPosted: Fri Jan 17, 2014 7:29 pm
by joshhuggins
:?: Are there extended codes to set the state for Curves, Polyline, Voids, Create New on/off? If not, could we got some please?

Also the https://www.datacad.com/ddn/extended_cha ... codes.html list is missing the following items,

1071 : KnockOut for Curves On
1072 : KnockOut for Curves Off
1073 : KnockOut Border for Curves On
1074 : KnockOut Border for Curves Off
1075 : KnockOut for Polygons and Slabs On
1076 : KnockOut for Polygons and Slabs Off
1077 : KnockOut Border for Polygons and Slabs On
1078 : KnockOut Border for Polygons and Slabs Off

and has this message at the bottom of the page.

[an error occurred while processing this directive]

Re: Toolbar ?'s

PostPosted: Sat Jan 18, 2014 1:00 pm
by Mark F. Madura
Thanks Josh. I've added the missing codes and the error at the bottom of the page is related to a URL/Path issue for the footer (ddn.datacad.com versus www.datacad.com/ddn/).

Re: Toolbar ?'s

PostPosted: Thu Sep 11, 2014 4:13 pm
by joshhuggins
Is there a code to set the state of the 2D doors, Swing Style, Match Door? Trying to set the status via a macro but gets hung up if Match Door is already on. If there is no code I guess I can set it in the default drawings and will just have to manually set in old drawings.

Edit: Nevermind on setting the color as it still sets the color at F6 even if it's set to Match Door. Still need the code to toggle off Match Door if it's on if possible. Thanks.

Re: Toolbar ?'s

PostPosted: Thu Sep 11, 2014 6:22 pm
by David A. Giesselman

Re: Toolbar ?'s

PostPosted: Tue Sep 16, 2014 2:00 pm
by joshhuggins

Toolbar DropDownCount=

PostPosted: Thu Nov 13, 2014 6:28 pm
by joshhuggins
I have started setting the DropDownCount= to a large number like 60 to avoid me forgetting to update the number when I add new buttons. Any reason I shouldn't?

Loop/restart a macro? Refresh display?

PostPosted: Thu Nov 20, 2014 7:52 pm
by joshhuggins
Is there a command I could use in a toolbar macro to loop/restart the macro?

How about a code to refresh the display?

Re: Toolbar ?'s

PostPosted: Fri Nov 21, 2014 9:16 am
by Roger D
to restart a command aliais
0169 © call a command line alias

to refresh yourself
0085 U Regenerate Display List or
0117 u Regenerate Display List

Re: Toolbar ?'s

PostPosted: Fri Nov 21, 2014 12:53 pm
by joshhuggins
O.K. I think I could maybe use a command alias call and clearing the stack in between to get me where I want to go with this one. Will have to play with it a bit to see. So where did you get the info for 0169? It's not defined on the online Wish that list could get updated with everything that is available (hint hint :wink: )

As for the refresh, I was wanting to do a refresh rather than a regen to keep things snappy. I am getting a cursor ghost at one point in my macro and thought a refresh would be nice to clear it up.

Thanks Roger!

Re: Toolbar ?'s

PostPosted: Fri Nov 21, 2014 1:28 pm
by Roger D
p45 of Reference Manual
(Pro) Keyboard Macros and Nested Aliases
Keyboard macro sequences used in (Alt) + (Key) combinations, toolbars, or command line aliases can include up to 1,024 commands. ^F1, or ^Enter this line of text$, and ^12.5$ each equal one command, so there is essentially no limit to the number of keystrokes per macro string.
You can use the PAUSE character (Alt) + (0170) "ª" when defining a keyboard macro string. Inserting this character after a carat "^ª" causes the macro sequence to halt until you click or type. If the pause character is followed by text (i.e., "^ªThis is a comment"), the text will be displayed in DataCAD as a prompt. You may not use the dollar sign ($) character in comment strings.
You can call a command line alias from a keyboard, toolbar, or command line alias macro sequence, allowing you to chain together existing aliases by name. To call a command line alias by name, precede the command name with the special character (Alt) + (0169) "©". For example, (B^;^F7^ªSelect entity to erase^©cp) calls the "cp" alias after going to the Erase menu and waiting for one input.

I've requested through Mark Toce that the file get updated. I keep my own copy in word so I can update while beta versions are adding new codes.

Suppress macro toolbar with no comments?

PostPosted: Tue Jul 14, 2015 5:12 pm
by joshhuggins
Is there a way to suppress the display of the comment toolbar for a specific pause in a toolbar macro? I know we can use Suppress Macro Hint Toolbar= to suppress it all the time, but would like to suppress it just a few times in a macro I am making. If not, could the Macro toolbar be auto suppressed if there is no comment with a pause instead of displaying the toolbar with the No Comment message?