If you have a per-object attribute you can convert it to another context
through location magic.

For example, if you need a per-point context you could try getting your
attribute from self.PointLocation (which docs claim is predefined so it
should already exist.) PointLocation is per-point thus any data you get off
it will be in that context.

If you're new to using locations: You just get a GetData for
self.PointLocation and another GetData for just "yourattribute" (no 'self.'
bit) where the Value output of the first GetData goes to the second's
"Source" input.

If self.PointLocation doesn't exist or fails, you can get it by hand by
feeding "Get Point ID" to "Point Index to Location" (not to be confused
with "ID to Location") with self as the geometry. The output will be the
same as self.PointLocation should be.

"ID To Location" is for particles. "Point Index to Location" is for
geometry.


On Tue, Jun 19, 2012 at 1:59 PM, Roman Kaelin <[email protected]>wrote:

> how do i simply switch the context from object to point if i set a custom
> attribute in ice? i got a weird pointid set and overwrite solution, which
> works. but there might be a way more simple solutionto this i guess?
>
> geerz,
> roman
>
>
  • ice context Roman Kaelin
    • Re: ice context Alan Fregtman

Reply via email to