Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
<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
Reply:     1     2     3     4     5     6     7  

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>&nbsp;</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>&nbsp;</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&amp;D,SOJ<BR><B>Posted At:</B> Wednesday, June 15, 2005 9:55 AM<BR><B
>Posted
 To:</B> xsi<BR><B>Conversation:</B> &lt;script&gt; Is there any way to now
 what kind of customparamset is selected?<BR><B>Subject:</B> &lt;script&gt; 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>&nbsp;</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>&nbsp;</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>&nbsp;&nbsp;&nbsp;
 ...</FONT></SPAN></DIV>
 <DIV><SPAN class=027573813-15062005><FONT size=2>}</FONT></SPAN></DIV>
 <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN>&nbsp;</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&nbsp; to access
 them.</FONT></SPAN></DIV>
 <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN>&nbsp;</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>&nbsp;</DIV>
 <DIV><SPAN class=027573813-15062005><FONT size=2>Please
 advise...</FONT></SPAN></DIV>
 <DIV><SPAN class=027573813-15062005><FONT size=2></FONT></SPAN>&nbsp;</DIV>
 <DIV><SPAN class=027573813-15062005><FONT face="&#65325;&#65331; &#65328;&
#12468;&#12471;&#12483;&#12463;"
 size=2>Thanks,</FONT></SPAN></DIV>
 <DIV><SPAN class=027573813-15062005><FONT face="&#65325;&#65331; &#65328;&
#12468;&#12471;&#12483;&#12463;"
 size=2>Hans.</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>