Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Issues with the isolation mode in the SDK

Community Beginner ,
Jun 27, 2023 Jun 27, 2023

Hi everyone,

 

I'm working on a plugin, and I'm having some issues with isolation mode.

What I'm trying to do is to edit some objects while preserving the isolation mode.

For example, if I have line A in isolation mode, but I want to edit line B, I want to leave isolation mode, edit line B and restore isolation mode for line A.


But the issue I'm having is that the functions don't seem to be working properly.

First I get what art is in isolated mode:

 

sAIIsolationMode->GetIsolatedArtAndParents(&handle, nullptr);

 

Then I leave isolation mode:

 

sAIIsolationMode->CancelIsolationMode();

 

This part works properly, but after I do my changes I try to restore the isolation mode:

 

if (sAIIsolationMode->GetArtToIsolate(handle))
{
    if (sAIIsolationMode->CanIsolateArt(handle))
    { 
           sAIIsolationMode->EnterIsolationMode(handle, true);

    }

}

 

I also tried not to use GetArtToIsolate function, or use uuids instead of the art handle, but all of these seem to not work, the art just stays not-isolated...

 

Does anybody have any suggestions?

 

Thanks in advance, best regards,

Diogo

TOPICS
SDK
146
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Adobe