Skip to main content
7-Bedrock
Nov 6, 2026 11:15 AM UTC
Question

Mapkey: Add text at the end of existing relations

Hello together,

I am currently trying to add a mapkey which adds a enclosure volume feature to existing parts. In addition, it has to add 3 relations to the end of existing relations, but I can not make it work out unfortunately. 

So if there are for example 5 lines with existing relations, it should add a new relation to a new line 6, insert a parameter, jump into line 7, insert a parameter, jump into line 8 and insert a parameter.

Do you have a quick solution for that issue?

Thanks in advance!

    1 reply

    tbraxton
    22-Sapphire II
    Nov 6, 2026 5:53 PM UTC

    Study the utility of this config.pro option in the context of what you need. It might enable you to get a solution if you can standardize things in your start templates such that you can record a mapkey(s) that could work. I would work on building up simple mapkeys into a nested top level mapkey call to make debugging things easier.

     

     

    relation_tool_mapkey_behavior

    Increment * , full_output

    Controls how Creo Parametric runs mapkeys in the Relations dialog box.

    Increment - Records the text set added or removed in the text area and saves it to the mapkey. Subsequently, on running the mapkey, adds or removes text incrementally to the current text set in the text area.

    full_output - Records the original text set in the text area and saves it to the mapkey. Subsequently, on running the mapkey, the current text set in the text area is replaced with the recorded text set.

    *  

    You cannot record mapkeys if the value of relation_text_trail_output is set to no . However, you can run a mapkey that was recorded with this configuration option set to yes , regardless of this options's setting when you run the mapkey.

    Translate