Re: Coordinate Files

From: David Parker (davidp_at_bvisual.net)
Date: 07/21/04


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



Relevant Pages

  • Re: Need quick advice on dropping a master on top of a selected group shape.
    ... PinX = Sheet.1!PinX ... PinY = Sheet.2!PinY ... > I would like to drop a master on a page. ... > This master shape is a modular chassis. ...
    (microsoft.public.visio.developer.vba)
  • MS Sample Code Master Drop
    ... Then I copied and pasted the master drop code sample to the ... opens it as a docked stencil. ... // Convert the PinX and PinY into internal units. ...
    (microsoft.public.visio.developer)
  • Re: project BIG AppleCrate
    ... request page "123.123.123.123/NADAOPEN FILE ... webserver gets command, recognizes it as being for NadaNet. ... It sends the command over a serial connection to the Master ... the webpage used to control this internet enabled NadaNet could ...
    (comp.sys.apple2)
  • Re: My final word to Jeff
    ... Apostles are against his brethren using violence or killing and murdering ... When the Master informs us NOT to do something, by a commandment, what do ... 52 "Put away your sword," Jesus told him. ... saints will have the wisdom to patiently refrain and obey Christ's command ...
    (uk.religion.christian)
  • Reservation about UART1 FIFO in C8051F34x in MCE mode
    ... F340 as slaves to one Cypress FX2LP as master. ... I had the slave's ISR pulse when it received anything and pulse ... when it received a command byte. ...
    (comp.arch.embedded)