ayon-core/openpype/hosts/max/plugins
Sponge96 8de85e94a7
3dsmax: Refactored publish plugins to use proper implementation of pymxs (#4988)
* refactor: rt.execute(saveNodes) replaces with pymxs function

- changed the function to no longer use the selection and instead feed it the nodes directly from get_all_children function.
- removed maintained_seclection() as we're no longer overriding the selection of the Max scene.
- black also used to format.

* refactor: replaced rt.export string with proper pymxs implementation

- black used for formatting
- moved the general flow around as each function call is now seperate instead of large string

* refactor: replaced rt.execute with pymxs implementation

* refactor: replaced rt.execute with proper pymxs

* refactor: replaced rt.execute where possible

* fix: pymxs terrible argument handling

- noPrompt doesn't seem to work unless you call rt.name and is also positional
- using doesn't work as a string you need to feed it the actual rt object

* fix: exportFile to use correct arguments

* fix: rt.exportfile args

* fix: exportfile args

* refactor: replaced rt.execute with proper function

* refactor: removed use of rt.execute and replaced with pymxs

* refactor: removed configs from maintained_selection() block

* refactor: updated black to be 79 charlines
2023-05-19 17:15:09 +02:00
..
create Merge branch 'develop' into enhancement/OP-5468_3dsMax-render-dialogue-needs-to-be-closed 2023-05-03 22:33:45 +08:00
load fix the axis conversion issue 2023-05-18 16:47:58 +08:00
publish 3dsmax: Refactored publish plugins to use proper implementation of pymxs (#4988) 2023-05-19 17:15:09 +02:00
__init__.py 🚧 3dsmax addon basics 2022-11-29 17:29:58 +01:00