Announcement

Collapse
No announcement yet.

Renaming container

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Renaming container

    Hello,

    I'm having a problem where I want to use multiple containers in one scene, so I started to name them differently. But now, as soon as I want to load a cache and start the simulation with this cache (either "Load" or even "Load Current") Maya throws an error saying "Can't find node 'PhoenixFDSimulator1" - eventhough I renamed both the shape node and the sim node right after it's creation.
    (To clarify: I can get the simulation to start from emitting objects but I'm having troubles loading a cache created by the same node as a start)

    All help is appreciated, cheers!

    (version 2.25.01)

  • #2
    Hey, thanks for the tip!

    Caught the problem, but the workaround involves you editing a Phoenix mel file in the Maya install dir, so until we release 3.0 for Maya, you should be careful not to install Phoenix over it later and lose the changes.

    You need to find AEPhoenixFDSimulatorTemplate.mel - by default it goes in C:\Program Files\Autodesk\MayaXXXX\phoenixfd\scripts. Then you need to find the function named "AEPhoenixFDSimButtonsRepl". In this function, find the line that says:

    button -e -c ("AEPhoenixFDRestoreSim "+$node) RestoreButton;

    ...and then you need to add these two lines after it:

    button -e -c ("phxfdLoadSim "+$node) LoadButton;
    button -e -c ("phxfdLoadCSim "+$node) LoadCButton;

    This would fix it
    Svetlin Nikolov, Ex Phoenix team lead

    Comment

    Working...
    X