collapse a group

Moderator: Kathy_9

warrensmith
Posts: 9
Joined: Tue Aug 14, 2018 2:53 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

collapse a group

Post by warrensmith »

I've looked through the API Docs and don't see it, but maybe I just missed it.

Is there a way to collapse a group programatically? I don't seem to see any command that will do that.
LeviFiction
Advisor
Posts: 6472
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: collapse a group

Post by LeviFiction »

I'm assuming you mean visually in the Layers Palette and not merging a layer group into a single layer. This is not possible in a script, no.

The API doesn't really let us affect the UI at all. The UI will update to match the result of certain commands, but that's about it.