  | | | <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-15 - By Andrew Skowronski
Back 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=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD> <BODY> <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></BODY></HTML>
|
|
 |