primlist() question

   3765   4   0
User Avatar
Member
512 posts
Joined: July 2009
Offline
Hi guys,

I have one question about the primlist() expression,
maybe you can help me out.

`primlist(opinputpath(“.”, 0), “start_points” )`

this is my currect expression in a polycap's group parameter field.
To make this more procedural I'd like to replace the “start_points”
through this:

“ opinput(”.“, 0) ”

As the quotes are important to make a string out of the opinput result,
it should be written like this:

“quote” + opinput(“.”, 0) + “quote”

Unfortunately I don't know the hscript syntax for this, in Python I would have written ‘“’ or ”\“”

thx in advance,

Manuel
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
859 posts
Joined: Oct. 2008
Offline
`primlist(opinputpath(“.”, 0), opinput(“.”,0) )`

This works for me… not for you?
--
Jobless
User Avatar
Member
98 posts
Joined: Jan. 2008
Online
hm… The primlist and pointlist expressions work for me wihtout quotes around it.
your group name says you are using a point group “start_points”. Maybe you should change your group type to points and use
`pointlist(opinputpath(“.”, 0),opinput(“.”, 0))`
or change your group type to primitives and use primlist()
User Avatar
Member
512 posts
Joined: July 2009
Offline
hmm strange enough, it workes with opinput(“.”, 0) without the quotes.
Sometimes I think way to complicated

I was sure if you have to write the string in quotes like in my case
“start_points”, then the expression should be in quotes, too.

thanks,

Manu
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
575 posts
Joined: Nov. 2005
Offline
hi manuel,

opinput returns a string, no need to convert it, by putting the function in “” I think You turn this in to a string and not the result

Martin
  • Quick Links