mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
🚧 3dsmax addon basics
This commit is contained in:
parent
d2de7c56fc
commit
decc8df4ae
14 changed files with 299 additions and 3 deletions
8
openpype/hosts/max/startup/startup.ms
Normal file
8
openpype/hosts/max/startup/startup.ms
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- OpenPype Init Script
|
||||
(
|
||||
local sysPath = dotNetClass "System.IO.Path"
|
||||
local sysDir = dotNetClass "System.IO.Directory"
|
||||
local startup = sysPath.Combine (sysPath.GetDirectoryName getSourceFile) "startup.py"
|
||||
|
||||
python.ExecuteFile startup
|
||||
)
|
||||
7
openpype/hosts/max/startup/startup.py
Normal file
7
openpype/hosts/max/startup/startup.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from openpype.hosts.max.api import MaxHost
|
||||
from openpype.pipeline import install_host
|
||||
|
||||
host = MaxHost()
|
||||
install_host(host)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue