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

AEGP_GEOMETRYSUITE ?

Community Beginner ,
Nov 12, 2009 Nov 12, 2009

Copy link to clipboard

Copied

Hi there,

I'm trying to get the layers transform-info (rotation, translation).

In the docu I found the  AEGP_GEOMETRYSUITE

The problem is that I don't find a AEGP_GEOMETRYSUITE in AEGP_SuiteHandler.h

Can anyone help me?

thx

TOPICS
SDK

Views

2.2K

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
Community Expert ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

Can anyone help me?

i can only help by saying: you're not alone with this problem.

that question was posted here before, and was left unanswered by adobe.

as far as i know, that function was never included in the SDK, and is unavailable for developers.

most probably a mistake in ae's API department.

if you should find a way to hack that suite into use, please post it back here.

the only solution i could give you is to use AEGP_GetLayerToWorldXform or AEGP_GetLayerToWorldXformFromView instead,

to get the transformation matrix of the layer.

you can then (try to) decompose that matrix to retrieve the original data.

sorry...

😞

Votes

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
Adobe Employee ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

Can anyone help me?

Yes!

i can only help by saying: you're not alone with this problem.

that question was posted here before, and was left unanswered by adobe.

The SDK provides direct contact information for an AE API Engineer; that's the best way to reach us.

as far as i know, that function was never included in the SDK, and is unavailable for developers.

most probably a mistake in ae's API department.

The above is incorrect. The function is included in the SDK (otherwise, where would The_mts have seen it?), though it's not part of the AEGP_SuiteHandler helper class.You can use the suite directly, or add it to AEGP_SuiteHandler yourself. No promises, but it'll probably show up there in the next SDK release.

Hope this helps!

Votes

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
Community Expert ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

bruce???

thank god you're still watching this forum!

how can the geometry suite be accessed directly?

the structure that defines the geometry suite doesn't exist in any of the sdk files. can the suite be accessed without it?

could you post a code snippet?

any help with this will be greatly appreciated, as decomposing matrices is no fun...

thanks for coming back!

shachar.

🙂

Votes

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
Community Beginner ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

Hi,

thx for your reply.

Some code snippet would be nice. Anyway I will try to implement it by myself.

Votes

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
Adobe Employee ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

Okay, I'm a dork. I didn't realize AEGP_GeometrySuite was no longer in the SDK. Sorry for the false hope.

Votes

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
Adobe Employee ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

I'm still watching, but my API knowledge is (as you can see) quite rusty.

Votes

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
Community Beginner ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

So, how can I get the geometry Data of a layer?

I need to dump the x,y,z-position and the x,y,z-rotation per frame.

Votes

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
Adobe Employee ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

Those sound like...streams! See Easy_Cheese and ProjDumper for position stream access, and Streamie for some (non-positional) stream manipulation.

Votes

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
Community Beginner ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

I have checked the ProjDumpe, but I cannot see how to get the position and rotation at a time.

Can you give me some more help? In your docu I found a AEGP_GetNewLayerStream, AEGP_LayerStream_POSITION.

Is this what I am looking for? Or AEGP_GetLayerStreamValue ?

Votes

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
Community Beginner ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

THX! I've Got it!

Votes

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
Community Beginner ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

There is only one value I'm missing.

How can I read the composition-duration?

Votes

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
Adobe Employee ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

AEGP_GetItemFromComp(), AEGP_GetItemDuration().

Votes

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
Community Beginner ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

I found:

AEGP_GetCompFramerate

AEGP_GetCompWorkAreaStart

AEGP_GetCompWorkAreaDuration

I want to dump data every frame.

But how can I get the current composition? I found the AEGP_GetCompFromItem, but what Item can I use?

I don't find a "GetActiveComp" or something like that.

Votes

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
Adobe Employee ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

Active, in what context? Are you calling from an effect?

Votes

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
Community Beginner ,
Nov 14, 2009 Nov 14, 2009

Copy link to clipboard

Copied

LATEST

I have used the AEGP_GetActiveItem.

I have selected I layer in the timeline.

As long as the timeline is active it works.

many many thx

Votes

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