Hi,
I have some logic that is doing a SymRead and then creating some entities based on the symbol entities (but quite deliberately not actually adding any instance of the symbol to the drawing).
I am hoping that somebody can help me with a couple of questions:
Thanks.
David H.
I have some logic that is doing a SymRead and then creating some entities based on the symbol entities (but quite deliberately not actually adding any instance of the symbol to the drawing).
I am hoping that somebody can help me with a couple of questions:
- If I do multiple SymRead calls with different file names but using the same symname parameter (I was using something like 'Temp'), then it seems that the first symbol read is saved to the drawing file somehow and subsequent SymRead calls do not overwrite it (i.e. the subsequent SymRead calls do not work).
Does anybody know if there is a way to delete the symbol that has already been read before the next SymRead call? (I've looked for a few variations, but cannot find a 'SymDel' (or similar) call in UInterfaces) - To get around the above problem I am changing the symname parameter every time I call SymRead. This works fine, but assume I adding a whole lot of unused symbols to the drawing file somewhere, in which case should I be doing something to delete them (or will they be automatically deleted at some stage as they are not actually referenced anywhere) ? (if there is a 'SymDel' type procedure in answer to the first point then it also largely answers this question)
Thanks.
David H.
David Henderson
dhSoftware - Add-on Macros for DataCAD
dhSoftware - Add-on Macros for DataCAD