ImportPatch
-
- Posts: 6
- Joined: Sun Jul 17, 2022 8:10 pm
ImportPatch
Hi
I have been trying to do a Patch Import using the script. I get errors like ImportPatch() does not exist.
If anyone has been successful, please let me know how you did it.
This is one of the options I have tried
Thank you
Peter
I have been trying to do a Patch Import using the script. I get errors like ImportPatch() does not exist.
If anyone has been successful, please let me know how you did it.
This is one of the options I have tried
Code: Select all
@scriptname="";
@author="";
@version="";
@description="";
void InitEffect()
{
ImportPatch("c:\test\test.mpz");
}
void PreRenderEffect()
{
}
void PostRenderEffect()
{
}
Thank you
Peter
Re: ImportPatch
Hi Peter,
You are almost there! For the file path you will need to us slashes instead of backslashes.
You are almost there! For the file path you will need to us slashes instead of backslashes.
Code: Select all
@scriptname="";
@author="";
@version="";
@description="";
void InitEffect()
{
ImportPatch("c:/test/test.mpz");
}
void PreRenderEffect()
{
}
void PostRenderEffect()
{
}