How to get more info about a specific attribute? - maya

I guess this is a stupid question, so I apologize in advance but I couldn't find the answer anywhere and I guess I didn't even really know how to search for an answer.
How do I find out more about an attribute (not even sure if that's the right word)? For example, if I do:
listAttr bifrostShape1
then I get a long list of ... attributes? .. one of them is called "particleChannel". I want to know more about "particleChannel" so I tried:
listAttr "bifrostShape1.particleChannel"
got nothing basically - returned: "particleChannel" , so I tried:
getAttr "bifrostShape1.particleChannel"
and I got result: "position"...
this is actually what I think I'm looking for and I want to know more about this, what is this "position"?
searching for "particleChannel" in the reference and online gave me nothing, and trying "listAttr and getAttr of "bifrostShape1.particleChannel.position" gave me an error..
What I'm actually trying to achieve is to get attributes of the particles in a bifrost liquid... but my question is actually: How do I find out more about something when I stumble over it like this? What is the way to find out more about a command or attribute?
This is my favorite way to learn so I really hope that there's a good way to do it in maya.

See this: attributeQuery
You can do a lot of queries about an attribute, see docs in the link.

Related

react-intl display currency symbol only

Working with react-intl and was looking to display a currency symbol only, after some text like USD$.
From what I have read so far in the documentation guessing FormattedNumber requires a default value.
Just wondering is it possible to display a currency symbol without a number value? such as $ (currently it returns NaN, due to missing number value)
Wondering has anyone run into this kind of issue previously?
Guessing there must be a simple solution.
In the meantime will keep looking for alternative solutions.
Any thought greatly appreciated.
Wasn't able to find a solution with react-intl.
So created simple helper to do the job.
Works ok. :)

How can I fix Xpath in Importjson function?

I want to get list algo from JSON response. In google sheet I am using this command:
IMPORTJSON("http://miningpoolhub.com/index.php?page=api&action=getminingandprofitsstatistics", "return/algo")
But I got the message "Nod not available" I think I have done something wrong with the Xpath command. How can I fix it?
How about this? I thought that / is required to be added to the top of path.
=IMPORTJSON("http://miningpoolhub.com/index.php?page=api&action=getminingandprofitsstatistics", "/return/algo")
If this was not useful for you, I'm sorry.

Can we use gauge/gage in Ionic ? (Cordova)

This is my first post here, so I'm sorry if I'm not in the good section.
My "simple" question is, can we add a gage/gauge (I don't now the exact english spelling), in a Ionic project ?
A thing like that:
https://www.youtube.com/watch?v=w2qrYL0Le24
Or an other exemple:
http://crisbeto.github.io/angular-svg-round-progressbar/
I already tried to insert gauge like that in my project but the gauge never appears, so please, can you help me ?
(The goal is to show to an user a speed for exemple or the batterie life of his smartphone, any importance, juste a jauge who can be incremented or decremented)
Can you explain me please how it works, for example via a Codepen or anything else. I had already tried to search response but I solve anything on that.
I'm french and I am sorry for my language, but thanks in advance for you'r help !
Thanks.
I was able to get this to work:
https://github.com/frapontillo/angular-gage
You must also have the JustGage library and Raphael. Take a look at the example to see it in action. I was able to even make it work in the http://creator.ionic.io app by adding the scripts of angular-gage, JustGage and Raphael (just add a js and paste in the scripts).

Define header, footer, navigation, main, etc in qooxdoo standalone application

Im taking my very first steps using qooxdoo, and I would like to create a layout having those areas to insert some widgets into them. Im trying to achieve something like this : http://w2ui.com/web/demo/layout
Im confused about wich widget is best to get it done.
Any help is really appreciated, thanks.
Never mind guys, I kept digging the manual/api I found something to get it done. Thanks anyway
check the example.
regards
Playground example

Where can I find the simple information of the format for uploading questions?

Situation:
I want to train and simple configure the retrieve and rank service.
I just uploaded some PDFs and now I want to upload some questions.
In the documentation I do not find a simple information how the csv file must be structured and which are the must fields and which are not must files.
Something like: "[YOUR QUESTION (MUST)]",[DOCUMENT ID (MUST)], [RANKING (OPTIONAL)]
The document ID you will find in xyz in section xyz.
Inside the help I can not find such kind of help.
https://www.ibm.com/watson/developercloud/doc/retrieve-rank/training_data.shtml#script
Impact:
There is no chance to get a "real" documentation of the configuration outside the tutorial.
Possible Solution:
Provide additional documenation.
Maybe I was not able to find it and someone can guide me to the right place?
Ok, I found the solution for me, by try and error. Following steps do work for me:
1) You need a plain text file and the ending should be *.txt
2) Inside the file you have to write your questions like this:
What is the best place to be?
Why should I travel to the USA?
-> Don't do it like
"What is the best place to be?"
For me the help was missleading, because saying something about CSV files.
You can take a look also in the comment of #dalelane he is right, and highlight the entry text for the upload of the file.

Resources