I have Draftsight Pro and am attempting to do some VBA programming. I know enough about VBA to be somewhat dangerous, but having said that I have made a couple of successful programs to handle updating title blocks across multiple drawings, so I am not a complete noob.
I am trying to write a custom VBA routine to extract text fields from a particular layer in various drawings. I am able to extract the text values, both simple and multi-line notes, however so far I am unable to apply the selection filter so as to be able to specify one specific layer.
I could use VBA code to further filter the extracted text data array for layer names but rather than writing additional VBA code I am looking for a way to utilise the SelectionManager to preset a Layer name so that the filtered results will only be one final array of the text notes (single and multi line) from a specified layer.
Anyone have any thoughts or suggestions?
Thanks
