Page 1 of 1

Symbol Browser Path (D4D)

PostPosted: Wed Nov 20, 2019 2:43 pm
by dhs
UConstants contains the following declaration:
Code: Select all  PathSymBrowserUnused = 40;

Sure enough (as indicated by the 'Unused' at the end of the name) it does not work (just seems to return the datacad install directory).

For now I am able to get the Symbol Browser Path by reading dcadwin.ini directly (Section='SymbolBrowser', Ident='SymbolFolder'), but is there a reason why there is no (usable) path constant to retrieve the symbol browser path? (or is there one that I've missed?)

Re: Symbol Browser Path (D4D)

PostPosted: Wed Nov 20, 2019 3:22 pm
by Mark F. Madura
I think you're looking for savevar.SymbolFolder which is stored on a per-drawing basis.

Re: Symbol Browser Path (D4D)

PostPosted: Wed Nov 20, 2019 3:27 pm
by dhs
Thank you Mark ... I'll try changing my code to use that.