You can call cmds.listHistory on a given node to get a history, then pass the results to cmds.exportSelected with history=False. But that’s what the history flag is meant to do anyway, it might not be any different; however this way you can explicitly include nodes that get exported. Any two nodes with a connection will have their connection maintained on export.
On Wed, 17 Apr 2019 at 16:09, Rémi Deletrain <remi.deletr...@gmail.com> wrote: > Nobody have solution ? ... > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/0a7c323f-03fc-437a-b0a5-528d7a47a757%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/0a7c323f-03fc-437a-b0a5-528d7a47a757%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBYBkJCPOgLp5GjfY-sh1P8GGbDsEGrqjup4-BaaT7-gQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.