Editing VOPnet codes?

   2897   1   1
User Avatar
Member
112 posts
Joined: July 2005
Offline
Basic question:

How do you edit VOPnet codes? I can view the code, but how can I have the code open formatted in an editor. cutting and pasting into word pad is ugly…also how do you apply the edited code back into the VOPnet?

Thanks
www.tirgari.com
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
You have to edit it directly in your favourite editor which in your case is WordPad. Another apporoach to editing the HDA VOP is to expand it using hotl -x my_HDA_dir my_HDA.otl
Now you can dive in to the my_HDA_dir and edit files directly. CAREFUL here.
You can collapse it back to an .otl using
hotl -c my_HDA.otl my_HDA_dir
then load it in to Houdini.

I would first copy the VOP HDA to a new location directly or use the Operator Type Manager (rmb on icon and open Operator Type Manager) and rmb on the name and choose “copy”.

You will have to put this in a location and edit an OPlibraries file in your HOUDINI_PATH to pick it up.

Hope this helps.

As a tip, it is best to build VOPs from .vfl code instead of doing it this way then using vcc -l or vcc -L option to compile your code in to a VOP. There seems to be no way to get at the .vfl code source for many of the VOPs that come with Houdini.
There's at least one school like the old school!
  • Quick Links