Skip to main content
HyFrank
Participant
December 31, 2019
Answered

accessing XMP data from a plugin

  • December 31, 2019
  • 1 reply
  • 387 views

I am trying to access (and later modify) the XMP data that is associated with a document in Illustrator form a C++ plugin.

 

I thought that 

AIErr err = sAIXMLDocument->GetDocumentMetadata(&xmpRoot);

would give me the correct staring point, but it does not.

It returns me a node that only contains 2 entry points, 'variableSets' and 'sfw'

What is the correct starting point for XMP access/manipulation?

 

Frank

This topic has been closed for replies.
Correct answer HyFrank

Ah,

 

I was looking at the wrong API.

I should use

sAIDocument->GetDocumentXAP(const char **xap);

1 reply

HyFrank
HyFrankAuthorCorrect answer
Participant
January 6, 2020

Ah,

 

I was looking at the wrong API.

I should use

sAIDocument->GetDocumentXAP(const char **xap);