Author Topic: Reference shape data from shapes that are glued to the ends of connectors  (Read 47 times)

0 Members and 1 Guest are viewing this topic.

hill041

  • Jr. Member
  • **
  • Posts: 13
Dear all,

Is it possible to get shape data from shapes that are glued to the ends of connectors?

For instance, if i have two rectangles with ShapeData Prop.Name=Box1 and Prop.Name=Box2 respectively and connect them to eachother with a connector with Prop.ConnectorName=Connector1

Can i somehow reference the names of the rectangles in the Connector1 shape data? is there a GluedStart or GluedEnd property or similar i can use to get this info?

eg
Prop.ConnectorName=Connector1
Prop.From= GluedStart!Prop.Name
Prop.To=GluedEnd!Prop.Name

I would like to then be able to get a report of all of the connectors on my design and see what each is connected to and build a table like this:

Connector Name      From      To
Connector1              Box1   Box2
Connector2              Box3   Box4
Connector3              Box3   Box5
Connector4              Box4   Box2
Connector...              etc…   etc…

I would prefer to only use the ShapeSheet if possible rather than VBA, I've constructed quite a complex template already and have so far avoided the dreaded Macro Warnings for its users.

Many thanks in advance.

Daniel.

Surrogate

  • Hero Member
  • *****
  • Posts: 865
    • ShapeSheet™ Knowledge Base
Re: Reference shape data from shapes that are glued to the ends of connectors
« Reply #1 on: December 07, 2018, 05:18:09 AM »
I think this article can answer for all your questions!