Why is left alignment off?

Participant ,
Nov 03, 2020 Nov 03, 2020

Copy link to clipboard

Copied

I have a very simple CEP script.  In it I create a new group with different elements.

I then attempt to place this group like so:

newGroup.left = 597;

When I do this it runs in illustrator but when i see the X value it appears like so:

597.8503 pt

What is going on with it? Why would it chnage add the additional .8503?

TOPICS
Scripting

Views

76

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
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Nov 03, 2020 Nov 03, 2020
left includes stroke width, use position[0] instead

Likes

Translate

Translate
Adobe Community Professional ,
Nov 03, 2020 Nov 03, 2020

Copy link to clipboard

Copied

left includes stroke width, use position[0] instead

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
community guidelines
Participant ,
Nov 04, 2020 Nov 04, 2020

Copy link to clipboard

Copied

LATEST

@CarlosCanto 

THANK YOU FOR THE ANSWER!

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
community guidelines