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.
#76228 by dhs
Thu Apr 11, 2019 3:38 pm
Just a note about this question. I haven't found any way to delete the 'unused' symbols from the file (or to overwrite them), and don't know if they will ever be automatically purged.

But I have realised that it is possible to prevent an untold number of symbols being added to the file. I am now basing the symname parameter on the actual file name: I am appending a timestamp to the filename and using that as the symname parameter (the timestamp is based on the last modified date/time of the file to ensure that I can read a new copy of the symbol if the file is modified).

Initially I was using something like 'temp' but it was not possible to overwrite the symbol that had been read in subsequent calls. I then changed to using a different symname every time I called SymRead (this works, but has the potential to add an untold number of symbols to the file - not ideal, but probably not a problem in these days of massive amounts of storage and memory).

Rgds,
David H.
#76230 by dhs
Thu Apr 11, 2019 4:35 pm
Thanks Josh,

You have answered my initial question, but I will leave my logic as it is for those who don't have this option set (which may be quite a few, as my default install of Dcad has 'Symbols(Automatic)=FALSE' and also 'Symbols(Manual)=FALSE').

Rgds,
David H.

Who is online

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