  | | | <script > Is there any way to now what kind of customparamset is selected? | <script > Is there any way to now what kind of customparamset is selected? 2005-06-16 - By Hans,Veenendaal,AMplus R&D,SOJ
Back Thanks for introducing me to the 'self-installing plug-in programming paradigm. This is the way to go from now on. Thanks, Hans. __ ____ ____ ____ ____ ____ ____
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Andrew Skowronski Sent: Wednesday, June 15, 2005 11:15 PM To: XSI@(protected) Subject: RE: <script> Is there any way to now what kind of customparamset is selected?
I recommend using self-installed custom properties instead of SPDL, this will give you a specific type string. For a spdl case you are right that you need to deal with the guid, which is exposed by the DataRespository object (the SDK Explorer shows the values) -Andrew
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of Hans,Veenendaal,AMplus R&D,SOJ Posted At: Wednesday, June 15, 2005 9:55 AM Posted To: xsi Conversation: <script> Is there any way to now what kind of customparamset is selected? Subject: <script> Is there any way to now what kind of customparamset is selected? 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.
<!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=632114704-16062005><FONT face="M& #65331; Pゴシック" color=#0000ff size=2>Thanks for introducing me to the 'self-installing plug-in programming paradigm. This is the way to go from now on.</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=632114704-16062005><FONT face="M& #65331; Pゴシック" color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=632114704-16062005><FONT face="M& #65331; Pゴシック" color=#0000ff size=2>Thanks,</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=632114704-16062005><FONT face="M& #65331; Pゴシック" color=#0000ff size=2>Hans. </FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=632114704-16062005><FONT face="M& #65331; Pゴシック" color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left> <HR tabIndex=-1> </DIV> <DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Andrew Skowronski<BR><B>Sent:</B> Wednesday, June 15, 2005 11:15 PM<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> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV><SPAN class=449241314-15062005><FONT face=Arial color=#0000ff size=2>I recommend using self-installed custom properties instead of SPDL, this will give you a specific type string.</FONT></SPAN></DIV> <DIV><SPAN class=449241314-15062005><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=449241314-15062005><FONT face=Arial color=#0000ff size=2>For a spdl case you are right that you need to deal with the guid, which is exposed by the DataRespository object (the SDK Explorer shows the values)</FONT></SPAN></DIV> <DIV><SPAN class=449241314-15062005><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=449241314-15062005><FONT face=Arial color=#0000ff size=2>-Andrew</FONT></SPAN></DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)]<B>On Behalf Of </B>Hans,Veenendaal,AMplus R&D,SOJ<BR><B>Posted At:</B> Wednesday, June 15, 2005 9:55 AM<BR><B>Posted To:</B> xsi<BR><B>Conversation:</B> <script> Is there any way to now what kind of customparamset is selected?<BR><B>Subject:</B> <script> Is there any way to now what kind of customparamset is selected?<BR><BR></FONT></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>Hi,</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN> </DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>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 </FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2><SPAN class=027573813-15062005><FONT size=2>PropertySet name from 'customparamset ' to 'MaterialInfo' in the SPDL</FONT></SPAN></FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN> </DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>PropertySet "MaterialInfo"</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>{</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2> ...</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>}</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN> </DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>I could use the GUID of the PSet to identify them, but I do not know to access them.</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN> </DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>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.</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN> </DIV> <DIV><SPAN class=027573813-15062005><FONT size=2>Please advise...</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN> </DIV> <DIV><SPAN class=027573813-15062005><FONT face="MS P& #12468;シック" size=2>Thanks,</FONT></SPAN></DIV> <DIV><SPAN class=027573813-15062005><FONT face="MS P& #12468;シック" size=2>Hans.</FONT></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
|
|
 |