How assign text label to a specific shape inside of grouped shape?

M

MDelisle

I need to build a shape having a rectangle, a circle and a connector between
the rectangle. The circle which is 50% transparent is used to identify a
object on a P&ID and the rectangle is used to give a name to this object.
Custom properties have been associated to this grouped shape. Can I assign
one of this custom properties, which I have named it DisplayedText, to be
shown only on the text label of one of the shape used to represent this group
(here I would like inside the rectangle).
 
J

John Goldsmith

Yes. You could use any of the shapes in the group, although the simplest
will be the shape you want the text to appear in the middle of. So using
the Drawing Explorer (View / Drawing Explorer Window), select the shape
you're after and then Insert / Field... / Custom Formula. In the 'Ciustom
formula:" field add the following formula:

=Sheet.3!Prop.DisplayedText
(where Sheet.3 is the name of your group shape containing your custom
property)

This will add an inserted field in your desired shape that references the
custom property in the group shape. You can then adjust the location of the
text by right-clicking your chosen shape agin in the Drawing Explorer and
select Show ShapeSheet. The section you're after is the "Text Transform"
section, which if you can't see it can be revealed by right-clikcing the
ShapeSheet and selecting Insert Section... and select the Text transform
box.

Hope that helps.

Best regards

John


John Goldsmith
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
 
M

MDelisle

I have tried to include the formula Fod.133!Prop.DispTXT inside the rectangle
but I got the error message "Bad Shapesheet name". I have verify the name
of the group shape (Fod.133) and the name of the custom properties that I
want to be used inside the rectangle (Prop.DispTXT). You mention the Drawing
Exporer but I have selected my custom shape from a stencil window, does this
should make a difference?
 
D

David Parker

Did you try =Sheet.133!Prop.DispTXT ?

MDelisle said:
I have tried to include the formula Fod.133!Prop.DispTXT inside the
rectangle
but I got the error message "Bad Shapesheet name". I have verify the name
of the group shape (Fod.133) and the name of the custom properties that I
want to be used inside the rectangle (Prop.DispTXT). You mention the
Drawing
Exporer but I have selected my custom shape from a stencil window, does
this
should make a difference?
 
M

MDelisle

I have rebuild the shape from scratch and with the new name given "Sheet.56"
using Sheet.56!Prop.DispTXT now works.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top