Grouping of shapes post import


Author
Message
Steven Simonton
Steven Simonton
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 11
I have implemented code that utilizes the NDataSourceImporter class.

I have a need to group some of the individual vertex based on their relationships to one another.

My questions are:

1. Where is the most appropriate place to so this? Inside the OnVertexImported callback? Or the OnImportSuccesful callback? Or neither?
2. I am thinking that Grouping is the approach that I want to take. Is this the right thing to do?
3. Can someone provide with with some sample code?

I have attached a drawing of one of the charts that I am producing with the diagram/importer.

I will try and explain what needs to be the final product.

Given the image attached, what I need to do is group all of the blue rectangles (represent out bound optical ports) within the white box (a fiber optical splitter) which are connected by the dashed blue lines. There is also a single green box (which is the in bound optical port of the splitter) that needs to be grouped as well.

I apologize for the poor verbal description but it makes perfect sense to me as I have been looking at this for quite some time.....

Any help or guidance would be greatly appreciated......

Thanks,
Steve
Attachments
pon_network.jpg (106 views, 64.00 KB)
Reply
Steven Simonton
Steven Simonton
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 11

Thanks for the response......

Question, how can you tell that the blue rectangles are not on the same layout layer ?

Given the image I want to group all of the blue shapes within the white rectangle......

I have added the blue and white shapes to the same layer within the drawing......


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