group creation and visualisation

Moderator: GiD Team

Post Reply
User avatar
Felguf
Posts: 10
Joined: Mon Sep 25, 2017 11:14 am
Location: Liège, Belgium
Contact:

group creation and visualisation

Post by Felguf »

Hello,

When I create a new group with the command

Code: Select all

Utilities Groups Create “Mygroup"
The group tree is not updated and the new group doesn’t appear.

I must close and reopen the Layers and groups windows to see my new group.

Is there a command to refresh the group tree ?

Regards
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: group creation and visualisation

Post by escolano »

Must use this Tcl procedure, (implemented in the file scripts/dev_kit.tcl, with common procedures for problemtype developers)

GidUtils::UpdateWindow GROUPS
User avatar
Felguf
Posts: 10
Joined: Mon Sep 25, 2017 11:14 am
Location: Liège, Belgium
Contact:

Re: group creation and visualisation

Post by Felguf »

OK, it works. Thank you.
Post Reply