[Sidefx-houdini-list] I3d Opacity

Peter Bowmar pbowmar at gmail.com
Wed Aug 9 10:23:17 EDT 2006


I think it's because VARMAP has a linefeed/carriage return \n or
whatever you want to call it and that buggers things up. AttribCopy
works because it brings everything in together.

I'm guessing btw...

Cheers,

Peter B

On 09/08/06, Louis <louis at realisestudio.com> wrote:
> Rangi Sutton wrote:
> > Louis wrote:
> >> But yes, more local variables are great! A good trick (in case it's
> >> not crystal clear already) to re-create local variables for an
> >> attribute "foo" that already exists is just to put down an Attribute
> >> Create SOP with $FOO in the value field. Better than having to muck
> >> around with something like point(opinputpath(".",0),$PT,"foo",0) etc
> >> etc..
> > Speaking of variable mappings.. I was just trying to create/copy
> > mappings by directly modifying the varmap attribute. Only works for
> > one variable mapping.. which is weird.
> >
> > Basically.. use an AttributeCreate sop, set it to Name: "varmap",
> > Class: Detail, Type: String, then put in the String values the
> > expression `details("../srcSop","varmap")` you would expect it to copy
> > all the variable mappings. It only creates the first.
> >
> > Similarily, hitting alt-e (to user the editor so we can put in a
> > new-line character) in the String attribute and setting it to:
> >
> > foo->FOO
> > bar->BAR
> >
> > only maps foo. Any ideas on how to bulk create this mappings manually?
> > I thought I'd already done it once before but must be mistaken.
> >
> > Beers,
> > r.
> That is wierd actually!
>
> Even in the spreadsheet multiple varmap elements won't show up and
> running an echo of the details() expression also only shows one element
> no matter how many are there! If you can't even get at the varmap
> attribute properly, methinks you're stuffed.. SESI?
>
> L
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list