Skip to main content
1-Visitor
June 16, 2017
Question

How to find the association block which types a connector?

  • June 16, 2017
  • 3 replies
  • 7675 views

I am looking for a way to find the type-defining block of a connector, such as "CableConnSocketA-SocketB" on the following diagram:

[Block] Context [Cable Reuse].png

I cannot find it in the properties of Connector. And I cannot find the connector in any of the browsers except the dictionary browser, that does not lead any further.

I would have expected a DataType tab in the Properties pane, as is common with other type definitions, such as with Full Ports, but nothing...

(If I select the port "toECU" on the above diagram I get such a DataType tab on the Properties pane, which shows me the full path of "Socket TypeA" and even allows me to switch to its Properties pane.)

 

The context of the above ibd diagram is the following bdd, where you can see the association-typing block "CableConnSocketA-SocketB" that I am looking for. The shown association between "Socket TypeA" and "Socket TypeB" is the one that I selected from the pop-up menu when I created the connection "Connector" on the ibd diagram above. The ibd belongs to the block "Context with Reuse" on the lower part of the bdd.

[Package] CableModeling with AssociationBlock Reuse [1].png

Does anybody know a way how I can find the block "CableConnSocketA-SocketB" in the model, coming from the ibd above?

 

Any hints are very welcome!

Jan

 

@unknown: Could you consider a new feature, where the Properties pane of a connection is enhanced by a "DataType" tab, as mentioned above?

(Sorry, but as Basic Member I am not allowed to create Product Ideas... Therefore I put this suggestion here, as it is directly related to my question. Feel free to move this part over.)

3 replies

1-Visitor
June 16, 2017

Clarification:

I just realized that "CableConnSocketA-SocketB" is not the name of the block (which is called "CableConnection SocketTypeA-SocketTypeB"), but the name of the association between "Socket TypeA" and "Socket TypeB" on the bdd.

But anyhow: It would be nice to be able to find out, which is the typing association of the connector.

Therefore my initial question remains valid, just strike out "block" from "association block", as this remains the missing link on the path to the block.

Furthermore I would highly appreciate to have a less quirky path from the association to the association block linked to the association. The only one I found is this one:

* select the association in the diagram (bdd)

* on its Properties pane go to the Item tab, there choose to get shown the AssociationClass

* there it is: "CableConnection SocketTypeA-SocketTypeB" -> but if you right-click on it and choose Find > In Package Browser, you get "Item not found in Package browser". Quite weird.

* But there is a path: instead of Find, after having selected the item click on the "Properties" icon in the right-upper Corner. This way you have the blocks properties. Now go to the General tab and right-click on the item's type icon > Find > In Package Browser and this time Modeler does not let you down again but shows you the block in the Package Browser.

Interestingly the AssociationClass list of the connector typed by the association "CableConnSocketA-SocketB" is empty...

I hope this clears up some potential confusion.

Still hoping for hints.

Jan

5-Regular Member
August 2, 2017

Hi Jan,

 

Perhaps this is too little too late, but I just happened to notice your question and I thought I might have a suggestion for you.  

 

First of all though, I think it's significant to note that connectors don't actually have data types, they just have (generally speaking) beginnings and endings. If you added an item flow to the connector, that could have a data type. Also, the beginning and ending points, i.e. ports, could have data types.   But not the connector itself.

 

So, I'm not exactly sure what you want to be able to find, but you might be able to get what you want by right clicking on a connector on your diagram, then selecting Report -> Details to see which things are associated via the connector (or Report -> Useage to get a list of the diagrams it appears on).

 

You can also use Tellme from the Tools menu to get in depth information about any diagram symbol/model item.

 

I hope this helps.

 

Regards,

Lyn

5-Regular Member
March 14, 2019

If I understand the problem correctly, although it's true you currently can't show the name of the association block on an IBD,  you can use a workaround to get to the block by doing  Report > Uses on the Connector.   Then, in the results,  select the Association.  In the properties pane for the Association, click the Items tab and select the Association Class item.  

 

See KB article =>

 

https://www.ptc.com/en/support/article?n=CS300511

 

Lyn

1-Visitor
February 19, 2019

Hi all,

This is a very valid question, and thanks for putting this here. Even I was not able to find association blocks (links) to start with in modeler, and this question helped me find it!!

However, I'm still finding it impossible to set the 'type' of connector as the association block. 

Thanks,

Mudit

1-Visitor
March 14, 2019

I've created a product improvement suggestion for this issue: see https://community.ptc.com/t5/Integrity-Ideas/Implement-connectorProperty/idi-p/598443.