Re: Viewport Slate

2016-02-23 Thread Nuno Conceicao
Thank you Andreas, this worked
I can see why you say its not really supported, seems to be a bit tricky to
get it working properly, but so far it manages to work.
Thanks again

N.


On Tue, Feb 23, 2016 at 8:31 AM, Andreas Böinghoff <
boeingh...@themarmalade.com> wrote:

> Ok,
>
> the problem is, that you haven't created an attribute on your ppg and you
> are trying to write an vector attribute to an ppg. In this case you have to
> make three parameters for the different channels. I have attached a small
> example what you could do. Please notice, that his is just a work around
> for a functionality that is not really supported.
>
> Cheers,
> Andreas
>
> On 22/02/2016 19:41, Nuno Conceicao wrote:
>
>> Thanks for the tips Andreas
>>
>> For some reason i'm unable to set the data on the custom property though,
>> not sure if I'm doing something wrong, probably I am.
>> Here is a screen grab
>> http://prntscr.com/a6mjrp
>>
>> Clueless here :(
>>
>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Viewport Slate

2016-02-22 Thread Nuno Conceicao
Thanks for the tips Andreas

For some reason i'm unable to set the data on the custom property though,
not sure if I'm doing something wrong, probably I am.
Here is a screen grab
http://prntscr.com/a6mjrp

Clueless here :(

On Thu, Feb 18, 2016 at 2:06 PM, Andreas Böinghoff <
boeingh...@themarmalade.com> wrote:

> I think that a direct reading is not possible.
>
> If you want to read a set_data node you could do it linke this:
> [Value pointcloud.pointcloud.ICETree.Set_Data.Value]
>
> If you want to read a custom attribute -  create a new custom Parameter on
> your pointcloud. Write your value via ICE to the Custom property and link
> it in the viewport slate
> [Value pointcloud.nodelocal.Display_PPG.ValueFromICE]
>
> Andy
>
> PS:
>
> In scripting you can get your stuff via:
> *python:*
> oTest =
> Application.Selection[0].ActivePrimitive.GetICEAttributeFromName("NbPoints").DataArray[0]
> Application.LogMessage(oTest)
> *vbscript:*
> oTest =
> Selection(0).ActivePrimitive.GetICEAttributeFromName("NbPoints").DataArray
> LogMessage(oTest)
>
> On 18/02/2016 13:23, Nuno Conceicao wrote:
>
> Hi guys
> Do you guys know if its possible to pass ICE custom attributes data
> directly to a viewport Slate?
>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
> "unsubscribe" in the subject, and reply to confirm.
>
>
>
>
> --
> Softimage Mailing List.
> To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com
> with "unsubscribe" in the subject, and reply to confirm.
>
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Re: Viewport Slate

2016-02-18 Thread Andreas Böinghoff

I think that a direct reading is not possible.

If you want to read a set_data node you could do it linke this:
[Value pointcloud.pointcloud.ICETree.Set_Data.Value]

If you want to read a custom attribute -  create a new custom Parameter 
on your pointcloud. Write your value via ICE to the Custom property and 
link it in the viewport slate

[Value pointcloud.nodelocal.Display_PPG.ValueFromICE]

Andy

PS:

In scripting you can get your stuff via:
_python:_
oTest = 
Application.Selection[0].ActivePrimitive.GetICEAttributeFromName("NbPoints").DataArray[0]

Application.LogMessage(oTest)
_vbscript:_
oTest = 
Selection(0).ActivePrimitive.GetICEAttributeFromName("NbPoints").DataArray

LogMessage(oTest)

On 18/02/2016 13:23, Nuno Conceicao wrote:

Hi guys
Do you guys know if its possible to pass ICE custom attributes data 
directly to a viewport Slate?




--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.



--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Viewport Slate

2016-02-18 Thread Nuno Conceicao
Hi guys
Do you guys know if its possible to pass ICE custom attributes data
directly to a viewport Slate?
--
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.