The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#76822 by Mark Bell
Tue Jul 30, 2019 6:44 pm
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?
#76879 by dhs
Tue Aug 20, 2019 6:21 pm
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.
#76882 by Mark Bell
Tue Aug 20, 2019 8:58 pm
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
#76885 by dhs
Tue Aug 20, 2019 10:37 pm
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.
#76888 by Mark Bell
Wed Aug 21, 2019 1:02 am
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.
#76890 by Neil Blanchard
Wed Aug 21, 2019 6:55 am
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?
#76920 by Roger D
Wed Aug 28, 2019 3:33 pm
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.
#76963 by Neil Blanchard
Fri Sep 13, 2019 9:12 am
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.

Who is online

Users browsing this forum: No registered users and 27 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984