Re: Coordinate Files
From: David Parker (davidp_at_bvisual.net)
Date: 07/21/04
- Next message: David Parker: "Re: Hyperlink to open a new window when published to web"
- Previous message: Mark Nelson [MS]: "Re: Visio version needed?"
- In reply to: Bob: "Coordinate Files"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 21 Jul 2004 08:34:56 +0100
Bob,
If you are OK with VBA then this should be easily do-able.
The Page.Drop command requires you to pass the Master, PinX and PinY and
returns the dropped shape
The Page.DropMany command requires the same, but organised in arrays, and it
returns an array of shape IDs
You will therefore need to:
1. Create a master shape (or use an existing master from an existing
stencil)
2. Decide if your ID is going to become:
a) The name of the shape (thus you will see it listed in the Drawing
Explorer - has to be unique in the page)
b) A value in a custom property of the shape (can be seen easier - evem
if published to web)
c) Both a and b - my prefered solution
3. Decide on the scale of your dawing page
4. Decide on the page co-ordinates (PinX & PinY) conversion from your X and
Y
5. Write your code
Optional extras:
6. Include Z as another custom property (Again useful for viewing and
reporting)
7. Change Z-Order according to Z values (Assume that highest Z should be
seen above lower Z - only relevant if any shapes overlap)
8. Add shapes to Z related layers (you can then turn on/off particular
layers and thus the visibility of their shapes)
Note that pre-2003 versions of Visio included an Import Flowchart Wizard,
which could do most of 1-5 above, if you formatted your list correctly.
"Bob" <Bob@discussions.microsoft.com> wrote in message
news:9CBAB30D-3B34-4BAD-8711-1E7DC6446B80@microsoft.com...
> I have a list of about 200 points (ID, X,Y,Z) and want to turn it into a
drawing (without the Z values).
>
> Does anyone know if Visio can generate a drawing from a coordinate file?
If it can, how do I do it?
>
> Thanks,
>
> Bob
- Next message: David Parker: "Re: Hyperlink to open a new window when published to web"
- Previous message: Mark Nelson [MS]: "Re: Visio version needed?"
- In reply to: Bob: "Coordinate Files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|