Create New Master Shapes From Electrical Drawings

C

consulttech2004

Hello! I have changed the names of some electrical drawings in visio
-- the shortcuts, anyways. The problem is that when I change the
Master name of a "110 volt outlet" to "110 2 plug socket wall outlet",
the VBA module still refers to it as a "110 volt outlet." This is the
case if I am using shapes in the VBA module. If I am using masters, I
get "Shapes." Is there a way to access a new name in my new stencil?

Thanks,

David
(Visio newbie)
 
J

John Goldsmith

Hello David,

Shapes get two names: a local name 'Name' and a universal name 'NameU'.
When you change the name in the UI you are actually changing the local name,
whilst the universal name remains the same (unless changed via code).

Take a look at these two links for a little more information:

http://msdn2.microsoft.com/en-us/library/aa201810(office.10).aspx#880 (DVS -
Using Universal Names)

http://msdn2.microsoft.com/en-us/library/ms426173.aspx (2007 SDK - NameU)

Best regards

John


John Goldsmith
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
 

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