Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

“Advanced Editing” Shape data

Solved686 views4th June 2024
1
Michael Loidolt [DevOps Advocate]41 4th March 2024 0 Comments
Hello, 
I have a question regarding Visio. Is it possible to query and set the Advanced Editing Shape Data dynamically via an automation or driver (via C#)?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th June 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Bert Vandenberghe [SLC] [DevOps Enabler]8.30K Posted 4th March 2024 0 Comments

Hi Michael,

An automation script being executed, or a QAction (=C#) from a driver being executed, basically runs on the server. On the server, it’s not immediately possible to interact with the advanced editing of the shape data as this is part of the client app Cube… So, I’m afraid this interaction won’t be possible.

I’m not sure although what exactly your use-case is… Maybe there are other ways to get to what you’re trying to achieve? Feel free to share more details on the problem you’re trying to solve, there might be other options?

Bert

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 4th June 2024
0
Michael Loidolt [DevOps Advocate]41 Posted 7th March 2024 1 Comment

Hi Bert,

Thank you for your answer.
Sorry for my late reply.

My question is about being able to set the following long expressions using code:
e.g.
ParameterSummary:Max|166004/351:4023|166004/351:4024|166004/351:4025|166004/351:4035|166004/351:4006|ALARM

My question is also based on the fact that I want to make shape disappear, move, shrink and swap etc. Also the dynamic creation of a new shape based on certain events in the C# source code of the driver. It is clear to me that I can create and hide all shapes in Visio and only unhide them again when I need them.

But would it also be possible to create the shapes as described in the following article?
https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2017/vsto/how-to-programmatically-add-shapes-to-a-visio-document?view=vs- 2017
Would the shapes then also be updated in the Visio of Dataminer?

Best thanks
Michael

Bert Vandenberghe [SLC] [DevOps Enabler] Posted new comment 11th March 2024
Bert Vandenberghe [SLC] [DevOps Enabler] commented 11th March 2024

Hi Michael,

The Microsoft documentation you are referring to, is to programmatically talk to Visio and add shapes. This cannot be executed outside of Microsoft Visio. So, this is not supported in DataMiner. You could although, e.g. on your computer talk to Visio to programmatically add shapes and populate the shape data (using the documentation you found). Once you’re done, you save the Visio file and then you upload it to DataMiner (web method to upload a Visio file: https://ziine.skyline.be/api/v1/soap.asmx?op=AddVisioFile). Saving and uploading can also be automated, so this could be a fully automated process.

So, you cannot programmatically do this in DataMiner, it’s something your need to do beforehand in Visio, and then you can upload the result to DataMiner.

I hope this way of working makes sense and can be applied to your use case.

Bert

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs