[Alembic + python] is there a way to call the Alembic export dialog in Python?

[Alembic + python] is there a way to call the Alembic export dialog in Python?

Anonymous
Not applicable
3,744 Views
2 Replies
Message 1 of 3

[Alembic + python] is there a way to call the Alembic export dialog in Python?

Anonymous
Not applicable

Hello!

 

We are updating our pipeline.

And we would like to be able to display the Alembic dialog box with our own parameters:04_alembic_maya.png

 

How should I call the dialog box in Python?

 

Thanks

 

Maya 2018 Update3/4

0 Likes
Accepted solutions (1)
3,745 Views
2 Replies
Replies (2)
Message 2 of 3

ACOLTEL
Contributor
Contributor
Accepted solution

Hey François,

The export window is just a GUI binding the parameters of the Command.

You can export your Alembic cache by using the commande AbcExport (source code of the alembic plugin is available here : https://github.com/alembic/alembic/tree/master/maya)

So you can do your own export GUI with the default parameter in the first place, and then add your own.

 

You can do it from scratch or try to get a base code from the Maya source code.

A advice you to seach the word "Alembic" into your Maya folder.

 

you can find interesting files like "AlembicCreateUI.mel" and "AlembicExport.py"

I didn't toke the time the see in detail that's inside but it seems a good starting point for what you try to do.

Message 3 of 3

Anonymous
Not applicable

Thank you so much!
I wanted to avoid redo another box to avoid messing up with my artists 😉

I will do that

0 Likes