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

The current layer changes, when "sAIPath->SetPathSegments" is used!

Participant ,
Dec 08, 2023 Dec 08, 2023

Copy link to clipboard


Hello all,

The following setup is used:

  • Windows 10
  • Adobe Illustrator 27.8.1 (64-bit)
  • SDK 2023 (downloaded 14th of August)


I have a document with several layers. On each layer are different art-objects.

Now I select some of these art-objects using the Adobe selection tool.

Every layer where an art-object has been selected is automatically marked with a small colored rectangle in the layer-palette.

When I now use the function sAIPath->SetPathSegments to change the segments of one of those art-objects, the currently selected layer suddenly changes.

The current layer switches to the upmost layer of the marked layers in the layer-palette.


What could cause this behavior and how can I prevent the current layer to change when I use the function sAIPath->SetPathSegments on one of the selected art-objects?

Any help is appreciated.

Thank you very much in advance.

Best Regards,

Fabian T.

SDK , Third party plugins , Tools






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