MikeShepard / VisioBot3000

Simple Visio Automation from Powershell
MIT License
50 stars 13 forks source link

error message, New VisioShape #79

Open fe77 opened 2 years ago

fe77 commented 2 years ago

Hi Mike, I am leveraging some sample code you provided to generate a visio document. When I call this line "New-VisioShape -Master Server -Label $computername -X 3 -Y 7 -Name $computername" I get constantly errors.

Sorry for the french in the error, but I get this : ne exception s'est produite. Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:53 : 13

Impossible d’extraire la variable « $DroppedShape », car elle n’a pas été définie. (not defined) Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:54 : 13

Impossible d’extraire la variable « $DroppedShape », car elle n’a pas été définie. Au caractère C:\Program Files\WindowsPowerShell\Modules\VisioBot3000\1.1\VisioShape.ps1:58 : 9

I tried several tests, including hard coding values but I get the same result. I wanted to know if you could advise me, and if I can on my side some more "debug" to find the root cause.

I thought for example about a problem with English/french install conflict. Thanks a lot. Regards.

MikeShepard commented 2 years ago

Have you told Visiobot3000 where the 'Server' shape is using Register-VisioStencil and Register-VisioShape ?

MikeShepard commented 2 years ago

Also...sorry it took so long to respond. :-)