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

.left .top coordinates in mm

Community Beginner ,
Jun 24, 2016 Jun 24, 2016

I'm sure this is simple but how can I get and set the .left and .top settings for an object in mm?

TOPICS
Scripting
398
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
Adobe
Valorous Hero ,
Jun 24, 2016 Jun 24, 2016

the native script units are in points (72/inch) so google the ratio of whatever 1pt is in mm and multiply your .left and .top by them.

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
Valorous Hero ,
Jun 24, 2016 Jun 24, 2016

I just had to do this today, and it's 2.83465

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
Community Beginner ,
Jun 25, 2016 Jun 25, 2016

that's weird I found this value pt > mm .35277777777777800000, I tried it and it is exact.

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
Community Expert ,
Jun 25, 2016 Jun 25, 2016
LATEST

depends on which way you want to go

2.83465 pts = 1 mm

0.352777 mm = 1 pt

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