Hi
Hi Andrew,
I am not the originator of this thread, but I am looking for the same thing. I believe we need:
- Connection Points section
Never mind, all needs seem to be met at this point. Thanks for explaining about setting the Comment. (The need for the other two sections is resolved by using Master shapes composed of other shapes to produce multiple glue points.)
Hi Andrew,
Oops, not quite resolved; we still need to add Connection Points, per my revised post above.
Hi,
Hi, i have a follow up to the original question. I am trying to get to the user-defied cells of a shape and cannot seem to locate them on the object model. Similarly, I am looking to get access to a shapes customprops, not just props. Any guidance would be appreciated.
Thanks for your inquiry.
Would you kindly share any sample VISIO Diagram with us from which you want to extract mentioned information. We will test the scenario in our environment and address it accordingly.
Unfortunately due to IP restrictions, I cannot share the files I am working with. I can construct a sample diagram, however I am simply trying to access user-defined cells on a shape from a Visio file as described in this link
if you need me to create and attach a simple Visio file, I can do so.
Thanks for providing further information.
We have logged an investigation ticket as DIAGRAMJAVA-50645 in our issue tracking system for your requirements. We will further investigate the feasibility of the feature your require and let you know in case of additional updates. Please be patient and spare us little time.
We are sorry for the inconvenience.
Thank you! It should be noted that I am using Aspore.Diagram for .NET
Thanks for letting us know about API platform.
It would be appreciable if you may please create and share a sample VISIO file with us. It would definitely help us investigating the feature feasibility accordingly.
Test_User_Defined_Cell.zip (11.3 KB)
This is a simple drawing with two shapes. If you view the Shape Sheet of the shape “Test Shape” you will see a section called “User-defined Cells”. Not all shapes have these, however I need to be able to see those user-defined properties IF a shape has them.
Thanks for sharing sample VISIO file.
We have updated the information under new ticket ID i.e. DIAGRAMNET-51601. As soon as ticket is resolved, we will surely update you. Please spare us little time.
Thanks for your patience.
Please use Object User
to get customer props as follows:
Shape mastershape = diagram.Pages[0].Shapes.GetShape(1).MasterShape;
User user = mastershape.Users[4];
Console.WriteLine(user.NameU);
Console.WriteLine(user.Value.Val);
Console.WriteLine(user.Prompt.Value);
In case you need any further assistance, please feel free to let us know.
Yes! Thank you! I was not using the master shape.
Thanks for your acknowledgement.
It is good to know that you are able to achieve what you require. Please keep using our API and in case of any further assistance, please feel free to let us know.