Closed ronnyascencio closed 1 month ago
Hi, it looks like the path to the tik manager is not defined properly in tik_path.ms and therefore it cannot find the module.
Can you make sure the path is defined correctly cross-checkin with the manual installation here: https://tik-manager4.readthedocs.io/en/latest/installation/3dsmax.html
Hello,
here is the path i set to the tik_path.ms
and this is the path where is located the file :
C:\Users\ronny\AppData\Local\Autodesk\3dsMax\2025 - 64bit\ENU\scripts\startup
i tried with the "//" as the doc says but it gaves me a error on syntax then i swithc to "/" and says no module find
if you need to do the double, it needs to be a double BACKSLASH: "\" I'll need to check the docs if I made a mistake in there.
Other than that you cannot use double quotes here. Because a double quote is used when wrapping the python.Execute
command. So you need to use single quotes for either one of them.
Python won't allow using quotes of the same type in a nested manner. So please correct it like this:
python.Execute "
import sys
tik_path = 'C://Program Files//TikWorks//tik_manager4//'
if not tik_path in sys.path:
sys.path.append(tik_path)
"
Additionally, why are you not using Automatic Installer? You are on Windows. It seems like you installed with the exe installer (the installation folder suggests that) The only thing you need to do is select the 3ds Max while doing the installation, and it should be good to go.
Or if you just installed 3ds Max and do not want to re-install Tik Manager (I don't know why you would avoid that, it takes less than 20 seconds) You can run the install_dccs.exe
in the tik_manager4/dist/tik4 folder and it will pop-up a CLI that you can easily install integrations.
I used automatic installer and it just create the "shelf " buttons but when i click on it it pops the error that the tik_manager4 module do not exist
i used the code you gave me to fix the "//"
it does not work i re installed tik and also run the isntall_dccs.exe it just install the macros
What happened to the tik4_path.ms
file in your scripts/startup??
You need to put that in tik4_path.ms file:
python.Execute "
import sys
tik_path = 'C://Program Files//TikWorks//tik_manager4//'
if not tik_path in sys.path:
sys.path.append(tik_path)
"
and restart.
I have pretty much the same setup and works for me:
You are right about the automatic installer Rony, I messed up something for the 3ds Max installer. It looks like its skipping the tik4_path.ms. I will fix that on next release.
Thanks a lot for flagging it.
Yeah i know it should work, but I dont know if is not picking up the path of the tik_path.ms even if i place it there in the start up folder i dont know if there is a conflict with Prism files or somthing else but is not been read by 3ds Max
can you try this:
import sys
print(sys.path)
Here it is : Welcome to MAXScript.
Blimey, I cannot believe I fell for this! (again)!!!
You need to specify the parent folder of the tik_manager4 because it is a module itself, and its looking for that.
python.Execute "
import sys
tik_path = 'C:/Program Files/TikWorks'
if not tik_path in sys.path:
sys.path.append(tik_path)
"
You don't need to double slash with when its a forward slash (/
)
Oh perfect now is working Thank you for the help !
No worries!
The prism setup might be causing issues too, so better remove prism completely 😛
hahaha Im trying to...
Describe the bug this error apairs
To Reproduce Steps to reproduce the behavior: click in all any icons in the tool bar of tik that is added to th tool bar on 3ds max
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
DCC Please complete the following information:
Desktop (please complete the following information):
Additional context Add any other context about the problem here.