V5 beta Apr-27-2026 available now Sticky
 1  2-21  22

Previous
 From:  Michael Gibson
11970.22 In reply to 11970.21 
Hi Frederick,

re:
> I would like to see a feature where a group (via the group header) could be
> assigned some information, such as a version number.

I think there are enough pieces in place to do this now.

The "assign some information" is done by selecting the top level group, push the "Details..." button, and in the Object properties dialog expand the "Object user text" section and add in a new entry, for the Key part put in "fcwilt_version" for the value part put in your version number.

So looks something like this:



For this part:
> Then for each item within the group, when setting the name, you could use as tag like %V which would be replaced with the version number.

On each child item inside the group you could assign a user text of fcwilt_name_template and give it a value with a %V in it, like: "The version is %V".

Then you need a script that when triggered will go through all top level groups and if it has a fcwilt_version data chunk in the top level group's object user text the script will go through the child objects of the group and any child that has a fcwilt_name_template it will evaluate the template replacing the %V and then set the object name to the resolved text.

If that sounds like it does what you need I can cook up the update script for you , it should not be very difficult.

That's what the Object user text is for, so scripts have a channel to store data that is for their own needs which gets saved and loaded. There is also document level user text you can find under File > Notes > Document user text.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1  2-21  22