What features would you like to see added to a future version of DataCAD?
#71232 by GuyS
Mon Apr 17, 2017 10:39 am
I know there are work arounds for this but it would be extremely useful to have a function like MS Excel has. That is, "find and replace" text. With excel you can have the app search the whole page for and replace a text string with an updated/changed text string.
#71233 by Roger D
Mon Apr 17, 2017 12:13 pm
There is a macro, Scrive out there that has the function in it.

Or, you can do a change/text/content, search by area with mask/Entity/Text/Text Mask/Text Search then enter the text. You would have to do the replace for each find, but if you have the text copied via Ctrl-C, then you could paste with Ctrl-V. Fairly quick.

I think I got this command alias to work, put it in the dcadwin.dca file
[FR]
comment=Find-Replace text
alias=^;^F0^S8^S2^F5^S8^F0^F1^S7^S7^F1^S3^F1^F1^F1^ªEnter Text to find^S0^S0^S0^F3
#71238 by joshhuggins
Mon Apr 17, 2017 5:01 pm
I use the subtext macro for this on plain text.
#71241 by Roger D
Tue Apr 18, 2017 7:19 am
year that macro has sat quietly in the folder never used. Now I need to remember why it is there.
#71242 by GuyS
Tue Apr 18, 2017 9:25 am
Very handy indeed Roger! Especially when changing room labels for multi office buildings, or correcting/changing spec sheets!
#71300 by Roger D
Sat Apr 22, 2017 2:26 pm
neither Scrive or SubText will, just tested.
But Change/Text/Content Text Mask will find the word.
#71493 by dhs
Sun May 14, 2017 3:27 am
Not surprised that neither scrive nor subtext work on PText ... PText does not appear to have been exposed to DCAL. Not only is it not documented in the DCAL manual, but a macro does not even appear to be able to examine a PText entity (e.g. if a macro selects entities by area that includes a PText entity, then the PText entity is not even amongst the entities returned to the macro).
So as it stands there will not be a macro that can handle ptext this (not even my old dhText macro).

Who is online

Users browsing this forum: No registered users and 123 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