ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
nodefunction parameter quantity
I'm having a problem getting an accurate parameter count when using the parqty function when called by a nodefunction.
For example, here's my flexscript inside a node: Code:
int n_params = parqty(); pf(n_params);pr(); Code:
treenode current_node = node("/VisualTool3",model()); treenode function_node = node(">variables/examplefn",current_node); nodefunction(function_node, NULL, NULL, NULL); Thanks in advance. |
The Following User Says Thank You to Todd Benanzer For This Useful Post: | ||
Phil BoBo (03-06-2013) |
#2
|
||||
|
||||
This looks like it is a bug in the software. I'll add it to the development list.
Last edited by Phil BoBo; 01-23-2013 at 12:30 PM. |
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Todd Benanzer (01-23-2013) |
Thread | Thread Starter | Forum | Replies | Last Post |
Set Combiner Pack quantity by Globalvariabel? | Peppino | Q&A | 6 | 05-21-2012 06:34 AM |
report() command - which nodefunction is executed | Jens Mühlheimer | Q&A | 2 | 05-21-2012 12:05 AM |
about nodefunction | Dane Lee | Q&A | 10 | 03-15-2012 03:42 AM |
TASKTYPE NODEFUNCTION | juan alberto | Q&A | 1 | 04-16-2010 03:19 AM |
about "no select" and "show parameter window from side bar" | qin tian | Gripes and Goodies | 3 | 03-21-2008 08:10 AM |