Highlighted

Getting artboard number from imported by reference AI file

Community Beginner ,
May 07, 2019

Copy link to clipboard

Copied

I need to know if there's a way to get the Artboard number from an "Imported by Reference" Adobe Illustrator file?

By looking at the Object Properties while the imported by Reference AI graphic is selected, I can see the file location and also the Artboard number, as shown below:

When getting the file location using InsetFile, the artboard number does not show as part of the file location.

Thanks.

Adobe Community Professional
Correct answer by frameexpert | Adobe Community Professional

I tried setting up an Illustrator CS6 file with three artboards. I imported each artboard into a separate anchored frame. Here is how ExtendScript shows the PageNum property for each one:

Artboard 1: -1

Artboard 2: 1

Artboard 3: 2

I am not sure if that pattern holds, but it is a place for you to start.

TOPICS
Scripting

Views

98

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Getting artboard number from imported by reference AI file

Community Beginner ,
May 07, 2019

Copy link to clipboard

Copied

I need to know if there's a way to get the Artboard number from an "Imported by Reference" Adobe Illustrator file?

By looking at the Object Properties while the imported by Reference AI graphic is selected, I can see the file location and also the Artboard number, as shown below:

When getting the file location using InsetFile, the artboard number does not show as part of the file location.

Thanks.

Adobe Community Professional
Correct answer by frameexpert | Adobe Community Professional

I tried setting up an Illustrator CS6 file with three artboards. I imported each artboard into a separate anchored frame. Here is how ExtendScript shows the PageNum property for each one:

Artboard 1: -1

Artboard 2: 1

Artboard 3: 2

I am not sure if that pattern holds, but it is a place for you to start.

TOPICS
Scripting

Views

99

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 07, 2019 0
Adobe Community Professional ,
May 07, 2019

Copy link to clipboard

Copied

Did you try checking the Inset's PageNum property?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2019 0
Adobe Community Professional ,
May 07, 2019

Copy link to clipboard

Copied

I tried setting up an Illustrator CS6 file with three artboards. I imported each artboard into a separate anchored frame. Here is how ExtendScript shows the PageNum property for each one:

Artboard 1: -1

Artboard 2: 1

Artboard 3: 2

I am not sure if that pattern holds, but it is a place for you to start.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 07, 2019 0
fonrig LATEST
Community Beginner ,
May 14, 2019

Copy link to clipboard

Copied

Seems like pattern holds. I created 30 artboards and I'm getting 29 for PageNum. I was expecting to be able to read the Artboard name but that might be a stretch.

Thanks!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 14, 2019 0