How to take list of connected shapes?


Author
Message
Maxim Dobryakov
Maxim Dobryakov
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)
Group: Forum Members
Posts: 3, Visits: 1
Hello, All

I have created diagram (see attachment). How to get a list of connected shapes for specified shape? For example in my case for rectangle shape it should be 3 lines which connect shapes.

Let's me know if required additional information.

Thanks
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Maxim,

Depending on your scenario you can use one of the following methods of the NShape class:

 

·         GetIncommingShapes – gets all connectors which end plug is connected to the shape

·         GetOutgoingShapes – gets all connectors which start plug is connected to the shape

·         GetShapesConnectedToInwardPorts – gets all of the above



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search