[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 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/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 - Anybody interested in testing new Spaces macro ?
Page 3 of 5

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Jul 30, 2019 6:44 pm
by Mark Bell
Hi David,

The macro is coming together well. Some items to note:

The text size created for labels is very small and doesn't match the existing text size settings used in the Text menu. Screenshot below:
If the printer scale is changed to adjust the relative text size and further spaces and labels generated the label text size remains micro size. The screen shot shows standard text indicator at size 3.5 (light mgta) and the text label in the centre (white) which when Identified gives text size=0.

073119a.jpg


When generating an open side shape using contour, the macro didn't crash.

I'm unsure whether this is feasible with a macro; currently, opening the macro will force labels to update so if a space has changed the area will automatically update. Consider adding an icon that can be floating or docked into the menu's that when selected, updates the labels so areas are made current to reflect changes. The ideal situation is to have dynamic readouts so the areas update as the space is changed, but I assume this is beyond the capabilities of the macro.

If I use Move text, and move a label so it sits outside the space, then Update labels, the text updates but remains located outside the space. Is it worth adding a feature where a user can tick so labels reposition back inside the spaces?

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Jul 30, 2019 7:33 pm
by dhs

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Jul 30, 2019 8:06 pm
by Mark Bell
Thanks David,

Looks like it's all covered. I'll email you an AEC file so you can check on the text issue.

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Aug 20, 2019 6:21 pm
by dhs
I have just put an updated beta version of the macro on my web site (you can access it from the page at which also lists the changes made in each version).
The main changes in this release are to the way Text Scale is handled (which was causing the text size problem reported by Mark Bell), and a fix to the Excel Export functionality.

Note to anybody using the new version after having used the previous version with Text Scale: Check (and fix if necessary) the label text size settings before creating any new spaces.

Regards,
David H.

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Aug 20, 2019 8:58 pm
by Mark Bell
Hi David,
It's improved but still appears incorrect with the text scaling. The screenshot below shows text at 3.5mm, the top view with plot scale at 1:500 and the bottom at 1:50 with the corresponding Alt+T text to the right of each room shape. The macro text is responding to the print scale but doesn't display at the legible size as per Alt+T.

082119a.jpg

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Aug 20, 2019 10:37 pm
by dhs
Hi Mark,

The text is all displaying the correct size when I test this.
Did you check the label text size settings in the macro before creating the spaces? (Due to the change in the way the macro stores the text scale setting, the size set in the previous version may not carry over to this new version correctly - but once set it should be maintained correctly by this version).

If everything looks ok with the label text size settings, would you be willing to send me your default drawing in case there is something there that is causing me to get different results.

Thanks,
David H.

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Wed Aug 21, 2019 1:02 am
by Mark Bell
Hello David,

Yes, the Label Settings were at 0.07mm. This may be a carry over from its previous use in the previous file which used the earlier macro? Once adjusted to 3.5mm it works fine.
Thanks.

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Wed Aug 21, 2019 1:30 am
by dhs

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Wed Aug 21, 2019 6:55 am
by Neil Blanchard
Hi David,

I just downloaded v0.0.0.26, and it says Error opening file for writing: MACROS\Spaces.dmx Click Abort to stop installation, Retry to try again, or Ignore to skip this file

Should I just delete the file before installing this version?

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Wed Aug 21, 2019 2:25 pm
by dhs

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Wed Aug 28, 2019 3:33 pm
by Roger D
Can it do math? i.e. if I wanted to use to determine occupant load for a room, I'd enter Name and Occupancy ratio (i.e. 100 sf/person for an office)
And then the macro could do the math, rounding up to the next full person, or maybe that could be switch (Round up, Round down, Sign Digits). The label would show the count, and a report could total for a floor.

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Wed Aug 28, 2019 4:53 pm
by dhs

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Sep 03, 2019 7:53 am
by Neil Blanchard
My installation issue was that the installer had MACROS, and not C:\DataCAD 21\Macros. I had to type it in.

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Tue Sep 03, 2019 2:59 pm
by dhs

Re: Anybody interested in testing new Spaces macro ?

PostPosted: Fri Sep 13, 2019 9:12 am
by Neil Blanchard
Yes, I installed an earlier version with no issues.

When I use the Spaces / Edit Spaces / Add Corner, there is a brief delay after each pick, and it takes about 6 clicks to get it to select an edge of the Spaces polyline. When I use the DataCAD Curves / Polyline / Edit / Add Vertex, it selects the edge immediately.