Skip to main content
1-Visitor
June 28, 2016
Solved

Alphabetical naming of ports

  • June 28, 2016
  • 1 reply
  • 2314 views

In attempting to create a variable connector group, I've run into a snag when it comes to naming the ports. The tutorial runs you through how to automatically name them numerically, but when I apply the help documentation to try and label the ports in an alphabetic manner instead, (which will make it easier given that the real life connectors are labelled alphabetically) I get stuck.

In the tutorial, you set the name_format parameter to #, and then add a label to the port shape with the format set to <name>. This then populates a variable connector with port names 1, 2, 3, etc.

In the help, it states:

Alphabetical naming help.JPG

However, when I try to use this, I get something that looks like:

Alphabetical naming.JPG

This happens regardless of which of the versions I use (full, trunc, hex).

I've tried varying the capitalization (Trunc vs trunc), varying the location of the # (#trunc vs #trunc# vs trunc#), but all that does is vary the location of the number.

Can anybody help me out with a step I'm missing?

Regards,

Matt

Best answer by jstone

Matt,

The best way is to use a member map.  See datable and member map images.

Thanks,

jef

connector_datatable.bmpalphanum_1_mm.bmp

1 reply

jstone12-AmethystAnswer
12-Amethyst
June 28, 2016

Matt,

The best way is to use a member map.  See datable and member map images.

Thanks,

jef

connector_datatable.bmpalphanum_1_mm.bmp

1-Visitor
July 4, 2016

Thanks Jeff,

It took a bit more fiddling and bumbling than I'd like, but I've managed to start creating and using datatables/membermaps in an effective manner and they provide a much better format, thanks for pointing them out.

Regards,

Matt