Similar Threads:
1.How can I set the "shape data" for a shape in a stencil from X
I am using Vision 2007 Trial version to learn.
Is there a sample or documentation that shows how this can be done ?
Thanks in advance.
"Al Edlund" wrote:
> what version of visio are you using? In v2007 you can read xml directly into
> recordsets and access it via programming.
> VBA within a stencil is also an option for some. Graham Wideman discusses
> some of the issues in his book "Visio 2003 Developers Survival Pack".
>
> al
>
> "Raja Cherukuri" < XXXX@XXXXX.COM > wrote in message
> news: XXXX@XXXXX.COM ...
> >I want to build a stencil with shapes that have default "custom properties"
> > or "shape data" come off an external XML file.
> > How can I do this ?
> > Any help is greatly appreciated.
>
>
>
2.Move one shape independent of others
How can I move one shape without having all the shapes connected to it
to also move? For example, in an org chart I may want to move a
supervisor shape up so I can put a note under the box. Every
subordinate also moves up so I have to seletc them all and move them
down.
3.Custom Property Set / Applying
Hello
I have created an organisational chart and have sucessfully applied an
extensive Custom Property Set to all the shapes. However: I now find that if
I add a new field to the set, or modify it in any way, I get two problems:
1. Applying wipe out values I have entered e.g. the number of hours worked
2. The new property doesn't appear in the properties box for the shares.
Any help would be appreicated.
Cheers and thanks
Chris
--
Thanks again
4.Shape Data Sets
Hello!
1) Is there an easy way, to share shape data sets (between different
documents) ?
Currently, I have put all my VBA-Code into one stencil, so I can share this
code... that's great.
Lets say, I am changing the shape data sets in document1.vsd.
When someone is working on document2.vsd, I would want him also to have the
changed data sets. And if he make changes to the data sets, I would also want
to be able to have them in the other documents.
If there is no easy way, is there a way?
2) Sometimes I lose some Shape Data. I know when it happen, but not really
why, and it seems not to happen always... (depending on I don't know what)
For example:
I am working in a docuement. There I have Shape Data Sets. I assign to a
shape two different shape data sets. Then I make a master out of this shape
by putting it in a stencil.
Then I create a new blank document and open the previsouly created stencil.
Now I drag the shape on to the drawing. But instead of having all of the
shapeData, the shape has only half of the shapeData! If I look at the
shape-data-sets, I see that only one of them are appearing.
I don't know why the other shape-data-set is not there.
Thanks!!
5.Applying custom property sets to base masters, and some funky beha
I posted this over in Visio.Developer.shapesheet, but this board seems to get
more eyeballs and traffic so I thought I'd post it here, too. Apologies if it
seems spammy.
So I'm creating a bunch of masters under a base master to which I'd like to
apply some custom properties. Following the "Step by step creating custom
shapes" tutorial, I am mostly able to get stuff working, but there are a few
frustrating instances of erratic behavior that I can't seem to make sense out
of. I'm using Visio 2007.
I'm creating a new Custom Property set in the project explorer window of
Shape Studio. Then, when I edit the shape sheet for that custom property set,
then close it and click yes when asked if I want to update the custom
property set. The problem begins when I try to apply the custom property set
to a base master. It doesn't show up in the dialog box listing. My guess is
that the shapesheet changes aren't getting committed, but I don't know why
now and I don't know how to force them to do so.
Any ideas?
The other weird thing is that sometimes I will open an existing custom
properties set, and the Shape Data section in the shape sheet (which I added
previously) will not be visible, and not editable. It is greyed out as an
option in "Show sections". I can select it again from the "Add section" menu,
which adds a completely new Shape Data section. Adding anything to this
section will not be reflected when applying the behavior to base master.
What's going on here?
I've done a quick web search but can't find anything relevant. Any
enlightenment is highly appreciated.
Cheers.
6. Shape Data Sets not working as expected
7. Problems with Shape Data Sets
8. How to programmatically close shape data sets window