cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We’re aware of an issue preventing community login. Our team is actively working on a fix and we’ll share updates as soon as possible.

Translate the entire conversation x

Arbortext Editor - Illustration titles

MC_10357402
3-Newcomer

Arbortext Editor - Illustration titles

I've imported an illustration of three sheets into Arbortext Editor. How do I get the title to appear on each sheet, with the suffix "Sheet 1 of 3" etc? Currently the title appears on all three sheets, but if I add "Sheet 1 of 3", that's what appears on all three illustrations.

3 REPLIES 3

Hi @MC_10357402 

Thank you for your question. 

It appears that your post has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,


Catalina
PTC Community Moderator
PTC

You probably need to add some XPath expressions to your gentext for the title. In the figure title Generated Text->After-text, try something like this:

·(Sheet·<_gte:XPathString expr="count(preceding-sibling::sheet) + 1"/>·of·<_gte:XPathString expr="count(../sheet)"/>)

(This is assuming your sheet element is called <sheet>. If your doctype uses something else, change the element name in the XPath expressions accordingly.)

Note the _gte:XPathString items are added using Insert->XPath String from the menus in the gentext editor. The first expression counts how many sheets precede the current one (and adds 1 so that we start from 1 instead of 0), and the second expression counts the total number of sheets in the current container (presumably a Figure or something similar).

ClayHelberg_0-1752269121640.png

 

Hi @ClayHelberg - many thanks for your detailed answer. I'll give it a try and let you know the outcome.

Announcements

Top Tags