Procedural Primitives
|
Introduction
This tutorial is a leads on from the tutorial
"Procedural Primitives:Getting Started".
It is assumed the reader has followed it's instructions has has compiled a DSO
(Dynamic Shared Object) called |
Passing data to the procedural primitive by editing the
In the outliner select the shape node of the
In the Attribute Editor for the
Create an integer attribute named "
Connecting the Interface
A small python script will be used to update the ProcPrim |
Listing 1 - starter_proc.py
|
In the " |
import rfm2.api.strings as apistr; import starter_proc; starter_proc.setDataStr(apistr.expand_string("<shape>")) |
Adjust the values of the |
|
If the python script starter_proc.py is edited make sure it is imported and reloaded.
|
© 2002- Malcolm Kesson. All rights reserved.