Jump to content

Element keywords change from stage specific to normal


Recommended Posts

Hello All, 

In a project a keyword became unwanted stage specific. 

How can I change this and make this keyword behave as a none stage specific? 

I tried deleting and recreating, but this was not successful. It kept stage specific. Also tried it with the python interface. 

What can I do? Is there a work around? 

The keyword is used in table and label templates. 

Thanks in advance. 

Johnny

  • 2 weeks later...

Hell Johnny,

I just tried with 2026 and a stage specific keyword could be changed by ticking the box in the dialog 'Accept changes for all stages', changing the keyword -> OK. I checked by using the arrows in the dialog and with the code from the App Development documentation

# -*- coding: utf-8 -*-

import gom

for stage in gom.app.project.stages:
	print(f"Stage: {stage.name} System='{gom.app.project.in_stage[stage.index].get('user_version')}'")

Which version are you using?

Hi,

it prints the keywords for every stage, so if the checkbox is on, the keyword should be the same for all stages -> Keyword is not stage specific. 

It also worked in 2025 for me:

image.thumb.png.e56649d53b1addc242f4a7813a19c729.png

OK was clicked like in the screenshot, the result after that is on the right for every stage.

×
×
  • Create New...