Skip to content

problem creating shape #102

@mythrandir52

Description

@mythrandir52

i am having an issue creating a shape from the "Active Directory US" template. It can seem to find the shape listed. so the object is coming back as null. I know i am doing something probably simple wrong. Can someone help please. Is there an easy way to masters for a given visio doc.

The code open visio, create the page and then loads the active direct template but i can seem to grab the group or other objects from the shape template.

Mycode:
`
Import-Module Visio

$app= New-VisioApplication
$doc = New-VisioDocument

$grp = Open-VisioDocument "actdir_u.vstx"

$g = get-visiomaster -Name "Group" $grp

$shapes = New-VisioShape -Master $g -Points 2.2,6.8
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions