<script > Is there any way to now what kind of customparamset is selected? 2005-06-15 - By Hans,Veenendaal,AMplus R&D,SOJ
Back SDK Explorer! Brilliant!!!
__ ____ ____ ____ ____ ____ ____
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Hans,Veenendaal,AMplus R&D,SOJ Sent: Thursday, June 16, 2005 10:11 AM To: XSI@(protected) Subject: RE: <script> Is there any way to now what kind of customparamset is selected? Thanks! I'll have a look into the GetIdentifier(), and self-installed custom properties. Hans.
__ ____ ____ ____ ____ ____ ____
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Aloys Baillet Sent: Thursday, June 16, 2005 8:24 AM To: XSI@(protected) Subject: Re: <script> Is there any way to now what kind of customparamset is selected? Or you can use the SDK explorer to get the GUID of the selected PPG: Application->Views->RV - SDK Explorer Cheers, Aloys On 6/16/05, Bernard Lebel <3dbernard@(protected)> wrote:
What you need is the ClassID. Check the .GetIdentifier() method of the DataRepository object in the documentation, this is how you extract the classid. Cheers Bernard On 6/15/05, Hans,Veenendaal,AMplus R&D,SOJ <Hans_van_Veenendaal@(protected)> wrote: > Hi, > > I thought it would be possible to distinguish between PSets by using the > Type value, but all custom psets return 'customparamset' as Type even though > I changed the > PropertySet name from 'customparamset' to 'MaterialInfo' in the SPDL > > PropertySet "MaterialInfo" > { > ... > } > > I could use the GUID of the PSet to identify them, but I do not know to > access them. > > I could make a read-only string in all my PSets that would uniquely identify > my PSets if this string exists, but this is too much of a hack. > > Please advise... > > Thanks, > Hans. --- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
-- Aloys Baillet - XSI Technical Director Character Dpt - Animal Logic --
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><SPAN class=948223301-16062005><FONT color=#0000ff size=2>SDK Explorer! Brilliant!!! </FONT></SPAN></DIV><BR> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Hans,Veenendaal,AMplus R&D,SOJ<BR><B>Sent:</B> Thursday, June 16, 2005 10:11 AM<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> RE: <script> Is there any way to now what kind of customparamset is selected?<BR></FONT><BR></DIV> <DIV></DIV> <DIV dir=ltr align=left><SPAN class=430030601-16062005><FONT face="Lucida Sans Unicode" color=#0000ff size=2>Thanks!</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=430030601-16062005><FONT face="Lucida Sans Unicode" color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=430030601-16062005><FONT color=#0000ff><FONT face="Lucida Sans Unicode" size=2>I'll have a look into the GetIdentifier(), and self-installed custom properties. </FONT></FONT></SPAN></DIV> <DIV dir=ltr align=left><FONT size=2><FONT face="Lucida Sans Unicode"><SPAN class=430030601-16062005><FONT color=#0000ff></FONT></SPAN><SPAN class=430030601-16062005><FONT color=#0000ff></FONT></SPAN></FONT></FONT> </DIV> <DIV dir=ltr align=left><SPAN class=430030601-16062005><FONT face="Lucida Sans Unicode" color=#0000ff size=2>Hans.</FONT></SPAN></DIV><BR> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Aloys Baillet<BR><B>Sent:</B> Thursday, June 16, 2005 8:24 AM<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> Re: <script> Is there any way to now what kind of customparamset is selected?<BR></FONT><BR></DIV> <DIV></DIV>Or you can use the SDK explorer to get the GUID of the selected PPG:<BR>Application->Views->RV - SDK Explorer<BR><BR>Cheers,<BR><BR>Aloys<BR><BR> <DIV><SPAN class=gmail_quote>On 6/16/05, <B class=gmail_sendername>Bernard Lebel</B> <<A href="mailto:3dbernard@(protected)">3dbernard@(protected)</A>> wrote:</SPAN> <BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204 ,204,204) 1px solid">What you need is the ClassID. Check the .GetIdentifier() method of the<BR>DataRepository object in the documentation, this is how you extract<BR>the classid.<BR><BR><BR>Cheers<BR>Bernard<BR><BR><BR>On 6/15/05, Hans,Veenendaal,AMplus R&D,SOJ <BR><<A href="mailto:Hans_van_Veenendaal@(protected)">Hans_van_Veenendaal@(protected) .jp</A>> wrote:<BR>> Hi,<BR>><BR>> I thought it would be possible to distinguish between PSets by using the<BR>> Type value, but all custom psets return 'customparamset' as Type even though <BR>> I changed the<BR>> PropertySet name from 'customparamset' to 'MaterialInfo' in the SPDL<BR>><BR>> PropertySet "MaterialInfo"<BR>> {<BR>> ...<BR>> }<BR>><BR>> I could use the GUID of the PSet to identify them, but I do not know   ;to <BR>> access them.<BR>><BR>> I could make a read-only string in all my PSets that would uniquely identify<BR>> my PSets if this string exists, but this is too much of a hack.<BR>><BR>> Please advise...<BR>><BR>> Thanks,<BR>> Hans.<BR><BR>---<BR>Unsubscribe ? Mail <A href="mailto:Majordomo@(protected)">Majordomo@(protected)</A> with the following text in body:<BR>unsubscribe xsi<BR></BLOCKQUOTE></DIV><BR><BR><BR>-- <BR>Aloys Baillet - XSI Technical Director<BR>Character Dpt - Animal Logic<BR>-- </BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
|
|