stencils in a drawing

N

NG_AU

Hi Guys

I have been trying to get a list of stencils 'attached' to a drawing.

I know that if I dont have the 'Save Workspace' ticked I lose all the
stensils I have added to a drawing and that I can check this in code with

if activedocument.containsworkspaceEx = false ...

So I thought it must be a property of the activedocument but no joy :(

Does anyone know how to get a list of the stencils, I want to add a stensil
if it is not already "attached" to the drawing & get a list of the masters in
all the stensils etc. etc. etc.

TIA
NG
 
N

NG_AU

Hi Guys

I posted ttttoooo early - I found the answer

pseudo code

for intCounter = 1 to Application.Documents.Count

debug.print Application.Documents.item(intCounter).name

next

NG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top